[FFmpeg-devel] [PATCH] Workaround for MPEG-TS crashes

Reimar Döffinger Reimar.Doeffinger
Tue Sep 15 23:33:29 CEST 2009

On Tue, Sep 15, 2009 at 01:03:08PM -0700, Baptiste Coudurier wrote:
> On 09/15/2009 12:17 PM, Joakim Plate wrote:
> >Baptiste Coudurier<baptiste.coudurier<at>  gmail.com>  writes:
> >>It has some overhead, however it is pretty robust. All IPTV feeds are
> >>basically mpeg-ts over multicast udp. 65k is reasonable indeed and
> >>should not cause problems.
> >>
> >
> >I must say i agree with micheal here. Why limit the amount if data read to
> >resync. You could have corrupt data delivered by a DVB reciever for a long
> >time. That doesn't mean it won't recover after a while.
> In any case the amount must be limited, demuxer must give up at a
> certain point to permit "reponsiveness".

Well, there is e.g. a callback to abort at the "stream" layer (though since it
is global and does not even get an argument I found it rather useless for
practical use).
I haven't really thought about it, just as a reminder that there might be other solutions...

More information about the ffmpeg-devel mailing list