After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754860 - tsdemux: Some MPEG2-TS files are not playing but work in mplayer/ffmpeg : "No program activated before EOS"
tsdemux: Some MPEG2-TS files are not playing but work in mplayer/ffmpeg : "No...
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.4.5
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-11 01:18 UTC by Jean-François Fortin Tam
Modified: 2015-10-13 10:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2015-09-11 01:18:47 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.
Comment 1 Sebastian Dröge (slomo) 2015-09-11 08:31:14 UTC
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.
Comment 2 Jean-François Fortin Tam 2015-09-12 18:01:16 UTC
See also: ye olde bug #622809
Comment 3 Tim-Philipp Müller 2015-09-12 20:23:23 UTC
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.
Comment 4 Edward Hervey 2015-10-13 10:35:45 UTC
Closing. Invalid files.