Multiple DVB channel streaming via HLS
Posted: 09 Mar 2015 10:45
Hi,
I am trying to multicast 2 programs SIDs with VLM this way:
But output like that:
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:
I searched forum, other blogs etc. But i didn't find any solution.
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
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...
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