Camera Man <i.like.privacy.too@...> writes:

> Unfortunately, the udp layer will set it's SO_RCVBUF kernel buffer to at 
> most 64K, (which e.g. Linux will translate to a 128K buffer). That 
> practically guarantees that any single frame larger than 128K (e.g., an 
> average I-frame in an 1280x720 stream) will not fit within the kernel 
> socket buffers, resulting in at least one packet (and part of the frame) 
> dropped, thus the corruption you see.

Thank you for this analysis!
Is this documented anywhere else (afayk)?

> The udp layer does have a "buffer_size" parameter, but there's no way 
> that I'm aware of to pass it to the udp layer through the rtsp layer.

Do you know of a public stream that I could use to test if 
I wanted to fix this?

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to