VLC Streaming - Transcoding from a DVB multiplex

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jimmystacks
New Cone
New Cone
Posts: 4
Joined: 09 Oct 2010 01:56

VLC Streaming - Transcoding from a DVB multiplex

Postby jimmystacks » 09 Oct 2010 02:08

Hi all - hoping someone can help here. I'm using VLC 1.1.4 on Linux to stream individual channels from a multiplex in Australia. Transcoding once, and then duplicating the output for each individual channel using select="program=x" works perfectly.

However, this breaks down when I try to use unique transcode settings for each stream. We need to do this because in the below example, the SID 1315 is broadcast in HD rather than SD like the others and we want to be able to modify the settings for that stream.

Although it should work, VLC seems to launch 9 encoders (rather than 3) and will open up each program stream if you hit any of the unique specified http output ports. EG connecting to http:ip:9071/stream.ts below will open all 3 SID streams in VLC Player on a client machine.

My command line at the moment is:

Code: Select all

cvlc dvb-t://frequency=xxx000000 --dvb-adapter=0 --dvb-bandwidth=7 --programs=1301,1302,1303 \ --sout-transcode-audio-sync --sout-transcode-deinterlace --sout '#duplicate{dst="transcode{vcodec=h264,venc=x264,vb=600,acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace,audio-sync,scale=0.6}:standard{access=http,mux=ts,dst=:9071/stream.ts},select=\"program=1301\"",dst="transcode{vcodec=h264,venc=x264,vb=600,acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace,audio-sync,scale=0.6}:standard{access=http,mux=ts,dst=:9072/stream.ts},select=\"program=1302\"",dst="transcode{vcodec=h264,venc=x264,vb=600,acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace,audio-sync,scale=0.3}:standard{access=http,mux=ts,dst=:9073/stream.ts},select=\"program=1303\""}'
But, I've tried all sorts of combinations including running a single transcode with all the video / audio encoding and then just a transcode{scale} on each stream. I've also tried a variety of different single and double quotes around the transcode string for each stream.

Has anyone ever tried doing this and had any success? Or does VLC not support multiple stream transcoding using select="program=x"?

jimmystacks
New Cone
New Cone
Posts: 4
Joined: 09 Oct 2010 01:56

Re: VLC Streaming - Transcoding from a DVB multiplex

Postby jimmystacks » 10 Oct 2010 23:03

OK, after another 24 hours of playing with the settings, we fixed this one. And it was a simple fix that we must have overlooked.

The quote marks (") for each separate dst=transcode output go around the output string, but don't include the select=program flag. In our original code above we were wrapping the select=program into the dst= command which doesn't work.

Code: Select all

vlc dvb-t://frequency=xxx000000 --dvb-adapter=0 --dvb-bandwidth=7 --programs=1301,1302,1303 \ --sout-transcode-audio-sync --sout-transcode-deinterlace --sout '#duplicate{dst="transcode{vcodec=h264,venc=x264,vb=600,acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace,audio-sync,scale=0.6}:standard{access=http,mux=ts,dst=:9071/stream.ts}",select="program=1301",dst="transcode{vcodec=h264,venc=x264,vb=600,acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace,audio-sync,scale=0.6}:standard{access=http,mux=ts,dst=:9072/stream.ts}",select="program=1302",dst="transcode{vcodec=h264,venc=x264,vb=600,acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace,audio-sync,scale=0.3}:standard{access=http,mux=ts,dst=:9073/stream.ts}",select="program=1303"}'
Hope this helps someone else someday!

nfrancia87
New Cone
New Cone
Posts: 3
Joined: 06 Apr 2013 21:44

Re: VLC Streaming - Transcoding from a DVB multiplex

Postby nfrancia87 » 02 May 2013 15:52

After months searching every where i found the solution i was looking for! thank you so very much men! form Uruguay!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests