[mythtv-users] WinTV Nova-T

Brian May bam at snoopy.apana.org.au
Sat Mar 20 04:13:28 EST 2004


Hello,

I am trying to get a "WinTV Nova-T" DVB card going with MythTV 0.14.

mplayer seems to work fine with this card.

I have been constantly trying with MythTV 0.14, and not getting any
luck.

MythTV backend starts off fine:

2004-03-20 18:48:59 DVB#0 Using DVB card 0, with frontend Philips TDA10045H.
2004-03-20 18:48:59 DVB#0 Trying to tune to channel 2.
2004-03-20 18:49:00 DVB#0 Frequency: 226500000. BW:7Mhz HP:3/4 LP:3/4 C:64 TM:8K H:None GI:1/16
2004-03-20 18:49:03 DVB#0 Waiting for frontend event after tune.
2004-03-20 18:49:03 DVB#0 WARNING - Status: NO LOCK!
2004-03-20 18:49:03 DVB#0 Status: CARRIER | VITERBI | SIGNAL | SYNC | LOCK.
2004-03-20 18:49:03 DVB#0 Successfully tuned to channel 2.

But most of the time doesn't get any further. On this weird attempt,
when trying to view DVB, I got:

2004-03-20 18:49:18 DVB#0 Recorder: Card opened successfully.
2004-03-20 18:49:18 DVB#0 Adding pid 650, type 0
2004-03-20 18:49:18 DVB#0 ERROR - Failed to set filter for pid 650.
          (22) Invalid argument
2004-03-20 18:49:18 DVB#0 Adding pid 512, type 1
2004-03-20 18:49:18 DVB#0 ERROR - Failed to set filter for pid 512.
          (22) Invalid argument
2004-03-20 18:49:18 DVB#0 ERROR - No PIDS set, please correct your channel setup.
2004-03-20 18:49:18 2       ok
2004-03-20 18:49:18 1       1
2004-03-20 18:49:19 6       256000
2004-03-20 18:49:19 6       256000
2004-03-20 18:49:19 6       256000
2004-03-20 18:49:19 6       128000
2004-03-20 18:49:20 6       256000
2004-03-20 18:49:20 6       256000
Segmentation fault

The segmentation fault is the only part common all failures. The PIDs
mentioned above are the correct values, as verified with
mplayer. Another common error I have seen is the "no data received
from card for 1 second".

Typically, when it fails like in the above, not even mplayer will work
until I reboot the computer again:

[...]
Playing dvb://ABC TV Melbourne.
TUNER TYPE SEEMS TO BE DVB-T
code taken from dvbstream for mplayer v0.4pre1 - (C) Dave Chapman 2001
Released under the GPL.
Latest version available from http://www.linuxstb.org/
dvb_tune Freq: 226500000
[hangs]

Initially I had all DVB parameters in MythTV to AUTO, just in case
this was a problem (I suspect it isn't), I set all of them to values
from the channels.conf I was using for mplayer. It doesn't seem to
have helped.

Currently I can get it working, but it doesn't last long.  For
instance changing channels kills it every time. However, once I
restart the frontend (no need to restart the backend unless it
crashed), the new channel works fine. eg.

--- cut ---
2004-03-20 19:49:18 Changing from None to WatchingLiveTV
2004-03-20 19:49:18 Using profile 'Live TV' to record
2004-03-20 19:49:18 DVB#0 Recorder: Card opened successfully.
2004-03-20 19:49:18 DVB#0 Adding pid 650, type 0
2004-03-20 19:49:18 DVB#0 Adding pid 512, type 1
2004-03-20 19:49:18 2       ok
2004-03-20 19:49:18 1       1
2004-03-20 19:49:18 6       256000
2004-03-20 19:49:19 6       256000
2004-03-20 19:49:19 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 19:49:19 6       256000
2004-03-20 19:49:19 6       256000
Videostream: ASPECT: 16:9  Size = 720x576  FRate: 25 fps  BRate: 15.00 Mbit/s
Audiostream: Layer: 1  Bit rate: free  Freq: 44.1 kHz
2004-03-20 19:49:20 6       128000
2004-03-20 19:49:20 7       0[]:[]0
2004-03-20 19:49:20 6       128000
2004-03-20 19:49:20 6       128000
2004-03-20 19:49:20 6       256000
2004-03-20 19:49:20 6       128000
2004-03-20 19:49:20 6       256000
2004-03-20 19:49:20 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 19:49:20 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 19:49:20 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 19:49:20 6       256000
2004-03-20 19:49:21 6       256000
2004-03-20 19:49:21 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 19:49:21 6       256000
2004-03-20 19:49:22 6       256000
2004-03-20 19:49:22 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 19:49:22 6       256000
2004-03-20 19:49:23 6       256000
2004-03-20 19:49:23 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 19:49:23 6       256000
2004-03-20 19:49:23 6       256000
QSocketDevice::writeBlock: Invalid socket
2004-03-20 19:49:24 Changing from WatchingLiveTV to None
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
2004-03-20 19:49:24 DVB#0 WARNING - No data from card in 1 second.
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
QSocketDevice::writeBlock: Invalid socket
[...]
QSocketDevice::writeBlock: Invalid socket
2004-03-20 19:49:27 WriteBlock(): Aborting WriteBlock, write to socket failed!
2004-03-20 19:49:27 2       -1
Segmentation fault
--- cut ---

or for the more common case now, which doesn't crash the backend:

--- cut ---
2004-03-20 20:10:10 DVB#0 Trying to tune to channel 10.
2004-03-20 20:10:10 DVB#0 Frequency: 219500000. BW:7Mhz HP:Auto LP:Auto C:Auto TM:Auto H:None GI:Auto
2004-03-20 20:10:11 DVB#0 Waiting for frontend event after tune.
2004-03-20 20:10:11 DVB#0 WARNING - Status: SIGNAL | NO LOCK!
2004-03-20 20:10:11 DVB#0 WARNING - Status: VITERBI | SYNC | NO LOCK!
2004-03-20 20:10:11 DVB#0 WARNING - Status: NO LOCK!
2004-03-20 20:10:11 DVB#0 WARNING - Status: VITERBI | SYNC | NO LOCK!
2004-03-20 20:10:11 DVB#0 Status: CARRIER | VITERBI | SIGNAL | SYNC | LOCK.
2004-03-20 20:10:11 DVB#0 Successfully tuned to channel 10.
2004-03-20 20:10:11 2       ok
2004-03-20 20:10:11 16      1[]:[]1021313024
2004-03-20 20:10:11 DVB#0 Adding pid 650, type 0
2004-03-20 20:10:11 DVB#0 Adding pid 512, type 1
2004-03-20 20:10:11 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:11 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:11 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:11 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:11 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:11 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:11 99      Monk[]:[] []:[] []:[] []:[]2004-03-20T19:30:00[...
2004-03-20 20:10:12 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:12 DVB#0 WARNING - Transport Stream Continuity Error. PID = 5122004-03-20 20:10:12 DVB#0 PID 512 contcounter 3 cc 1
2004-03-20 20:10:12 DVB#0 WARNING - Transport Stream Continuity Error. PID = 6502004-03-20 20:10:12 DVB#0 PID 650 contcounter 9 cc 15
2004-03-20 20:10:12 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:12 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:12 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:13 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:14 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:15 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:16 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:17 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:18 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:19 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:20 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:21 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:22 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:22 DVB#0 WARNING - Transport Stream Continuity Error. PID = 5122004-03-20 20:10:22 DVB#0 PID 512 contcounter 4 cc 8
2004-03-20 20:10:22 DVB#0 WARNING - Transport Stream Continuity Error. PID = 6502004-03-20 20:10:22 DVB#0 PID 650 contcounter 4 cc 3
2004-03-20 20:10:22 DVB#0 WARNING - Transport Stream Continuity Error. PID = 6502004-03-20 20:10:22 DVB#0 PID 650 contcounter 8 cc 14
2004-03-20 20:10:22 DVB#0 WARNING - Transport Stream Continuity Error. PID = 5122004-03-20 20:10:22 DVB#0 PID 512 contcounter 6 cc 5
Audiostream: Layer: 1  BRate: 320 kb/s  Freq: 48.0 kHz
2004-03-20 20:10:22 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:22 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:22 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:23 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:24 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:25 DVB#0 WARNING - No data from card in 1 second.
Couldn't read data from the capture card in 15 seconds.  Game over, man.
2004-03-20 20:10:26 1       0
2004-03-20 20:10:26 1       0
2004-03-20 20:10:26 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:26 1       0
2004-03-20 20:10:27 1       0
2004-03-20 20:10:27 1       0
2004-03-20 20:10:27 1       0
2004-03-20 20:10:27 1       0
2004-03-20 20:10:27 DVB#0 WARNING - No data from card in 1 second.
2004-03-20 20:10:27 1       0
2004-03-20 20:10:28 1       0
2004-03-20 20:10:28 1       0
2004-03-20 20:10:28 1       0
2004-03-20 20:10:28 Changing from WatchingLiveTV to None
2004-03-20 20:10:28 DVB#0 WARNING - Uncorrectable error in packet, dropped.
2004-03-20 20:10:28 DVB#0 WARNING - Transport Stream Continuity Error. PID = 5122004-03-20 20:10:28 DVB#0 PID 512 contcounter 10 cc 6
--- cut ---

Any ideas?

When it does work, it is perfect. When it doesn't work, it crashes and
burns.

Also, how do I get my DVB card to be used as the default?  MythTV
always wants to default to my Analog card. Pushing C has no effect. In
fact right now, I have given up and disabled the other card by
changing the hostname in the database table, so I can test the DVB
card.

Thanks in advance.
-- 
Brian May <bam at snoopy.apana.org.au>


More information about the mythtv-users mailing list