Hi all,

I have two machines. One (192.168.0.2) has my webcam plugged into it, and runs:

ffmpeg -s 640x480 -r 15 -f video4linux2 -i /dev/video0 http://192.168.0.1:8090/webcam.ffm

The other machine (192.168.0.1) runs ffserver and has its feed declared in ffserver.conf as follows:

<Feed webcam.ffm>
File /tmp/webcam.ffm
FileMaxSize 5M
ACL allow 192.168.0.2
</Feed>

Running ffserver on 192.168.0.1 and ffmpeg on 192.168.0.2 works almost perfectly. ffmpeg POST's its data to ffserver, which then in turn streams it out as configured.

However. When I view status.html on 192.168.0.1 I see the following:

Connection Status
Number of connections: 2 / 10
Bandwidth in use: 0k / 20000k
#       File    IP      Proto   State   Target bits/sec Actual bits/sec Bytes 
transferred
1       status.html     192.168.0.2     HTTP/1.1        HTTP_WAIT_REQUEST       
0       0       0
2       webcam.ffm(input)       192.168.0.2     HTTP/1.1        RECEIVE_DATA    
2000k   2009k   3682k

So for some reason, my feed is having a bandwidth cap of 2000Kbit/sec applied. This is confirmed from the output log of ffmpeg:

frame= 48 fps= 5 q=5.8 Lq=17.5 size= 2308kB time=9.27 bitrate=2040.3kbits/s

Now, 192.168.0.1 and 192.168.0.2 are on my LAN, and I don't really want the bandwidth of the feed to be capped. Especially as it looks like doing so is causing my capture (at a desired 15fps) to throttle back to 5fps.

So where in ffserver.conf do I configure the maximum bandwidth allowed for the POST to the webcam.ffm feed (to up it from the apparent default of 2000K), and how?

Many thanks,

Jon
_______________________________________________
ffserver-user mailing list
ffserver-user@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user

Reply via email to