Page 1 of 1

Trying to Duplicate -> Transcode -> Stream

Posted: 11 Mar 2011 13:55
by mjaggard
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.

Re: Trying to Duplicate -> Transcode -> Stream

Posted: 20 Jun 2011 04:01
by johnnyauyeung
I have similar problem in re-stream to multicast.
"#transcode->duplicate" will work but "#duplicate{dst=transcode(..." will not.
Did you have the problem fixed?
I tried this with 1.1.5 to 1.1.10 and none of them works for me.
May be there is some thing wrong in my command line.