Does VLC support streaming of different bit-rates. I found a viewtopic.php?f=14&t=29430&p=91181&hili ... ate#p91181 that VLC doesn't support multiple bit-rates, but I think they're referring to it rebroadcasting multiple bit-rates vs. creating those different bit rates.
What I have that works:
vlc -I dummy v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/adsp1" :v4l-norm=1 :v4l-channel=1 --sout '#transcode{vcodec=h264,vb=1024,scale=1,acodec=mpga,ab=64,channels=2}:duplicate{dst=display,dst=std{access=file,mux=ts,dst="/home/bdk/Desktop/test_1.mpg"},dst=std{access=http,mux=ts,dst=:8080}}'
I'd like to add a 2nd stream but at 256kbps and maybe even an audio only stream. I've tried lots of combinations using the various commands that I found http://www.videolan.org/doc/streaming-h ... /ch03.html and in the chapter before it that gives examples.
When I try:
vlc -I dummy -vvv v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/adsp1" :v4l-norm=1 :v4l-channel=1 --sout '#transcode{vcodec=h264,vb=512,scale=1,acodec=mpga,ab=32,channels=1}:duplicate{dst=std{access=http,mux=ts,dst=:8080/high}}' --sout '#transcode{vcodec=h264,vb=256,scale=1,acodec=mpga,ab=16,channels=1}:duplicate{dst=std{access=http,mux=ts,dst=:8080/low}}'
I get only the 8080/low stream.
When I try:
vlc -I dummy -vvv v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/adsp1" :v4l-norm=1 :v4l-channel=1 --sout '{#transcode{vcodec=h264,vb=512,scale=1,acodec=mpga,ab=32,channels=1}:duplicate{dst=std{access=http,mux=ts,dst=:8080/high}}:transcode{vcodec=h264,vb=256,scale=1,acodec=mpga,ab=16,channels=1}:duplicate{dst=std{access=http,mux=ts,dst=:8080/low}}}'
I only get the 8080/high stream.
Ultimate I'd like to capture the video/stream at 1024k to a file for later viewing and to rebroadcast a high (512k) & a low (256k) bandwidth stream. I just can't figure out how to glue it all together. I've tried putting quotes around everything and even putting the modules all in one big curly bracket, nothing seems to be making the difference.
Using VLC 0.8.6e (default Ubuntu install).
TIA
-bdk