I setup this example http://wiki.videolan.org/Streaming_to_A ... dia_Player on a Debian server.
So computer A is a laptop with webcam streaming with the following command line:
c:\progra~1\videolan\vlc\vlc.exe -vvv -I http --ttl 12 dshow:// vdev="USB Video Device" adev="DVC" size="320x240" --sout #transcode{vcodec=DIV3,vb=64,scale=1,acodec=mp3,ab=16,channels=1}:duplicate{dst=std{access=mmsh,mux=asfh,dst=192.168.2.140:8888}}
If I use Windows Media Player on my desktop computer inside the 192.168.2.0 network with http://192.168.2.140:8888 I get a 92 Kbps stream. Perfect.
Computer B is the dedicated Debian Linux Server I hired from a Hosting Company where I setup VLC running with the following command:
vlc -vvv -I http mmsh://COMPUTERAIP:8888 --sout='#standard{access=mmsh,mux=asfh,url=DEBIANIP:8888}'
Computer C is my desktop computer and opening an URL in Windows Media Player to http://DEBIANIP:8888 I see the stream I want but apparently at 1.01 Mbps !!!
I shutter to think the bandwidth I'll use when 100 people are looking!
I tried limiting the rate changing the Debian vlc command line to:
vlc -vvv -I http mmsh://COMPUTERAIP:8888 --sout='#transcode{vb=64, ab=16}:standard{access=mmsh,mux=asfh,url=DEBIANIP:8888}'
and although looking at my log file vlc seems to accept it when I look at the properties Windows Media Player is reporting I still get 1.01Mbps!
How do I limit this enormous bit rate?