[mythtv] Re: [mythtv-commits] Re: Ticket #189: Timestretch does not reset when reaching end of LiveTV buffer

Daniel Kristjansson danielk at cuymedia.net
Sat Aug 20 00:23:21 UTC 2005


On Sat, 2005-08-20 at 09:35 +1000, Mark Spieth wrote:
> Ill revisit this. I have a better way now but havent had a chance to
> implement.
> the original patch is somewhat unreliable but am still running it.

My thought was to:

 1/ make sure timestretch only works when it is 'safe',
    i.e. the audio is not being decoded extranally.

 2/ adjust the actual timestretch down to 90% depending on
    how close to edge of the ringbuffer we are. So if we 
    start out at 150% we slow down in increments of 5% as
    we get closer and closer to real-time. And if we jump
    forward we lower the playback speed to 90%-95% if we 
    turn out to have jumped too close to the end, then 
    resume normal play when there is some space in front 
    of us.

What were you thinking of?

-- Daniel



More information about the mythtv-dev mailing list