[FFmpeg-devel] [patch][RFC] mpeg-ts not packetized properly over UDP
Sun Sep 5 11:32:51 CEST 2010
On Thu, Sep 2, 2010 at 18:30, aviad rozenhek <aviadr1 at gmail.com> wrote:
> 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?
More information about the ffmpeg-devel