[FFmpeg-devel] RTSP / H264: Want to hire FFMpeg consultant
Sven C. Dack
sven.c.dack at virginmedia.com
Wed Mar 30 20:50:32 CEST 2011
On 30/03/11 17:59, Michael Niedermayer wrote:
> On Wed, Mar 30, 2011 at 11:49:22AM -0400, Tim Ouellette wrote:
>
>> I have viewed the streams with other programs such as VLC to confirm
>> that the feed is good.
>>
> ive not investigated this really as iam a bit short on time but you
> could try to increas the kernel udp buffer, something like:
> sysctl -w net.core.rmem_max=8388608
> if iam not mixing things up
>
... or edit /etc/sysctl.conf and increase all IP buffer sizes. For example:
# IP network performance tuning:
net.core.rmem_max = 67108864
net.core.wmem_max = 67108864
net.ipv4.tcp_rmem = 4096 3932160 62914560
net.ipv4.tcp_wmem = 4096 196608 3145728
net.ipv4.udp_rmem_min = 1048576
net.ipv4.udp_wmem_min = 1048576
Add this to the end of the file. These parameters are documented in the
manpages tcp(7) and udp(7). One can read the active values with i.e.:
$ cat /proc/sys/net/ipv4/udp_rmem_min
The default value for the last two parameters is only 4K bytes. It might
be a good idea to tune the networking in any case.
More information about the ffmpeg-devel
mailing list