[mythtv] [PATCH] time stretch with libsoundtouch

Daniel Thor Kristjansson danielk at mrl.nyu.edu
Fri Nov 5 00:47:01 UTC 2004

On Fri, 5 Nov 2004, Mark Spieth wrote:
]shouldnt this be ok if you just decode I frames and ignore the P and B ones?
]that should reduce the processing by quite a bit. Ill have a look if it
]hasnt been done before. but surely it has???

In my old frameskipping patch I did this. The remnants that apply to 
CVS are here: http://www.mrl.nyu.edu/~danielk/mythtv/mpeg-frameskipping-v3.patch
You need to set the hurry_up flag in the AVFormatCantext object. You 
also need to track the frames you've played vs the ones you've shown, 
since these numbers will no longer agree. Both of those are accounted 
for in the patch, but this was intended for catching up for A/V Sync so 
you may need to make some modifications.

-- Daniel

More information about the mythtv-dev mailing list