dvbstream seems to not work with dvb-c

Bug #240072 reported by Hadmut Danisch
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dvbstream (Ubuntu)
Confirmed
Undecided
Unassigned
gst-plugins-bad0.10 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: dvbstream

Hi,

I tried dvbstream with my dvb-c card, but it never produces any output, it always issues the same error message "ERROR tuning channel":

% dvbstream -c 0 -quam 64 -f 458000000 -s 6900000 -o -v 102 -a 103 > /tmp/ausgabe
dvbstream v0.6 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Tuning to 458000000 Hz
Using DVB card "Philips TDA10023 DVB-C", freq=458000000
tuning DVB-C to 458000000, srate=-1689934592
ERROR tuning channel
: Invalid argument
dvbstream will stop after -1 seconds (71582788 minutes)
Output to stdout
Streaming 4 streams

the symbolrate is wrong as well.

Furthermore, the package seems to be incomplete. I found several hints that there is a program ts2ps to convert mpeg transport streams into program streams, but it is missing.

regards

Revision history for this message
madbiologist (me-again) wrote :

Linux kernel 2.6.33-rc5 may help you.

It contains the following comment:

Magnus Horlin (1):
      V4L/DVB (13748): [Mantis/VP-2040] Add support for VP-2040 (TDA10023 frontend based)

(V4L stands for Video for Linux).

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Is this error still present for you! Thank you!

Changed in dvbstream (Ubuntu):
status: New → Incomplete
Revision history for this message
Christoph Loesch (mmil) wrote :

hi,
while googling for gstreamer-error "Error tuning channel: Invalid argument", i found this bug here and seems that im affected too:

$ uname -a
Linux panda 3.5.0-222-omap4 #33-Ubuntu SMP PREEMPT Thu Mar 28 16:37:09 UTC 2013 armv7l armv7l armv7l GNU/Linux
$ lsusb | grep Pinnacle
Bus 001 Device 004: ID 2013:0251 Unknown (Pinnacle?)
(pctv 520e usb dvb-c adapter)
$ lsmod | grep em28xx
em28xx_rc 6610 0
rc_core 17449 3 rc_pinnacle_pctv_hd,em28xx_rc
em28xx_dvb 14539 0
dvb_core 97644 1 em28xx_dvb
em28xx 88075 2 em28xx_rc,em28xx_dvb
videobuf_vmalloc 6087 1 em28xx
videobuf_core 22058 2 em28xx,videobuf_vmalloc
tveeprom 11155 1 em28xx
$ ls /dev/video*
/dev/video0
$ ls /dev/dvb/*
demux0 dvr0 frontend0 net0

$ dvbstream -c 0 -quam 256 -f 330000000 -s 6900000 -o
dvbstream v0.7 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Tuning to 330000000 Hz
Using DVB card "DRXK DVB-C DVB-T", freq=330000000
tuning DVB-C to 330000000, srate=-1689934592
ERROR tuning channel
: Invalid argument
dvbstream will stop after -1 seconds (71582788 minutes)
Output to stdout
Streaming 2 streams

(watching tv works fine in other players like mplayer,kaffeine,vlc)
hth

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gst-plugins-bad0.10 (Ubuntu):
status: New → Confirmed
Christoph Loesch (mmil)
affects: gst-plugins-bad → gst-plugins-bad0.10 (Ubuntu)
Revision history for this message
Christoph Loesch (mmil) wrote :

gstreamer relevant.. same error in version 0.10 and 1.0:

$ gst-launch-0.10 dvbsrc modulation="QAM 256" symbol-rate=6900000 frequency=330000000
Setting pipeline to PAUSED ...

** (gst-launch-0.10:3166): WARNING **: Error tuning channel: Invalid argument

$ gst-launch-1.0 dvbsrc modulation="QAM 256" symbol-rate=6900000 frequency=330000000
Setting pipeline to PAUSED ...

** (gst-launch-1.0:3170): WARNING **: Error tuning channel: Invalid argument

Revision history for this message
Mozartsghost (rasmus-s) wrote :

HI, also getting this error while trying to tune to C-BAND freq with dvbstream with DVB-S card

note, vlc tunes perfectly to this same frequency on any of the cards in this machine

root@brm-4-enc3:/streaming# dvbstream -f 3658 -s 2917 -p V -L1 5150 -L2 0 -c 3 -o 4194 4195
dvbstream v0.7 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Tuning to 3658 Hz
Using DVB card "STV090x Multistandard", freq=3658
tuning DVB-S to Freq: 4293475296, Pol:V Srate=2917000, 22kHz tone=off, LNB: 0, SLOF 11700, LOF1: 5150, LOF2: 0
Setting only tone OFF and voltage 13V
DISEQC SETTING SUCCEDED
ERROR tuning channel
: Invalid argument
dvbstream will stop after -1 seconds (71582788 minutes)
Output to stdout
Streaming 3 streams

does anyone know what could be wrong perhaps ?

Revision history for this message
Mozartsghost (rasmus-s) wrote :

sorry, forgot to add this ..

$ uname -a
Linux brm-4-enc3 3.5.0-25-generic #39~precise1-Ubuntu SMP Tue Feb 26 00:07:14 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:06.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation C204 Chipset Family LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 05)
01:00.0 Multimedia controller: Digital Devices GmbH Octopus LE DVB adapter
02:00.0 Multimedia controller: Digital Devices GmbH Octopus LE DVB adapter
05:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
06:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
07:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
08:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
09:05.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 10)

Changed in dvbstream (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Christoph Loesch (mmil) wrote :

i asked the developer for help, he told me to use "qam" switch (not "quam") and frequencies in KHZ. the -a -v switches are for older dvb cards so just add the pids to the end of the command..

given this information dvbstream also works for me with dvb-c:

$ dvbstream -c 0 -qam 256 -f 330000 -s 6900 2011 2001
dvbstream v0.7 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Tuning to 330000 Hz
Using DVB card "DRXK DVB-C DVB-T", freq=330000
tuning DVB-C to 330000000, srate=6900000
Getting frontend status
Event: Frequency: 330000000
        SymbolRate: 6900000
        FEC_inner: 9
Bit error rate: 0
Signal strength: 0
SNR: 370
UNC: 15898
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
dvbstream will stop after -1 seconds (71582788 minutes)
Using 224.0.1.2:5004:2
version=2
Streaming 3 streams

and then to watch it with mplayer:
mplayer -cache 8192 rtp://224.0.1.2:5004

many thanks to dave chapman!

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Christoph thank you for this information!

Changed in gst-plugins-bad0.10 (Ubuntu):
status: New → Invalid
status: Invalid → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.