[mythtv] Unplayable CBS recordings

David Engel david at istwok.net
Sat May 2 04:39:54 UTC 2009


On Fri, May 01, 2009 at 07:49:04PM -0500, David Engel wrote:
> Here is the relevant snippet from the ktvt.mpg recording that doesn't
> play:
> 
> 2009-05-01 17:36:07.982 mpegts_add_stream: at pid 0x7c2 with type 6
> 2009-05-01 17:36:07.982 mpegts_add_stream: stream #0, has id 0x7c2 and codec MPEG1VIDEO, type Video at 0x948fb80
> 2009-05-01 17:36:07.982 mpegts_add_stream: at pid 0x7c0 with type 2
> 2009-05-01 17:36:07.983 mpegts_add_stream: stream #1, has id 0x7c0 and codec MPEG2VIDEO, type Video at 0x9490a90
> 2009-05-01 17:36:07.983 mpegts_add_stream: at pid 0x7c1 with type 129
> 2009-05-01 17:36:07.983 mpegts_add_stream: stream #2, has id 0x7c1 and codec AC3, type Audio at 0x948f400
> ...
> 2009-05-01 17:36:10.514 AFD: Stream #0, has id 0x1986 codec id MPEG1VIDEO, type Video, bitrate 0 at 0x0x948fb80
> ...
> 2009-05-01 17:36:10.517 AFD: Stream #1, has id 0x1984 codec id MPEG2VIDEO, type Video, bitrate 17750000 at 0x0x9490a90
> ...
> 2009-05-01 17:36:10.521 AFD: Stream #2, has id 0x1985 codec id AC3, type Audio, bitrate 384000 at 0x0x948f400
> 
> MythTV seems to be misdetecting the stream on 0x1986 as MPEG1VIDEO and
> trying to use it instead of the MPEG2VIDEO stream on 0x1984.

The misdetection of the 0x1986 stream as MPEG1VIDEO is the problem.
Because it is listed before the real video stream (0x1984) in the PMT,
MythTV is choosing it and then never finding any actual video frames.
For now, I've put a hack into my own code to ignore streams detected
as MPEG1VIDEO but with a 0 bitrate.  This is working for me, but it's
not acceptable for commiting to SVN.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list