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

Michael Niedermayer michaelni
Wed Sep 16 00:10:51 CEST 2009


On Tue, Sep 15, 2009 at 11:33:29PM +0200, Reimar D?ffinger wrote:
> 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).

a new function with argument could be added easily if someone wants and
submitts a patch

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090916/19454972/attachment.pgp>



More information about the ffmpeg-devel mailing list