Multiple DVB channel streaming via HLS

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
mrttmr
New Cone
New Cone
Posts: 3
Joined: 09 Mar 2015 10:19

Multiple DVB channel streaming via HLS

Postby mrttmr » 09 Mar 2015 10:45

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.

mrttmr
New Cone
New Cone
Posts: 3
Joined: 09 Mar 2015 10:19

Re: Multiple DVB channel streaming via HLS

Postby mrttmr » 27 Mar 2015 20:38

Any responses? Okey..
Probably problem is multiple transcoding. Can we use multiple transcoding in output chain? If so, is there any examples?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Multiple DVB channel streaming via HLS

Postby Jean-Baptiste Kempf » 30 Mar 2015 14:07

Aren't you missing some quotes in your command?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mrttmr
New Cone
New Cone
Posts: 3
Joined: 09 Mar 2015 10:19

Re: Multiple DVB channel streaming via HLS

Postby mrttmr » 31 Mar 2015 23:40

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:

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Multiple DVB channel streaming via HLS

Postby Jean-Baptiste Kempf » 14 Apr 2015 20:59

Cool :)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 6 guests