[FFmpeg-devel] udp.c comments/thoughts

Roger Pack rogerdpack2 at gmail.com
Mon Jan 6 20:27:10 CET 2014


Hello.  I noticed that in udp.c sometimes (with pthread cancel
enabled) it says "Part of datagram lost due to insufficient buffer
size" (I think what it meant to say is due to insufficient read
request size?)
Also it's quite confusing that fifo_size is in multiples of 188.
Unless you an MPEG engineer, nobody anticipates this.  I might suggest
adding another setting of "fifo_size_bytes" or something so that
people realize there's a difference.

Also I've noticed that the default RECV buffer size is 64K by default
for udp packets.  I might suggest increasing this substantially, as
this is far too little for many streams, and the OS can typically
handle far higher (1M-10MB at least).

Feedback welcome.
Thank you.
-roger-


More information about the ffmpeg-devel mailing list