[Ffmpeg-devel] Seeking with in an MPEGTS
Andy Parkins
andyparkins
Tue Jun 21 15:30:28 CEST 2005
On Tuesday 2005 June 21 14:24, M?ns Rullg?rd wrote:
> > 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.
>
> MPEG TS doesn't contain information about key frames, so when you seek you
> are likely to end up with some P/B frames before the next I frame. Nothing
> to be worried about. You could junk the decoder output until the next I
> frame comes around. Look at AVFrame.key_frame.
Thanks; but I don't think this is the case. I'm happy with the messed up
picture, which fixes as soon as there is a key frame. However, the quoted
error messages continue well after the next key frame has been passed.
Something about seeking is throwing off the decoder permanently.
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/d79d977a/attachment.pgp>
More information about the ffmpeg-devel
mailing list