[FFmpeg-devel] [patch][RFC] mpeg-ts not packetized properly over UDP
Thu Sep 2 17:30:11 CEST 2010
On Tue, Aug 17, 2010 at 15:02, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sun, Aug 15, 2010 at 04:24:59PM +0300, aviad rozenhek wrote:
> > when using ffmpeg to mux an mpegts stream over UDP, the data is not
> > packetized properly.
> > the default packet size of UDP is 1472, which is not an integer multiple
> > 188 (the TS packet size).
> > this causes problems if UDP packets are dropped or reordered.
> the udp packet size should be a multiple of the underlaying streams packet
> size when possible and it should be as large as possible
> making it 188 is not ok, this has too much overhead
how about a solution in the spirit of this new attached patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 799 bytes
Desc: not available
More information about the ffmpeg-devel