[mythtv-users] Frontend freeze on LiveTV and encrypted channels

Dimitar Gospodinov dimmyth at hotmail.com
Wed Dec 5 11:15:54 UTC 2012


After looking a bit closer into this, I think what happens is - Ceton tunes to the "problematic" channel but does not output any video.
Here is part from the Ceton log after tuning to the HD channel 617 (which is in the channel map but I am not subscribed to it):

...
Jan  1 00:06:38 ocur[21]: ocur: [0] Attempting to SetChannel (Channel=617  SourceId=0  Mode=0)
Jan  1 00:06:38 ocur[21]: ocur: [0] Program number set to 0, was 0
Jan  1 00:06:38 ocur[21]: ocur: [0] Tune to 617 (mod=q256, freq=387000, program=729, std=9)
Jan  1 00:06:38 ocur[21]: ocur: [0] Program number set to 729, was 0
Jan  1 00:06:39 ocur[21]: ocur: [0] Locked: 1 Acc E: 0
Jan  1 00:06:39 ocur[21]: ocur: [0] Tune finished to freq 387000
Jan  1 00:06:39 ocur[21]: ocur: [0] Getting pmt for program 729
Jan  1 00:06:39 ocur[21]: ocur: [0] Got pmt for program# 729
Jan  1 00:06:39 ocur[21]: ocur: [0] Adding pid 0x1c7a
Jan  1 00:06:39 ocur[21]: ocur: [0] Adding pid 0x1c84
Jan  1 00:06:39 ocur[21]: upnp: Event(tuner[0]): PCRLock, "1"
Jan  1 00:06:39 ocur[21]: ocur: [0] Adding pid 0x0000
Jan  1 00:06:39 ocur[21]: ocur: [0] Adding pid 0x1c7b
Jan  1 00:06:39 ocur[21]: ocur: [0] Adding pid 0x1c82
Jan  1 00:06:39 ocur[21]: ocur: [0] Adding pid 0x1c83
Jan  1 00:06:39 ocur[21]: ocur: [0] Adding pid 0x1c7c
Jan  1 00:06:39 ocur[21]: ocur: [0] Adding pid 0x1c7e
Jan  1 00:06:39 ocur[21]: ocur: [0] Channel is scrambled, expecting CCI
Jan  1 00:06:39 ocur[21]: ocur: [0] Sending ca_pmt to CableCARD for program number 729 index 0
Jan  1 00:06:40 ocur[21]: ocur: [0] CCI 00 arrived for program# 729
Jan  1 00:07:27 ocur[21]: ocur: [0] Locked: 1 Acc E: 0
Jan  1 00:07:27 ocur[21]: ocur: [0] Tune finished to freq 0
Jan  1 00:07:27 ocur[21]: ocur: [0] Carrier lock is 0
Jan  1 00:07:27 ocur[21]: upnp: Event(tuner[0]): PCRLock, "0"
...

What happens next is (I belive) - Ceton does not output any MPEG2 stream.
If I try:

d at walnut ~ $ cat /dev/ceton/ctn91xx_mpeg0_0 | mplayer -cache 8192 -
MPlayer 1.1-4.5.4 (C) 2000-2012 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing -.
Reading from stdin...
Cache fill: 15.62% (1310720 bytes)   

libavformat version 53.32.100 (external)
TS file format detected.
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]


mplayer does not show anything - it does not even open a video window.
As you can see from the last line, it seems nothing comes out from the Ceton device.

Is there a way in MythTV to deal with this? For example set a timeout for video and if no video is received and display a message (or dummy video)?

Thank you,

D.


From: dimmyth at hotmail.com
To: mythtv-users at mythtv.org
Date: Tue, 4 Dec 2012 11:53:22 +0000
Subject: [mythtv-users] Frontend freeze on LiveTV and encrypted channels





Hi,

I am a first time user of MythTV and I am trying to setup MythTV 0.26 with Ceton InfiniTV 4 card.
So far everything seems to work Ok, except for channels I am not subscribed to.

At the moment I am running both the backend and the frontend from a terminal consoles so I can see the outputs.

When I watch live TV and if I switch to one of those channels, the frontend displays the channel name and a black background. Then it becomes unresponsive - trying to change channel or exit from live TV - nothing works.
Only killing the frontend helps.

When the above happens, in the terminal where I started the frontend from, I can see it keeps printing the following:
...
2012-12-04 06:43:52.775102 I  RingBuf(/mnt/var/mythtv/storage/default/1617_20121204114349.mpg): Waited 0.2 seconds for data 
            to become available... 0 < 32768
2012-12-04 06:43:56.616141 I  RingBuf(/mnt/var/mythtv/storage/default/1617_20121204114349.mpg): Waited 0.2 seconds for data 
            to become available... 12696 < 32768
2012-12-04 06:44:04.549194 I  RingBuf(/mnt/var/mythtv/storage/default/1617_20121204114349.mpg): Waited 0.2 seconds for data 
            to become available... 11320 < 32768
2012-12-04 06:44:05.838120 I  RingBuf(/mnt/var/mythtv/storage/default/1617_20121204114349.mpg): Waited 0.2 seconds for data 
            to become available... 0 < 32768
2012-12-04 06:44:07.975161 I  RingBuf(/mnt/var/mythtv/storage/default/1617_20121204114349.mpg): Waited 0.2 seconds for data 
            to become available... 0 < 32768
2012-12-04 06:44:16.546169 I  RingBuf(/mnt/var/mythtv/storage/default/1617_20121204114349.mpg): Waited 0.2 seconds for data 
            to become available... 0 < 32768
2012-12-04 06:44:28.558207 I  RingBuf(/mnt/var/mythtv/storage/default/1617_20121204114349.mpg): Waited 0.2 seconds for data 
            to become available... 11344 < 32768

In the backend terminal console nothing unusual is printed.

When I look at the channel map 
(http://192.168.200.1/view_channel_map.cgi?page=0), the Ceton card lists all channels available with my provider, including the 
ones I am not subscribed for.

How can I fix/troubleshoot this?

One way would be to go through the channels and manually mark the ones I am not subscribed to ... however this does not seem as a good long term solution as it will require manually keeping in sync with whatever channel changes the provider makes.

Any help is very much appreciated.

Thanks,

D

 		 	   		  

_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121205/501ec38c/attachment.html>


More information about the mythtv-users mailing list