I'm using the following command line on Windows to do some streaming. My aim in the end is to get a Ubuntu server to read a stream from a client, duplicate it and then put it out to clients on http in a video form and an audio-only form. So, I've got a stream coming in, and I can display it OR re-stream it to http but not both.
This is what I want to end up with, however this does not stream anything:
"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv rtp://localhost:9990 --sout=#duplicate{dst=transcode{vcodec=theo,vb=200,scale=1,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{dst=localhost:27900/stream.ogg,mux=ogg},dst=transcode{vcodec=none,acodec=mp3,ab=96,channels=2,samplerate=44100}:http{dst=localhost:27902/stream.mp3,mux=raw}}
This test displays output but doesn't re-stream:
"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv rtp://localhost:9990 --sout=#duplicate{dst=transcode{vcodec=theo,vb=200,scale=1,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{dst=localhost:27900/stream.ogg,mux=ogg},dst=display}
This test re-streams correctly:
"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv rtp://localhost:9990 --sout=#transcode{vcodec=theo,vb=200,scale=1,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{dst=localhost:27900/stream.ogg,mux=ogg}
Thanks in advance.
Mat.