[Ffmpeg-devel] Seeking with in an MPEGTS

Michael Niedermayer michaelni
Tue Jun 28 09:25:25 CEST 2005


Hi

On Monday 27 June 2005 17:48, Andy Parkins wrote:
> On Monday 2005 June 27 08:48, Michael Niedermayer wrote:
> > > MPEG TS doesn't necessarily return complete frames, so after the seek
> > > you are probably getting the end of a frame.  If the decoder parses
> > > this as the start of a frame, I can imagine those errors occurring. 
> > > Apparently, this leaves the decoder in a permanent state of confusion. 
> > > Michael?
> >
> > i need some sample with which i can reproduce this
>
> Uploaded to
>
> ftp://mplayerhq.hu/MPlayer/incoming/adp-errors-after-seek-050627-2.ts
>
> My version of ffmpeg is not bang up to date; it's a 22nd June checkout.
>
> Using ffplay, the file plays with no errors if no seeks are performed; if a
> seek is performed then errors like this appear:
>
> [mpeg4 @ 0x8376f14]Error, header damaged or not MPEG4 header (f_code=0)

not reproduceable, i can seek as much as i like and theres not more then 1 or 
2 errors each time

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list