[mythtv] v31 hdtv-recorder observations

John Patrick Poet john at BlueSkyTours.com
Sat Nov 6 23:47:34 UTC 2004


Daniel,

I have played a bit with your hdtv-recorder-v31.

Changing channels seems to work now -- at least as well as the latest 
CVS works, that is.

I have no idea how long it has been this way, but changing channels from 
any of my "upcoverted" or true HDTV channels, to a SD digital channel 
causes the frontend to freeze.  The reverse is also true.  If I change 
from an HD channel to another HD channel, everything is fine.  If I 
change from a SD channel to a SD channel, everything is fine.  Changing 
from HD to SD, or SD to HD causes the front end to freeze.  This is not 
unique to your hdtv-recorder patch -- the latest CVS exhibits this 
behaviour.  I know this used to work, because I tested this back when I 
was working on the DisplayRes switching code.

the "-v playback" log from mythfrontend show this, when it happens:

2004-11-06 16:25:51 positionMap[ 120 ] == 9407332.
'video_output' mean = '41239.49', std. dev. = '15325.42', fps = '24.25'
avsync_delay: -54, avsync_avg: -57, warpfactor: 0.9, warpfactor_avg: 
0.00504102
2004-11-06 16:25:52 prebuffering pause
2004-11-06 16:25:52 waiting for prebuffer...
2004-11-06 16:25:53 prebuffer wait timed out..
2004-11-06 16:25:53 waiting for prebuffer...
2004-11-06 16:25:53 positionMap[ 135 ] == 10560336.
2004-11-06 16:25:54 waiting for prebuffer...
2004-11-06 16:25:55 prebuffer wait timed out..
2004-11-06 16:25:55 waiting for prebuffer...
2004-11-06 16:25:55 prebuffer wait timed out..
2004-11-06 16:25:55 waiting for prebuffer...
2004-11-06 16:25:55 prebuffer wait timed out..
2004-11-06 16:25:55 waiting for prebuffer...
2004-11-06 16:25:55 prebuffer wait timed out..
2004-11-06 16:25:55 waiting for prebuffer...
2004-11-06 16:25:55 prebuffer wait timed out..
2004-11-06 16:25:55 waiting for prebuffer...
2004-11-06 16:25:55 prebuffer wait timed out..
2004-11-06 16:25:55 waiting for prebuffer...
2004-11-06 16:25:55 prebuffer wait timed out..
2004-11-06 16:25:55 waiting for prebuffer...
2004-11-06 16:25:56 prebuffer wait timed out..
2004-11-06 16:25:56 waiting for prebuffer...
2004-11-06 16:25:56 prebuffer wait timed out..
2004-11-06 16:25:56 waiting for prebuffer...
2004-11-06 16:25:56 prebuffer wait timed out..
2004-11-06 16:25:56 waiting for prebuffer...
2004-11-06 16:25:56 prebuffer wait timed out..
2004-11-06 16:25:56 waiting for prebuffer...
2004-11-06 16:25:56 AvFormatDecoder: Video has changed from 1920x1088 to 
704x480.
2004-11-06 16:25:56 detectInterlace(Detect Scan, Interlaced Scan, 29.97, 
480) ->Interlaced Scan
2004-11-06 16:25:56 Interlaced: Interlaced Scan  video_height: 480  fps: 
29.97
2004-11-06 16:25:56 Using deinterlace method bobdeint
2004-11-06 16:25:56 prebuffer wait timed out..
2004-11-06 16:25:56 switchToVid: Video size 704 x 480: Switched to 
resolution 704 x 480 762mm x 571mm
2004-11-06 16:25:56 Image size. dispxoff 0, dispyoff: 0, dispwoff: 704, 
disphoff: 480
2004-11-06 16:25:56 Image size. imgx 0, imgy: 0, imgw: 704, imgh: 480
Unknown conversion
2004-11-06 16:25:57 positionMap[ 0 ] == 940.
2004-11-06 16:25:57 positionMap[ 15 ] == 389724.
2004-11-06 16:25:57 positionMap[ 30 ] == 776440.
2004-11-06 16:26:00 Timed out waiting for free video buffers.
2004-11-06 16:26:02 Timed out waiting for free video buffers.
2004-11-06 16:26:04 Timed out waiting for free video buffers.
2004-11-06 16:26:06 Timed out waiting for free video buffers.
2004-11-06 16:26:08 Timed out waiting for free video buffers.
2004-11-06 16:26:10 Timed out waiting for free video buffers.
2004-11-06 16:26:12 Timed out waiting for free video buffers.
2004-11-06 16:26:14 Timed out waiting for free video buffers.
2004-11-06 16:26:16 Timed out waiting for free video buffers.
2004-11-06 16:26:18 Timed out waiting for free video buffers.
2004-11-06 16:26:20 Timed out waiting for free video buffers.

I can record either a HD or a SD channel, and watch the show just fine.  
That is why I had not noticed this problem with LiveTV until I did it, 
to test your patch.

I have discovered one problem that does seem to be related to your v31 
patch...  Trying to watch a show *as* it is being recorded, seems to 
really confuse things.  If you bring up the show INFO, the show length 
will be what ever it was when you started watching.  In other words, if 
the show had been recording for 5 minutes at the time you started 
watching, INFO will indicate the shows length to be 5 minutes, and the 
value will not change -- even though the length of the show is 
increasing.  Fast-forward and rewind work, as long as you don't try to 
go beyond that "5 minute" mark -- as soon as you hit that "5 minute" 
mark, myth falls back into standard play speed.  You can actually watch 
the whole show, but INFO will just indicate that you are "5 minutes" 
into a "5 minute" show.

I tried watching a PBS show while it was recording, and when the show 
was done recording, it was so messed up that it would not let me watch 
it anymore.  I have attached a mythfrontend log of what happened when I 
tried to watch it.

I tried running "mythcommflag --rebuild" on the file, but even that 
would not allow me to watch it.

When I tried this experiment on my CBS station, it behaved the same, but 
when the show was done recording I was able to watch just fine.

I will play with it a bit more, and let you know if I discover anything 
else.

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: log01.bz2
Type: application/x-bzip
Size: 11215 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041106/5d898b05/log01.bin


More information about the mythtv-dev mailing list