I try to create a VOD based on DVB-S streams.
I managed to broadcast DVB-S stream with this configuration :
test1.vlm :
Code: Select all
new France5 broadcast enabled
setup France5 input "dvb:"
setup France5 option dvb-frequency=11591000
setup France5 option dvb-srate=20000000
setup France5 option program=260
setup France5 option ts-es-id-pid
setup France5 option sout-standard-mux=ts
setup France5 option sout-standard-access=udp
setup France5 output #std{dst=192.168.1.2:1234,select="program=260"}
VLC command line :
Code: Select all
vlc -vv --color -I telnet --vlm-conf test1.vlm
Now, here my VOD configuration (which doesn't work )
test3.vlm :
Code: Select all
new France4 vod enabled
setup France4 input "dvb:"
setup France4 option dvb-srate=20000000
setup France4 option ts-es-id-pid
setup France4 option dvb-frequency=11591000
setup France4 option programs=257
setup France4 option sout-standard-mux=ts
Code: Select all
vlc -vv --color -I telnet --rtsp-host 0.0.0.0:5554 --vlm-conf test3.vlm
2- vlc try to play the DVB stream without demand
I get to many messages error :
Code: Select all
[00000311] [Média: France4] dvb access debug: trying to tune the frontend...
[00000311] [Média: France4] dvb access debug: frequency 11954000 is in Ku-band
[00000311] [Média: France4] dvb access debug: using inversion=2
[00000311] [Média: France4] dvb access debug: using fec=9
[00000311] [Média: France4] dvb access debug: using voltage=13
[00000311] [Média: France4] dvb access debug: using tone=1
[00000311] [Média: France4] dvb access debug: Opening device /dev/dvb/adapter0/dvr0
[00000311] [Média: France4] dvb access debug: setting filter on PAT
[00000311] [Média: France4] dvb access debug: Opening device /dev/dvb/adapter0/demux0
[00000311] [Média: France4] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 0
[00000311] [Média: France4] dvb access debug: Opening device /dev/dvb/adapter0/ca0
[00000311] [Média: France4] dvb access warning: CAMInit: opening CAM device failed (Aucun fichier ou r?pertoire de ce type)
[00000311] [Média: France4] main access debug: using access2 module "dvb"
[00000313] [Média: France4] main private debug: pre buffering
[00000311] [Média: France4] dvb access debug: frontend has acquired signal
[00000311] [Média: France4] dvb access warning: no lock, tuning again
[00000311] [Média: France4] dvb access debug: using inversion=2
[00000311] [Média: France4] dvb access debug: using fec=9
[00000311] [Média: France4] dvb access debug: using voltage=13
[00000311] [Média: France4] dvb access debug: using tone=1
If it isn't possible, I can use a program which send signal to telnet server in order to activate/desactivate broadcast flow.
Info:
VLC media player 0.8.6a Janus on Debian
Thanks for help.