Page 1 of 1

Multiple DVB channel streaming via HLS

Posted: 09 Mar 2015 10:45
by mrttmr
Hi,
I am trying to multicast 2 programs SIDs with VLM this way:

Code: Select all

new channel1 broadcast enabled setup channel1 input "dvb-s//:" setup channel1 option dvb-frequency=12054000000 setup channel1 option dvb-srate=27500000 setup channel1 option dvb-adapter=3 setup channel1 option dvb-satno=1 setup channel1 option dvb-voltage=18 setup channel1 option programs=10305,10300 setup channel1 option ts-es-id-pid setup channel1 output #duplicate{dst="transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=/opt/lampp/htdocs/stream/2.m3u8,index-url=http://192.168.2.100/stream/2-########.ts},mux=ts{use-key-frames},dst=/opt/lampp/htdocs/stream/2-########.ts}",select="program=10305", dst="transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=/opt/lampp/htdocs/stream/1.m3u8,index-url=http://192.168.2.100/stream/1-########.ts},mux=ts{use-key-frames},dst=/opt/lampp/htdocs/stream/1-########.ts},select="program=10300""} control channel1 play
But output like that:

Code: Select all

VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be) [0x202afb8] main vlm daemon error: Load error on line 11: dst=transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=/opt/lampp/htdocs/stream/1.m3u8,index-url=http://192.168.2.100/stream/1-########.ts},mux=ts{use-key-frames},dst=/opt/lampp/htdocs/stream/1-########.ts},select=program=10300}: Unknown VLM command [0x2048ec8] dummy interface: using the dummy interface module...
I don't know where i do mistakes. When i try that in vlc, VLC streams only one channel and other channel don't. Vlc output like that:

Code: Select all

[0x7f90dc0014e8] stream_out_duplicate stream out error: * ignore unknown option ` dst' [0x7f90dc0014e8] stream_out_duplicate stream out error: * ignore unknown option `rogram' [0x7f90dc0ae978] main decoder error: cannot create packetizer output (mpga) [0x7f90dc0a7978] main decoder error: cannot create packetizer output (h264) [0x7f90cc001098] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 [0x7f90cc001098] x264 encoder: profile Constrained Baseline, level 3.0 libva info: VA-API version 0.35.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) [0x7f90cc008f18] vaapi generic error: Failed to initialize the VAAPI device [0x7f90cc001098] x264 encoder: using SAR=16/15 [0x7f90cc001098] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 [0x7f90cc001098] x264 encoder: profile Constrained Baseline, level 3.0
I searched forum, other blogs etc. But i didn't find any solution.

Re: Multiple DVB channel streaming via HLS

Posted: 27 Mar 2015 20:38
by mrttmr
Any responses? Okey..
Probably problem is multiple transcoding. Can we use multiple transcoding in output chain? If so, is there any examples?

Re: Multiple DVB channel streaming via HLS

Posted: 30 Mar 2015 14:07
by Jean-Baptiste Kempf
Aren't you missing some quotes in your command?

Re: Multiple DVB channel streaming via HLS

Posted: 31 Mar 2015 23:40
by mrttmr
Ohhh... :( I wrote conf file at least ten times. But i missed quotes :) Thank you so much. I did not see it until you said it to me :oops:

Re: Multiple DVB channel streaming via HLS

Posted: 14 Apr 2015 20:59
by Jean-Baptiste Kempf
Cool :)