Page 1 of 1

vlm dvb output

Posted: 29 Sep 2005 17:16
by ogin
Hi,
i am trying to multicast 2 programs SIDs with VLM this way:

[cut..]
setup channel1 option program=1
setup channel1 output #standard{mux=ts,access=udp,url=239.255.1.1:1111}
[cut..]
setup channel2 option program=5
setup channel2 output #standard{mux=ts,access=udp,url=239.255.1.1:1112}

- it broadcasts one channel at a time. How to correct this?

thanks,
--
ogin at mail ru

Posted: 04 Oct 2005 12:27
by Guest
More detailed question: how to stream 2 channels from the same transponder using VLM-telnet iface? I made the following config:

> show channel1
show
channel1
type : broadcast
enabled : yes
loop : no
inputs
dvb:
output : #standard{mux=ts,access=udp,url=239.255.1.1:1111}
options
dvb-frequency=11044000
dvb-srate=29800000
dvb-voltage=13
dvb-fec=3
program=1
sout-udp-caching=1000
instances
> show channel2
show
channel2
type : broadcast
enabled : yes
loop : no
inputs
dvb:
output : #standard{mux=ts,access=udp,url=239.255.1.1:1112}
options
dvb-frequency=11044000
dvb-srate=29800000
dvb-voltage=13
dvb-fec=3
program=5
sout-udp-caching=1000
instances
>

Channel1 plays Ok. But when i start channel2, VLC gives this log:

[cut..]
[00000282] main input debug: creating access 'dvb' path=''
[00000289] main access debug: looking for access2 module: 6 candidates
[00000289] dvb access debug: Opening device /dev/dvb/adapter0/frontend0
[00000289] dvb access error: FrontEndOpen: opening device failed (Device or resource busy)
[00000289] dvb access debug: Opening device /dev/dvb/adapter0/frontend0
[00000289] dvb access error: FrontEndOpen: opening device failed (Device or resource busy)
[00000289] access_file access warning: cannot stat() file `' (No such file or directory)
[00000289] main access warning: no access2 module matching "dvb" could be loaded
[00000282] main input error: no suitable access module for `dvb:'
[00000284] main private debug: destroying chain... (name=standard)
[00000287] mux_ts private debug: Close

So, what is the right VLM-syntax to stream 2 channels from the same transponder?

--
ogin

Posted: 05 Oct 2005 20:45
by dionoea
you can't open the dvb input twice. use #duplicate if you want to split input from a dvb card in two streams. (more info here : http://videolan.org/doc/ in the streaming howto)

Posted: 06 Oct 2005 11:06
by ogin
#duplicate works fine, thanks. Before i used wrong example, not oriented on DVB - http://www.videolan.org/doc/streaming-h ... l#id297966

--
ogin

how to do duplicate channel on vlm??

Posted: 21 Nov 2005 03:26
by joshua
hi ogin....do u mind show me again ur vlm setting for duplicate 2 channels output??? i have been trying all days but only manage get one output only in vlm...

hope to hear from u soon..

Posted: 21 Nov 2005 12:40
by ogin
> show transponder1
show
transponder1
type : broadcast
enabled : yes
loop : no
inputs
dvb:
output : #duplicate{dst=std{url=1.2.3.4:2001},select="program=1",dst=std{url=1.2.3.4:2002},select="program=5"}
options
dvb-frequency=11044000
dvb-srate=29800000
dvb-voltage=13
dvb-fec=3
ts-es-id-pid
sout-standard-access=udp
sout-standard-mux=ts

Plus couple options @ command line. Enjoy!
--
ogin

Posted: 26 Nov 2005 06:47
by Guest
My VLM.CONF

Code: Select all

new sat11 broadcast enabled setup sat11 input "dvb:" setup sat11 option dvb-frequency=3645000 setup sat11 option dvb-srate=28000000 setup sat11 option dvb-lnb-lof1=5150000 setup sat11 option ts-es-id-pid setup sat11 option sout-standard-mux=ts setup sat11 option sout-standard-access=udp setup sat11 option sout-standard-sap setup sat11 output #duplicate{dst=std{url=239.90.11.11,name=SatTV-11-Kultura+7}, select="program=11",dst=std{url=239.90.11.12,name=SatTV-11-Kultura+4},select="pr ogram=12",dst=std{url=239.90.11.13,name=SatTV-11-NTV},select="program=13",dst=st d{url=239.90.11.14,name=SatTV-11-TNT},select="program=14",dst=std{url=239.90.11. 15,name=SatTV-11-DTV},select="program=15",dst=std{url=239.90.11.16,name=SatTV-11 -TV3},select="program=16"}