2 DVB-T cards but I only get one working! (SOLVED)

*nix specific usage questions
sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

2 DVB-T cards but I only get one working! (SOLVED)

Postby sozz » 07 Apr 2008 13:41

I have a problem, because I have to pci cards (PCTV Hybrid Pro pci) and I wanna tune two different channels.
I start streaming with one of them, and no problem.

Code: Select all

vlc -vvvv dvb-t:// :dvb-adapter=/dev/dvb/adapter0/frontend0 :dvb-frequency=618000000 :dvb-bandwidth=8 :dvb-transmission=8 :dvb-guard=4 :dvb-modulation=64 :dvb-cache=512 --ts-es-id-pid --program=1103 --sout "#standard{mux=ts,access=udp,dst=239.255.255.255:1235}"
But when I try to start with the other card:

Code: Select all

vlc -vvvv dvb-t:// :dvb-adapter=/dev/dvb/adapter1/frontend1 :dvb-frequency=618000000 :dvb-bandwidth=8 :dvb-transmission=8 :dvb-guard=4 :dvb-modulation=64 :dvb-cache=512 --ts-es-id-pid --program=1101 --sout "#standard{mux=ts,access=udp,dst=239.255.255.255:1236}"


I get this...

Code: Select all

[00000321] main private debug: using sout stream module "stream_out_standard" [00000319] main input debug: `dvb-t://' gives access `dvb-t' demux `' path `' [00000319] main input debug: creating demux: access='dvb-t' demux='' path='' [00000328] main demuxer debug: looking for access_demux module: 0 candidates [00000328] main demuxer warning: no access_demux module matched "dvb-t" [00000319] main input debug: creating access 'dvb-t' path='' [00000329] main access debug: looking for access2 module: 1 candidate [00000329] dvb access debug: Opening device /dev/dvb/adapter0/frontend0 [00000329] dvb access error: FrontEndOpen: opening device failed (Device or resource busy) [00000329] main access warning: no access2 module matching "dvb-t" could be loaded [00000319] main input error: open of `dvb-t://' failed: could not create access [00000331] main private debug: thread 1149274432 (Interaction control) created at priority 0 (interface/interaction.c:382) [00000321] main private debug: destroying chain... (name=standard) [00000326] main private debug: removing module "mux_ts" [00000325] main private debug: thread 1140881728 joined (udp.c:308) [00000323] access_output_udp private debug: UDP access output closed [00000323] main private debug: removing module "access_output_udp" [00000321] main private debug: removing module "stream_out_standard" [00000321] main private debug: destroying chain done [00000289] main playlist debug: finished input [00000289] main playlist debug: dying input [00000289] main playlist debug: dead input [00000319] main input debug: thread 1124096320 joined (input/input.c:481) [00000289] main playlist debug: starting new item [00000289] main playlist debug: changing item without a request (current 0/1) [00000289] main playlist debug: nothing to play
I don't know what can I do... :(
Last edited by sozz on 08 Apr 2008 11:01, edited 1 time in total.

sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

Re: 2 DVB-T cards but I only get one working!

Postby sozz » 07 Apr 2008 17:13

First DVB card:

Code: Select all

vlc -vvvv dvb:// :dvb-adapter=/dev/dvb/adapter0 :dvb-device=/dev/dvb/adapter0/frontend0 :dvb-frequency=618000000 :dvb-bandwidth=8 :dvb-transmission=8 :dvb-guard=4 :dvb-modulation=64 :dvb-cache=512 --ts-es-id-pid --program=1101 --sout "#standard{mux=ts,access=udp,dst=239.255.255.255:1236}"
Second DVB card:

Code: Select all

vlc -vvvv dvb:// :dvb-adapter=/dev/dvb/adapter1 :dvb-device=/dev/dvb/adapter1/frontend0 :dvb-frequency=618000000 :dvb-bandwidth=8 :dvb-transmission=8 :dvb-guard=4 :dvb-modulation=64 :dvb-cache=512 --ts-es-id-pid --program=1102 --sout "#standard{mux=ts,access=udp,dst=239.255.255.255:1236}"
In both of them the vlc try to open the /dev/dvb/adapter0. Even when I specify that I want to open the /dev/dvb/adapter1

Why?

sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

Re: 2 DVB-T cards but I only get one working! (SOLVED)

Postby sozz » 08 Apr 2008 11:03

The fault was that I was typing the full path to the tv card...
And you only need to put a number.
What I have before:

Code: Select all

vlc -vvvv dvb:// :dvb-adapter=/dev/dvb/adapter0 :dvb-device=/dev/dvb/adapter0/frontend0 :dvb-frequency=618000000 :dvb-bandwidth=8 :dvb-transmission=8 :dvb-guard=4 :dvb-modulation=64 :dvb-cache=512 --ts-es-id-pid --program=1101 --sout "#standard{mux=ts,access=udp,dst=239.255.255.255:1236}"
What it's working now:

Code: Select all

vlc -vvvv dvb:// :dvb-adapter=0 :dvb-device=/dev/dvb/adapter0/frontend0 :dvb-frequency=618000000 :dvb-bandwidth=8 :dvb-transmission=8 :dvb-guard=4 :dvb-modulation=64 :dvb-cache=512 --ts-es-id-pid --program=1101 --sout "#standard{mux=ts,access=udp,dst=239.255.255.255:1236}"


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Kingoman and 20 guests