[Ffmpeg-devel] Seeking with in an MPEGTS

Andy Parkins andyparkins
Tue Jun 21 14:57:32 CEST 2005


Hello,

I've generated an MPEG transport stream containing an MPEG4 ES using 
libavformat.  When playing back using ffplay, it plays back perfectly until I 
perform a seek.  After that the stream breaks up for a bit, then settles down 
but I start to get lots of error messages from h263.c; for example.

Seek to 65% ( 0:01:42) of total duration ( 0:02:39)       
[mpeg4 @ 0x8376bd4]hmm, seems the headers are not complete, trying to guess 
time_increment_bits
[mpeg4 @ 0x8376bd4]my guess is 1 bits ;)
[mpeg4 @ 0x8376bd4]looks like this file was encoded with 
(divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 0x8376bd4]Error, header damaged or not MPEG4 header (f_code=0)
[mpeg4 @ 0x8376bd4]hmm, seems the headers are not complete, trying to guess 
time_increment_bits
[mpeg4 @ 0x8376bd4]my guess is 7 bits ;)
[mpeg4 @ 0x8376bd4]hmm, seems the headers are not complete, trying to guess 
time_increment_bits
[mpeg4 @ 0x8376bd4]my guess is 2 bits ;)
[mpeg4 @ 0x8376bd4]hmm, seems the headers are not complete, trying to guess 
time_increment_bits
[mpeg4 @ 0x8376bd4]my guess is 1 bits ;)
[mpeg4 @ 0x8376bd4]hmm, seems the headers are not complete, trying to guess 
time_increment_bits
[mpeg4 @ 0x8376bd4]my guess is 5 bits ;)
[mpeg4 @ 0x8376bd4]hmm, seems the headers are not complete, trying to guess 
time_increment_bits
[mpeg4 @ 0x8376bd4]my guess is 2 bits ;)
[mpeg4 @ 0x8376bd4]hmm, seems the headers are not complete, trying to guess 
time_increment_bits
[mpeg4 @ 0x8376bd4]my guess is 1 bits ;)

If I never seek then there are no error messages.  I guess this is a bug in 
mpegts.c; since with no seek the playback is perfect.

I'm happy to start hunting this bug but wanted to check that I'm correct.

Andy

-- 
Dr Andrew Parkins, M Eng (hons), AMIEE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050621/f9be3b4c/attachment.pgp>



More information about the ffmpeg-devel mailing list