Opened 8 years ago

Last modified 7 years ago

#987 closed enhancement

MPEG-TS not detected — at Initial Version

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

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

Change History (1)

Changed 8 years ago by Cigaes

Note: See TracTickets for help on using tickets.