[FFmpeg-trac] #987(avformat:new): MPEG-TS not detected

FFmpeg trac at avcodec.org
Wed Feb 8 18:49:02 CET 2012


#987: MPEG-TS not detected
-------------------------------------+-------------------------------------
               Reporter:  Cigaes     |                  Owner:
                   Type:             |                 Status:  new
  enhancement                        |              Component:  avformat
               Priority:  minor      |               Keywords:  mpegts
                Version:  git-       |  probe
  master                             |               Blocking:
             Blocked By:             |  Analyzed by developer:  0
Reproduced by developer:  0          |
-------------------------------------+-------------------------------------
 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

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/987>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list