Trying to Duplicate -> Transcode -> Stream

About encoding, codec settings, muxers and filter usage
mjaggard
New Cone
New Cone
Posts: 3
Joined: 11 Mar 2011 13:50

Trying to Duplicate -> Transcode -> Stream

Postby mjaggard » 11 Mar 2011 13:55

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.

johnnyauyeung
New Cone
New Cone
Posts: 5
Joined: 18 Jun 2011 05:13

Re: Trying to Duplicate -> Transcode -> Stream

Postby johnnyauyeung » 20 Jun 2011 04:01

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 17 guests