Opened 19 years ago
Closed 19 years ago
#189 closed defect (fixed)
Timestretch does not reset when reaching end of LiveTV buffer
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.19 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
When using audio timestretching to speed up playback of a LiveTV built-up buffer, if the current location catches up with LiveTV, the timestretching stays active causing a studdering effect as the system reaches the buffer, stops momentarily, then restarts at the timestretch speed only to repeat again.
The timestretching should reset to 1x when reaching the end of the LiveTV buffer
Attachments (1)
Change History (5)
comment:1 Changed 19 years ago by
Milestone: | → 0.19 |
---|---|
Owner: | changed from Isaac Richards to danielk |
Status: | new → assigned |
comment:2 Changed 19 years ago by
Mark Spieth had a patch for this, but I didn't really like how it was implemented. Might be someplace to start, though.
Changed 19 years ago by
Attachment: | mythtv_timestretch7c.patch added |
---|
simpler algo for live stretch factor revert
comment:3 Changed 19 years ago by
attached a better algo patch for reverting timestretch back to 1.0 seems ok for the limited testing Ive done with it. There is still a audio loss when the change occurs and not sure why. The key factor to play with is the niumber of frames to use at the limit. Ive set this to 2 seconds worth. Ive left in the older more complex algo commented out. please delete if you are happy with it.
comment:4 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This is a further simplified version of Mark Spieth's simplified timestretch reset patch.
I still like John P. Poet's approach better, it would fix many more pre-buffering pause problems. But it apparently causes some problems for some s/pdif users. Since neither I now Mark have s/pdif this is a bit difficult to debug.
I'll fix this when I look at the XvMC seek problem.