On 15/05/15 20:39, Rémi Denis-Courmont wrote: > Le 2015-05-15 17:18, Luca Barbato a écrit : >> Make it as large as 5 times the expected maximum udp packet. > > Increasing the buffer size may be a good idea on Windows. But setting a > buffer size is usually a bad idea on Linux in my experience (the kernel > knows better).
You need that if you are receiving a full hd video over udp+mpegts and that's getting the standard use case. (Tested on linux) testcase avconv -filter_complex -s hd720 -c:v libx264 -f mpegts udp://localhost:12345 avplay udp://localhost:12345 vs avplay udp://localhost:12345?buffer_size=400000 or such. > In any case, PACKET size over 65535 bytes makes absolutely no sense. It > is not possible at the protocol level (unless jumbo grams maybe but > nobody uses that for multimedia if at all). I should either rename the variables for what they really are or move the multiplication where the default is set I guess. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
