[mythtv] [PATCH] generic libavformat seek support (8)

Bryan Mayland bmayland at leoninedev.com
Sat Jun 18 17:55:33 UTC 2005


Mark Spieth wrote:

> I found another bug since the ffmpeg update due to a minor 
> functioanlity change on how seek works.
> the call to av_seek_frame should set AVSEEK_BACKWARDS to find the 
> previous, not next keyframe.
> thus patch 8 is required. otherwise its the same as 7.
> backwards seek by 5 secs now works ok for avi files again.

I am very excited about this patch.  I'd love to be able to record 
things with my PVR-150 and convert them to XVID avi files and still be 
able to watch them from the recordings screen. 

I applied this patch and am having mixed results.  The duration shows 
accurately, but I can rarely seek forward (30s) more than a few times 
before I'm kicked back to the recordings screen.   Pressing back (5s) 
skips forward or back some amount (I can't really tell how much, it's 
pretty confusing).  It also doesn't seem to stop on a keyframe (I frame 
in this case) (although that's not a big deal, I'm not sure if it is 
supposed to). 

Am I just supposed to apply patch8 against CVS to get this to work (i.e. 
are there any other dependencies)?  Are there any special parameters to 
xvid I should be using (like packed bitstream or not using trellis 
quant)?  I can provide avi files as a reference if needed (however, they 
are still quite large ~100-200MB).


More information about the mythtv-dev mailing list