[mythtv-users] Channel does not change

Jogchum Reitsma j.reitsma at hccnet.nl
Thu May 25 18:44:10 UTC 2006


Tom Lichti schreef:

>Jogchum Reitsma wrote:
>  
>
>>Tom Lichti schreef:
>>    
>>
>>>Jogchum Reitsma wrote:
>>>  
>>>      
>>>
>>>>Hi,
>>>>
>>>><...>
>>>>  
>>>>    
>>>>        
>>>>
>>>Have you setup a channel lineup and added program listings?
>>>
>>>Tom
>>>
>>>_______________________________________________
>>>mythtv-users mailing list
>>>mythtv-users at mythtv.org
>>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>
>>>
>>>  
>>>      
>>>
>>Hi Tom,
>>
>><...>
>>    
>>
>Nope, that's what I meant. And your English is very good, by the way. Do 
>you get correct video on the channel that does show? It seems kind of 
>strange that it won't change the channel. What does the frontend log say 
>when run with -v important,general,playback when you try to change a 
>channel?
>
>Tom
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>  
>
Hi,

Video - and audio, for that matter - is OK on all channels I have tried 
so far (switching channel with ivtv's ptune-ui.pl).

The logging from the frontend doesn't seem very informative to me, but 
the logging from the backend, added at the bottom, might be:

------------------------- frontend log 
--------------------------------------------------------------
mythfrontend --geometry 936x748 -w -v important,general,playback
2006-05-25 19:50:17.766 Using runtime prefix 2006-05-25 19:50:18.188 New DB connection, total: 1
2006-05-25 19:50:18.197 Connected to database 'mythconverg' at host: 
souder.vestdijkgaarde
2006-05-25 19:50:18.198 Total desktop dim: 1280x1024, with 1 screen[s].
2006-05-25 19:50:18.201 Using screen 0, 1280x1024 at 0,0
ASSERT: "i <2006-05-25 19:50:18.203 Overriding GUI, width“6, heightt8 at 0,0
2006-05-25 19:50:18.203 Setting 'RunFrontendInWindow' being forced to '1'
2006-05-25 19:50:18.203 user: 1000 effective user: 1000 before 
privileged thread
2006-05-25 19:50:18.204 user: 1000 effective user: 1000 after privileged 
thread
2006-05-25 19:50:18.204 user: 1000 effective user: 1000 run_priv_thread
2006-05-25 19:50:18.205 Current Schema Version: 1140
2006-05-25 19:50:18.205 mythfrontend version: 0.19.20060522-1 www.mythtv.org
2006-05-25 19:50:18.205 Enabled verbose msgs: important general playback
2006-05-25 19:50:18.534 max_width: 1280 max_height: 1024
2006-05-25 19:50:18.536 lang0: dut
2006-05-25 19:50:18.536 lang: dut
2006-05-25 19:50:18.539 lang1: dut
2006-05-25 19:50:18.539 lang: dut
2006-05-25 19:50:18.581 Switching to square mode (blue)
2006-05-25 19:50:18.613 Using the Qt painter
mythtv: could not connect to socket
mythtv: Verbinding geweigerd
lirc_init failed for mythtv, see preceding messages
2006-05-25 19:50:18.909 Joystick disabled.
2006-05-25 19:50:19.113 Loading from: 
/usr/local/share/mythtv/themes/default/base.xml
2006-05-25 19:50:19.552 Registering Internal as a media playback plugin.
2006-05-25 19:50:27.451 New DB connection, total: 2
2006-05-25 19:50:27.451 Connected to database 'mythconverg' at host: 
souder.vestdijkgaarde
2006-05-25 19:50:27.470 Connecting to backend server: 192.168.1.10:6543 
(try 1 of 5)
2006-05-25 19:50:27.480 Using protocol version 30
2006-05-25 19:50:27.502 TV: Attempting to change from None to WatchingLiveTV
2006-05-25 19:50:27.520 Using protocol version 30
2006-05-25 19:50:27.702 LiveTVChain(live-souder-2006-05-25T19:50:27): 
ReloadAll(): Added new recording
2006-05-25 19:50:27.704 RingBuf(/mnt/store//3_20060525195027.mpg): 
OpenFile(/mnt/store//3_20060525195027.mpg, 12)
2006-05-25 19:50:29.017 RingBuf(/mnt/store//3_20060525195027.mpg): 
CalcReadAheadThresh(4000 KB)
                         -> threshhold(146 KB) min read(32 KB) blk 
size(64 KB)
2006-05-25 19:50:29.020 Disable DPMS
2006-05-25 19:50:29.036 TV: StartRecorder(): took 19 ms to start recorder.
[mpeg @ 0x2aaaabb10860]Parser not found for Codec Id: 94210 !
2006-05-25 19:50:29.213 AFD: Stream #0, has id 0x480 codec id 
MPEG2VIDEO, type Video, bitrate 6000000 at 0x0x81f430
2006-05-25 19:50:29.214 detectInterlace(Detect Scan, Interlaced Scan, 
25, 480) ->Interlaced Scan
2006-05-25 19:50:29.214 AFD: Looking for decoder for MPEG2VIDEO
2006-05-25 19:50:29.214 AFD: Opened codec 0x8a11e0, id(MPEG2VIDEO) 
type(Video)
2006-05-25 19:50:29.214 AFD: Stream #1, has id 0x105 codec id MPEG2VBI, 
type Data, bitrate 0 at 0x0x809500
2006-05-25 19:50:29.214 AFD: data codec (Data)
2006-05-25 19:50:29.214 AFD: Stream #2, has id 0x448 codec id MP2, type 
Audio, bitrate 384000 at 0x0x80c570
2006-05-25 19:50:29.214 AFD: Looking for decoder for MP2
2006-05-25 19:50:29.235 AFD: Opened codec 0x819f40, id(MP2) type(Audio)
2006-05-25 19:50:29.337 RingBuf(/mnt/store//3_20060525195027.mpg): 
CalcReadAheadThresh(6384 KB)
                         -> threshhold(233 KB) min read(32 KB) blk 
size(128 KB)
2006-05-25 19:50:29.338 Opening audio device '/dev/dsp'.
2006-05-25 19:50:29.338 Opening OSS audio device '/dev/dsp'.
2006-05-25 19:50:29.341 Dec: Trying to select track (w/lang)
2006-05-25 19:50:29.341 Dec: Selecting first track
2006-05-25 19:50:29.341 Dec: Selected track #1 in the Unknown language(0)
2006-05-25 19:50:29.341 Resyncing position map. posmapStarted livetv(1) watchingRec(0)
2006-05-25 19:50:29.341 Position map filled from DB to: 1
2006-05-25 19:50:29.341 SyncPositionMap watchingrecording, from DB: 1 
entries
2006-05-25 19:50:29.353 PosMapFromEnc: Warning, tried to fetch 
PositionMap from Encoder but encoder returned framesWritten = 0
2006-05-25 19:50:29.353 SyncPositionMap watchingrecording no entries 
from encoder, try DB
2006-05-25 19:50:29.354 Position map filled from DB to: 1
2006-05-25 19:50:29.354 SyncPositionMap watchingrecording total: 1 entries
2006-05-25 19:50:29.354 SyncPositionMap, new totframes: 12, new length: 
0, posMap size: 1
2006-05-25 19:50:29.354 AFD: Partial position map found
2006-05-25 19:50:29.354 AFD: Successfully opened decoder for file: 
"/mnt/store//3_20060525195027.mpg". novideo(0)
2006-05-25 19:50:29.362 VideoOutputXv: ctor
2006-05-25 19:50:29.366 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2006-05-25 19:50:29.366 Display Rect  left: 0, top: 0, width: 936, 
height: 748, aspect: 1.33333
2006-05-25 19:50:29.366 Video Rect    left: 0, top: 0, width: 480, 
height: 480, aspect: 1.33333
2006-05-25 19:50:29.366 VideoOutputXv: Pixel dimensions: Screen 936x748, 
window 936x744
2006-05-25 19:50:29.366 VideoOutputXv: Estimated display dimensions: 
361x271 mm  Aspect: 1.3321
2006-05-25 19:50:29.366 VideoOutputXv: Estimated window dimensions: 
361x269 mm  Aspect: 1.34201
2006-05-25 19:50:29.367 VideoOutputXv: XvMCTex: Init failed
2006-05-25 19:50:29.367 VideoOutputXv: @ j=3 Looking for flag[s]: 
XvInputMask XvImageMask
2006-05-25 19:50:29.367 VideoOutputXv: No suitable XVideo port found
2006-05-25 19:50:29.367 VideoOutputXv Error: Could not find suitable 
XVideo surface.
2006-05-25 19:50:29.367 VideoOutputXv: Falling back to X shared memory 
video output.
                              *** May be slow ***
2006-05-25 19:50:29.367 VideoOutputXv: CreateShmImages(1): video_dim: 
480x480
2006-05-25 19:50:29.368 Created data @0x2aaab1e83010->0x2aaab1ed7612

<quite a few similar messages>

2006-05-25 19:50:29.397 Created data @0x2aaab3daa010->0x2aaab3dfe612
2006-05-25 19:50:29.397 Display Rect  left: 0, top: 0, width: 936, 
height: 748, aspect: 1.33333
2006-05-25 19:50:29.397 Video Rect    left: 0, top: 0, width: 480, 
height: 480, aspect: 1.33333
2006-05-25 19:50:29.844 NVP: ClearAfterSeek(1)
2006-05-25 19:50:29.844 VideoOutputXv: ClearAfterSeek()
2006-05-25 19:50:29.844 VideoOutputXv: DiscardFrames(0)
2006-05-25 19:50:29.844 VideoBuffers::DiscardFrames(0): 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2006-05-25 19:50:29.844 VideoBuffers::DiscardFrames(0): 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
2006-05-25 19:50:29.844 VideoOutputXv: DiscardFrames() 3: 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2006-05-25 19:50:29.845 Realtime priority would require SUID as root.
2006-05-25 19:50:29.849 TV: StartPlayer(): took 708 ms to start player.
2006-05-25 19:50:29.849 TV: Changing from None to WatchingLiveTV
2006-05-25 19:50:29.850 nVidiaVideoSync: Could not open device 
/dev/nvidia0, Onbekend bestand of map
2006-05-25 19:50:29.850 DRMVideoSync: Could not open device 
/dev/dri/card0, Onbekend bestand of map
2006-05-25 19:50:29.850 RTCVideoSync: Could not open /dev/rtc, Toegang 
geweigerd.
2006-05-25 19:50:29.851 Using audio as timebase
2006-05-25 19:50:29.851 Video timing method: USleep with busy wait
2006-05-25 19:50:29.851 Refresh rate: 13046, frame interval: 40000
2006-05-25 19:50:29.851 NVP: Waiting for prebuffer.. 0 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2006-05-25 19:50:30.016 NVP: Waiting for prebuffer.. 1 
uLAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2006-05-25 19:50:30.180 NVP: Waiting for prebuffer.. 2 
uLAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2006-05-25 19:50:30.344 NVP: Waiting for prebuffer.. 3 
UuUULLAAAAAAAAAAAAAAAAAAAAAAAAA
2006-05-25 19:50:30.508 NVP: Waiting for prebuffer.. 4 
UuUULUuAAAAAAAAAAAAAAAAAAAAAAAA
2006-05-25 19:50:30.672 NVP: Waiting for prebuffer.. 5 
UuUULUuAAAAAAAAAAAAAAAAAAAAAAAA
2006-05-25 19:50:30.734 AFD: HandleGopStart: gopset not set, syncing 
positionMap
2006-05-25 19:50:30.735 Resyncing position map. posmapStarted livetv(1) watchingRec(1)
2006-05-25 19:50:30.736 Position map filled from DB to: 1
2006-05-25 19:50:30.736 SyncPositionMap watchingrecording, from DB: 1 
entries
2006-05-25 19:50:30.750 Filling position map from 2 to 3
2006-05-25 19:50:30.761 Position map filled from Encoder to: 3
2006-05-25 19:50:30.761 SyncPositionMap watchingrecording total: 3 entries
2006-05-25 19:50:30.761 SyncPositionMap, new totframes: 36, new length: 
1, posMap size: 3
2006-05-25 19:50:30.761 AFD: HandleGopStart: Initial key frame distance: 12.
2006-05-25 19:50:31.954 AFD: positionMap[ 3 ] = 1643314.

<a few similar messages>

2006-05-25 19:50:34.727 AFD: positionMap[ 9 ] = 3717350.
'video_output' mean 2006-05-25 19:50:35.510 AFD: positionMap[ 10 ] = 4054918.

<lots of similar massages>

QDateTime::fromString: Parameter out of range
QDateTime::fromString: Parameter out of range
2006-05-25 19:50:54.668 AFD: positionMap[ 50 ] = 16974230.
'video_output' mean 2006-05-25 19:51:14.632 AFD: positionMap[ 92 ] = 30826614.
'video_output' mean 
<lots of similar massages>

2006-05-25 19:51:15.408 TV: Attempting to change from WatchingLiveTV to None
2006-05-25 19:51:15.408 TV: StopStuff() -- begin
2006-05-25 19:51:15.408 TV: StopStuff(): stopping ring buffer[s]
2006-05-25 19:51:15.408 AFD: positionMap[ 93 ] = 31151894.
2006-05-25 19:51:15.412 Ignoring livetv eof in decoder loop
2006-05-25 19:51:15.419 TV: StopStuff(): stopping player[s] (1/2)
2006-05-25 19:51:15.419 TV: StopStuff(): stopping recorder[s]
2006-05-25 19:51:15.470 NVP: Exited decoder loop.
2006-05-25 19:51:15.484 TV: StopStuff(): stopping player[s] (2/2)
2006-05-25 19:51:15.495 VideoOutputXv: dtor
2006-05-25 19:51:15.495 VideoOutputXv: DiscardFrames(1)
2006-05-25 19:51:15.495 VideoBuffers::DiscardFrames(1): 
UuAALAAAAAAUUAUUAuAAAAAAAAAAUAA
2006-05-25 19:51:15.495 VideoBuffers::DiscardFrames(): 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2006-05-25 19:51:15.496 VideoBuffers::DiscardFrames(1): 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
2006-05-25 19:51:15.496 VideoOutputXv: DiscardFrames() 3: 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2006-05-25 19:51:15.864 TV: StopStuff() -- end
2006-05-25 19:51:15.864 TV: Changing from WatchingLiveTV to None
2006-05-25 19:51:15.872 Enable DPMS

----------------------- end of frontend log 
-----------------------------------------------

------------------backend log trying to change to channel 11 
----------------------------

2006-05-25 20:07:42.628 Channel(/dev/video0)::SetChannelByString(11)
2006-05-25 20:07:42.629 ChannelBase(/dev/video0)::SetCachedATSCInfo(): RESET
2006-05-25 20:07:42.629 Channel(/dev/video0): SetFormat(Default) 
fmt(PAL) input(1)
2006-05-25 20:07:42.631 Channel(/dev/video0): 
InitPictureAttribute(brightness):
                        [    0,  255] dflt(  128, 0.50, 128)
2006-05-25 20:07:42.632 Channel(/dev/video0): InitPictureAttribute(  
contrast):
                        [    0,  127] dflt(   64, 0.50, 257)
2006-05-25 20:07:42.635 Channel(/dev/video0): InitPictureAttribute(    
colour):
                        [    0,  127] dflt(   64, 0.50, 257)
2006-05-25 20:07:42.638 Channel(/dev/video0): 
InitPictureAttribute(       hue):
                        [ -128,  127] dflt(    0, 0.50, 128)
2006-05-25 20:07:42.638 Channel::GetCurrentChannelNum(): Failed to find 
Channel ''
2006-05-25 20:07:42.638 Channel(/dev/video0)::TuneTo(): curList[-1].freq(-1)
2006-05-25 20:07:42.638 Channel(/dev/video0)::TuneTo(): Error, failed to 
find channel.
2006-05-25 20:07:42.638 TVRec(1) Error: Failed to set channel to 11.

--------------------------------- end of backend log  
-----------------------------------

Channel 11 is in the database allright:

select chanid, channum, callsign, name from channel where channum +--------+---------+----------+---------------+
| chanid | channum | callsign | name          |
+--------+---------+----------+---------------+
|      5 | 11      | Ketnet   | KETNET/Canvas |
+--------+---------+----------+---------------+
1 row in set (0.00 sec)

Thanks for the help!

regards, Jogchum

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060525/16c8d81b/attachment.htm 


More information about the mythtv-users mailing list