I have my personal computer with a webcam that sends one stream to a dedicated (company) server that I would like to stream in multiple qualities - like 256 kbps and 128 kbps.
I can only have one of the channels working at the time - here the channel "webtv2" (on port 9001) which seems to override the webtv1-settings.
Code: Select all
# VLC media player VLM command batch
# http://www.videolan.org/vlc/
new webtv1 broadcast enabled loop
setup webtv1 input "udp://@:8080"
setup webtv1 output #transcode{vcodec=WMV2,vb=256,scale=1,acodec=mp3,ab=128,channels=1}:duplicate{dst=std{access=mmsh,mux=mpeg1,dst=:9000}}
control webtv1 play
new webtv2 broadcast enabled loop
setup webtv2 input "udp://@:8080"
setup webtv2 output #transcode{vcodec=WMV2,vb=128,scale=1,acodec=mp3,ab=128,channels=1}:duplicate{dst=std{access=mmsh,mux=mpeg1,dst=:9001}}
control webtv2 play