[mythtv] dvb with id 0x17c0 not playing correctly

Mark Spieth mark at digivation.com.au
Mon Dec 8 13:02:07 UTC 2008


Ive been recently having a problem playing dvb (ABC and SBS aus) with a #4 stream id 0x17c0

the problem appears to be that CODEC_ID_PROBE doesnt do its job correctly.

as a temp fix Ive found this works (minor revert)
mythcommflag log with libav also follows

janne, I know this is a bad fix, but the consequence here are failure to play, replex, previewgen, and mythcommflag any program on these types of channels.
see also #1799. It uses all of ram (all of 4G + virtual) and eventually crashes after killing the system for a little while.

cheers
mark

--- libs/libavformat/mpegts.c   (revision 19287)
+++ libs/libavformat/mpegts.c   (working copy)
@@ -1469,7 +1469,8 @@
                 codec_id = CODEC_ID_AC3;
             } else {
                 codec_type = CODEC_TYPE_VIDEO;
-                codec_id = CODEC_ID_PROBE;
+                //codec_id = CODEC_ID_PROBE;
+                codec_id = CODEC_ID_MPEG1VIDEO;
             }
             break;
     }

2008-12-08 23:19:08.997 mpegts_add_stream: at pid 0x200 with type 2
2008-12-08 23:19:08.998 mpegts_add_stream: stream #0, has id 0x200 and codec MPEG2VIDEO, type Video at 0x847bf50
2008-12-08 23:19:08.998 mpegts_add_stream: at pid 0x28a with type 4
2008-12-08 23:19:08.998 mpegts_add_stream: stream #1, has id 0x28a and codec MP3, type Audio at 0x847c2c0
2008-12-08 23:19:08.998 mpegts_add_stream: at pid 0x294 with type 129
2008-12-08 23:19:08.998 mpegts_add_stream: stream #2, has id 0x294 and codec AC3, type Audio at 0x8492b90
2008-12-08 23:19:08.998 mpegts_add_stream: at pid 0x240 with type 257
2008-12-08 23:19:08.998 mpegts_add_stream: stream #3, has id 0x240 and codec DVB_VBI, type Data at 0x8493230
2008-12-08 23:19:08.999 mpegts_add_stream: at pid 0x17c0 with type 6
2008-12-08 23:19:08.999 mpegts_add_stream: stream #4, has id 0x17c0 and codec Unknown Codec ID, type Video at 0x84938d0
2008-12-08 23:19:28.395 [mpeg2video @ 0xb6ffa1b0]ac-tex damaged at 34 15
2008-12-08 23:19:28.395 [mpeg2video @ 0xb6ffa1b0]Warning MVs not available
2008-12-08 23:19:28.395 [mpeg2video @ 0xb6ffa1b0]concealing 945 DC, 945 AC, 945 MV errors
2008-12-08 23:19:28.399 [mpegts @ 0xb740a020]Could not find codec parameters (Audio: mp3, s16)
2008-12-08 23:19:28.399 [mpegts @ 0xb740a020]Could not find codec parameters (Audio: ac3, s16)
2008-12-08 23:19:28.402 [mpegts @ 0xb740a020]Could not find codec parameters (Video: 0x0000)
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted



Mark Spieth, PhD
Digivation Pty Ltd
9 Catalina Ave
ASHBURTON VIC 3147
Australia
Phone: +61 4 11 515 717 (0411515717)
Fax: +61 3 9885 5774
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20081209/58819664/attachment.htm 


More information about the mythtv-dev mailing list