GNOME Bugzilla – Bug 754860
tsdemux: Some MPEG2-TS files are not playing but work in mplayer/ffmpeg : "No program activated before EOS"
Last modified: 2015-10-13 10:35:45 UTC
Here are two files recorded from ATSC by a media center app (TotalMedia) that don't play in GStreamer apps (nor VLC, for that matter) but do play in mplayer: http://jeff.ecchi.ca/public/TotalMedia-recording-sample-GLOBAL-2015-09-10-20h38.mpg http://jeff.ecchi.ca/public/TotalMedia-recording-sample-RADIO-CANADA-2015-09-10-20h37.mpg Mplayer says it's a "TS" file format, MPEG2 video with AC-3 audio. As far as I can see, pretty much the only thing that changes between the two samples is the resolution, framerate and bitrate.
0:00:00.049864535 29944 0x7fc92812b370 WARN mpegts gstmpegtssection.c:161:__common_section_checks: PID:0x0000 table_id:0x00, Bad CRC on section 0:00:00.072707801 29944 0x7fc92812b370 WARN mpegtsbase mpegtsbase.c:1343:mpegts_base_loop:<tsdemux0> error: Internal data stream error. 0:00:00.072722831 29944 0x7fc92812b370 WARN mpegtsbase mpegtsbase.c:1343:mpegts_base_loop:<tsdemux0> error: No program activated before EOS ERROR Internal data stream error. for TotalMedia-recording-sample-GLOBAL-2015-09-10-20h38.mpg ERROR debug information: mpegtsbase.c(1343): mpegts_base_loop (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTSDemux:tsdemux0: No program activated before EOS Reached end of play list.
See also: ye olde bug #622809
The CRC for the PAT is broken, tsplay reports the same btw: tsinfo 754860-TotalMedia-recording-sample-RADIO-CANADA-2015-09-10-20h37.mpg.ts Scanning 1000 TS packets !!! Calculated CRC for PAT is 3fed247c, not 00000000 (CRC in data was 57ab5fdc) These files play just fine if the CRC checking is disabled.
Closing. Invalid files.