[mythtv-users] Changing chanel + DVB = :-(

Martin Saldert martin at krelab.se
Fri Jun 18 05:10:30 EDT 2004



Stephen Longhurst wrote:

>>Fresh install with latest DVB-kernel drivers ( CVS for kernel2.6 )
>>Still the same problem when i change channels.
>>
>>root at mythtv:~ # mythbackend &
>>[1] 1458
>>root at mythtv:~ # Starting up as the master server.
>>2004-06-17 22:55:51 DVB#0 Using DVB card 0, with frontend Philips TDA10045H.
>>2004-06-17 22:55:57 DVB#0 WARNING - Status: NO LOCK!
>>2004-06-17 22:55:57 DVB#0 Successfully tuned to channel 3.
>> is defined, but isn't attached to a cardinput.
>>    
>>
>
>I've not seen this specific error before, but channel 3 tends to be
>the one that is set in the 'tune to this channel at startup' setting
>for the capture card.
>  
>
Yes. It should tune to chan 3 when it starts.

>  
>
>><snip>
>>2004-06-17 22:57:58 Changing from None to WatchingLiveTV
>>2004-06-17 22:57:58 DVB#0 Recorder: Card opened successfully.
>>Audiostream: Layer: 2  BRate: 192 kb/s  Freq: 48.0 kHz
>>Videostream: ASPECT: 4:3  Size = 720x576  FRate: 25 fps  BRate: 8.00 Mbit/s
>>2004-06-17 22:58:07 DVB#0 WARNING - Status: SIGNAL | NO LOCK!
>>2004-06-17 22:58:07 DVB#0 WARNING - Status: VITERBI | SYNC | NO LOCK!
>>2004-06-17 22:58:07 DVB#0 Successfully tuned to channel 4.
>>2004-06-17 22:58:07 DVB#0 WARNING - Uncorrectable error in packet, dropped.
>>2004-06-17 22:58:07 DVB#0 WARNING - Uncorrectable error in packet, dropped.
>>Audiostream: Layer: 2  BRate: 256 kb/s  Freq: 48.0 kHz
>>2004-06-17 22:58:07 DVB#0 WARNING - Uncorrectable error in packet, dropped.
>>2004-06-17 22:58:18 DVB#0 WARNING - No data from card in 1 second.
>>2004-06-17 22:58:19 DVB#0 WARNING - Transport Stream Continuity Error.
>>PID = 1049
>>2004-06-17 22:58:19 DVB#0 WARNING - Transport Stream Continuity Error.
>>PID = 1048
>>2004-06-17 22:58:19 DVB#0 WARNING - Uncorrectable error in packet, dropped.
>>2004-06-17 22:58:19 DVB#0 WARNING - Uncorrectable error in packet, dropped.
>>2004-06-17 22:58:19 DVB#0 WARNING - Uncorrectable error in packet, dropped.
>>2004-06-17 22:58:20 DVB#0 WARNING - No data from card in 1 second.
>>2004-06-17 22:58:21 DVB#0 WARNING - No data from card in 1 second.
>>2004-06-17 22:58:22 Couldn't read data from the capture card in 15 
>>seconds.  Game over, man.
>>
>>The " is defined, but isn't attached to a cardinput." could be a problem
>>but i have no idea how to get rid of it.
>>    
>>
>
>I looks to me like you're not getting a very good signal on the
>channel you tried to tune to.  How did you get the DVB settings for
>the channel?  Using 'scan' that comes with the DVB drivers?  If you've
>still got the channels.conf file (or whatever you generated), can you
>get a picture using dvbstream and mplayer, after tzap'ing to card to
>the channel?
>  
>
If you look at the tuning for chan 3 in the top of th eoutput you can 
see that it tuned to it wery fast.
But when trying to tune to chan 4 it goes wrong.
The anoying thing here is that if i put chan 4 as startup channel the 
output will look the same but fast tune to chan 4 and errors on tuning 
to chan 3.

So i dont thing its something wrong with my signal that is bad.
Something is wrong in mythtv or the DVB drivers.

>I'm assuming you're using DVB-T here, correct me if I'm wrong.  I find
>that DVB-T can vary signal strength all over the place.  Many channels
>only broadcast at certain times during the day, and you'll get no data
>from the card at other times.  Also, during the summer, I tend to lose
>about half the channels I otherwise get, although I've no idea why!
>  
>
Yes its DVB-T

And i found a "workaround" yestrday. ( Bad workaround but it helps )
If i have chan 3 tuned at startup and changes to chan 4 the TV will freeze.
And the errors will start.
If i press "stop" on my remote several times it will drop back to the 
MythTv GUI.
Then i select "Watch TV" and chan 4 is working exelent.
If i want back to chan 3 again i have to do the same thing.



>I don't know if it'll be of any use, but I used this small script to
>verify the channels in my channels.conf file:
>
>#!/bin/bash
>
># Full path of tzap executable
>tzap=/usr/src/linuxtv-dvb-apps-1.1.0/util/szap/tzap
>
># Full path of dvbstream
>dvbstream=/usr/src/linuxtv-cvs/dvbstream/dvbstream
>
># Full path to channels.conf file
>ch_file='/root/channels.conf'
>
>if [ -z "$1" ]
>then
>  echo "Usage: $0 [-l | channel]"
>  echo "       -l list channels"
>  echo "       channel must match a known channel name"
>  exit 1
>fi
>
>if [ "$1" == "-l" ]
>then
>  cut -f1 -d':' $ch_file
>  exit 0
>fi
>
>channel=$1
>
>qam=`grep "$channel" $ch_file | cut -f7 -d':' | cut -c5-`
>fec=`grep "$channel" $ch_file | cut -f5 -d':' | cut -c5-`
>video_pid=`grep "$channel" $ch_file | cut -f11 -d':'`
>audio_pid=`grep "$channel" $ch_file | cut -f12 -d':'`
>
>$tzap -c /root/channels.conf $channel > /dev/null &
>$dvbstream  -o -ps -qam $qam -cr $fec $video_pid $audio_pid | mplayer -
>kill `ps -ef | grep tzap | grep -v grep | awk '{print $2}'`
>
>Cheers,
>
>       Steve
>  
>

/DonLKSAB


>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
>




More information about the mythtv-users mailing list