[FFmpeg-trac] #539(undetermined:new): Some MPEG-2 streams produce corrupted video output

FFmpeg trac at avcodec.org
Sun Oct 9 21:29:57 CEST 2011


#539: Some MPEG-2 streams produce corrupted video output
-------------------------------------+-------------------------------------
             Reporter:  STaRGaZeR    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  MPEG-2       |               Blocked By:
  MPEG2 corruption                   |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 When playing some MPEG-2 files I get corrupted output, like you can see
 here (ffplay screenshot):
 http://img255.imageshack.us/img255/880/39473053.png

 I've attached a 10MB sample (mpeg2_corruption.mkv). You can find it here
 too: http://www.mediafire.com/?cye2dhgra9du6v8

 For reference, libmpeg2 plays it fine. ffmpeg uncut output:


 {{{
 C:\Users\STaRGaZeR\Desktop\bin>ffmpeg -v 9 -loglevel 99 -i
 mpeg2_corruption.mkv
 ffmpeg version N-33308-g6638207, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct  5 2011 22:56:15 with gcc 4.6.1
   configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect
 --ena
 ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb
 --enable-
 libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame
 --ena
 ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-
 libspeex --en
 able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis
 --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib

   libavutil    51. 19. 0 / 51. 19. 0
   libavcodec   53. 19. 0 / 53. 19. 0
   libavformat  53. 14. 0 / 53. 14. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 43. 6 /  2. 43. 6
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 -v is deprecated, use -loglevel
 [matroska,webm @ 01B38A80] Format matroska,webm probed with size=2048 and
 score=
 100
 st:0 removing common factor 1000000 from timebase
 st:1 removing common factor 1000000 from timebase
 [ac3 @ 01B3F6E0] Unsupported bit depth: 0
 [mpeg2video @ 01B39440] Unsupported bit depth: 0
 [mpeg2video @ 01B39440] invalid frame_pred_frame_dct
 [matroska,webm @ 01B38A80] All info found
 Input #0, matroska,webm, from 'mpeg2_corruption.mkv':
   Duration: 00:00:13.52, start: 0.000000, bitrate: 6253 kb/s
     Stream #0:0(eng), 42, 1/1000: Video: mpeg2video (Main), yuv420p,
 720x576 [SA
 R 64:45 DAR 16:9], 1/50, 7800 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
 (default)
     Metadata:
       title           : Video MPEG-2 720x576 (16:9)
     Stream #0:1(eng), 57, 1/1000: Audio: ac3, 48000 Hz, 5.1(side), s16,
 448 kb/s

     Metadata:
       title           : Audio AC3 5.1
 At least one output file must be specified
 }}}

 As you can see, ffmpeg complaints about "invalid frame_pred_frame_dct".

 Thanks!

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


More information about the FFmpeg-trac mailing list