[FFmpeg-trac] #987(avformat:open): MPEG-TS not detected
FFmpeg
trac at avcodec.org
Wed Feb 8 20:09:37 CET 2012
#987: MPEG-TS not detected
-------------------------------------+-------------------------------------
Reporter: Cigaes | Owner:
Type: enhancement | Status: open
Priority: minor | Component: avformat
Version: git-master | Resolution:
Keywords: mpegts | Blocked By:
probe mov | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* keywords: mpegts probe => mpegts probe mov
* status: new => open
* reproduced: 0 => 1
Old 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
New 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
}}}
--
Comment:
Related to ticket #241
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/987#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list