[streaming] Re: command line commands

Matthew Geier matthew at arts.usyd.edu.au
Tue Jan 2 23:30:27 CET 2007


Jean-Paul Saman wrote:
> Anthony Benjammin DeNardo III wrote:
>> I am using VLC 0.8.6 to multicast 5 streams.  

> Why don't you use the VLM functionality of vlc? See the streaming howto 
> on www.videolan.org/doc

  It took me about 2 months to work out how to get the vlm to work. It's 
very sensitive to errors (the syntax of sout lines has to be exactly 
correct) and it doesn't produce very descriptive errors :-)
(Like none at all - vlc would start, but no streams would be output!)

  vlc -I telnet --vlm-conf /root/stream.vlm --ttl=12


Here's a dvb example, DVB being complicated by having multiple programs 
on the same transponder, which i'm splitting out and multicasting. This 
makes for a very complex 'output' line. Note each setup line IS a single 
line. You can break it across lines. vlc will then simply fail to parse 
it and skip to the next program setup, and you will be left with missing 
output a little idea why it didn't start.
  The ttl= lines in the VLM file are useless, they appear to be ignored, 
only the ttl option on the command line above has any effect.

$ cat stream.vlm

# ABC off DVB card 1
new channelabc broadcast enabled
setup channelabc input "dvb://"
setup channelabc option dvb-adapter=1
setup channelabc option dvb-frequency=226500000
setup channelabc option dvb-bandwidth=7
setup channelabc option programs=545,546,550,551,544
setup channelabc option ts-es-id-pid
setup channelabc option ttl=12

setup channelabc output 
#duplicate{dst=standard{access=udp,mux=ts,url=239.255.100.104:1234,sap,group="Usyd 
META",name="Usyd META - ABC 
Sydney"},select="program=545",dst=standard{access=udp,mux=ts,url=239.255.100.105:1234,sap,group="Usyd 
META",name="Usyd META - 
ABC2"},select="program=546",dst=standard{access=udp,mux=ts,url=239.255.100.112:1234,sap,group="Usyd 
META",name="Usyd META - ABC DiG 
Radio"},select="program=550",dst=standard{access=udp,mux=ts,url=239.255.100.113:1234,sap,group="Usyd 
META",name="Usyd META - ABC DiG 
Jazz"},select="program=551",dst=standard{access=udp,mux=ts,url=239.255.100.114:1234,sap,group="Usyd 
META",name="Usyd META - ABC HD"},select="program=544"}



control channelabc play

# SBS off DVB Card 2
new channelsbs broadcast enabled
setup channelsbs input "dvb://"
setup channelsbs option dvb-adapter=2
setup channelsbs option dvb-frequency=571500000
setup channelsbs option dvb-bandwidth=7
setup channelsbs option programs=769,770,772,782,783
setup channelsbs option ts-es-id-pid
setup channelsbs option ttl=12

setup channelsbs output 
#duplicate{dst=standard{access=udp,mux=ts,url=239.255.100.102:1234,sap,group="Usyd 
META",name="Usyd META - SBS 1 Sydney 
"},select="program=769",dst=standard{access=udp,mux=ts,url=239.255.100.103:1234,sap,group="Usyd 
META",name="Usyd META - SBS 2 
Sydney"},select="program=770",dst=standard{access=udp,mux=ts,url=239.255.100.115:1234,sap,group="Usyd 
META",name="Usyd META - SBS EPG Sydney 
"},select="program=772",dst=standard{access=udp,mux=ts,url=239.255.100.116:1234,sap,group="Usyd 
META",name="Usyd META - SBS Radio 
1"},select="program=782",dst=standard{access=udp,mux=ts,url=239.255.100.117:1234,sap,group="Usyd 
META",name="Usyd META - SBS Radio 2"},select="program=783"}

control channelsbs play

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list