Opened 12 years ago

Closed 11 years ago

#987 closed enhancement (fixed)

MPEG-TS not detected

Reported by: Cigaes Owned by:
Priority: minor Component: avformat
Version: git-master Keywords: mpegts probe mov
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by Carl Eugen Hoyos)

The attached file, reported on mplayer-user, is MPEG-TS, but probing fails:

./ffmpeg_g -i /tmp/mpegts_unprobed.ts 
ffmpeg version N-37576-ge81e0b9 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb  6 2012 11:24:45 with gcc 4.6.2
  configuration: 
  libavutil      51. 37.100 / 51. 37.100
  libavcodec     54.  1.100 / 54.  1.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
/tmp/mpegts_unprobed.ts: Invalid data found when processing input

Explicitly setting the format succeeds:

./ffmpeg_g -f mpegts -i /tmp/mpegts_unprobed.ts         
ffmpeg version N-37576-ge81e0b9 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb  6 2012 11:24:45 with gcc 4.6.2
  configuration: 
  libavutil      51. 37.100 / 51. 37.100
  libavcodec     54.  1.100 / 54.  1.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
[mpeg2video @ 0x1eeaf80] mpeg_decode_postinit() failure
    Last message repeated 28 times
[mpegts @ 0x1ec93e0] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x1ec93e0] decoding for stream 2 failed
[mpegts @ 0x1ec93e0] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from '/tmp/mpegts_unprobed.ts':
  Duration: 00:00:06.00, start: 81809.181667, bitrate: 2795 kb/s
  Program 9019 
    Stream #0:0[0xb1]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 480x576 [SAR 32:15 DAR 16:9], 15000 kb/s, 31.89 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x7b0](fra): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:2[0x31](fra): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:3[0x7b1](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s

Attachments (1)

mpegts_unprobed.ts (2.0 MB ) - added by Cigaes 12 years ago.

Download all attachments as: .zip

Change History (4)

by Cigaes, 12 years ago

Attachment: mpegts_unprobed.ts added

comment:1 by Carl Eugen Hoyos, 12 years ago

Description: modified (diff)
Keywords: mov added
Reproduced by developer: set
Status: newopen

Related to ticket #241

comment:2 by Carl Eugen Hoyos, 12 years ago

comment:3 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.