[streaming] Writing a VLM config for DVB streaming

Matthew Geier matthew at arts.usyd.edu.au
Fri Dec 9 04:44:46 CET 2005


  I'm currently running 3 instances of VLC to read 3 DVB cards and 
multicast stream channels and once instance is sucking a TS stream out 
of a dreambox STB over http and rebroadcasting that as well.

  Only I can't work out how to translate the VLC command lines that 
stream this content into VLM commands.

ie this does what I want

#!/bin/sh
/usr/local/bin/vlc -I http dvb:// --dvb-adapter=0 
--dvb-frequency=191625000  --dvb-bandwidth=7 --programs=1,5 
--ts-es-id-pid --ttl 12 
--sout='#duplicate{dst=std{access=udp,mux=ts,url=239.255.100.100:1234,sap,group="Usyd 
META",name="Usyd META - Nine Sydney 
SD"},select="program=1",dst=std{access=udp,mux=ts,url=239.255.100.101:1234,sap,group="Usyd 
META",name="Usyd META - Nine Sydney HD"},select="program=5"}'
--
But trying to turn that into a VLM command doesnt.

eg
--
new channel9 broadcast enabled
setup channel9 input dvb:// dvb-adapter=0 dvb-frequency=191625000 
dvb-bandwidth=7 programs=1,5 ts-es-id-pid ttl 12
setup channel9 output 
#duplicate{dst=std{access=udp,mux=ts,url=239.255.100.100:1234,sap,group="Usyd 
META",name="Usyd META - Nine Sydney 
SD"},select="program=1",dst=std{access=udp,mux=ts,url=239.255.100.101:1234,sap,group="Usyd 
META",name="Usyd META - Nine Sydney HD"},select="program=5"}
control channel9 play
--

  Mainly as it tries to open each component of the input line as 
seperate files :-).
  Tried a few other things but they didn't work.

  My aim at this point is to try and construct a VLM command set that 
will be automaticly started at boot time to stream two DVB transponders 
(the above is only one of em) and a relay as well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3348 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.videolan.org/pipermail/streaming/attachments/20051209/4b76dd46/attachment.bin 


More information about the streaming mailing list