[FFmpeg-trac] #401(avcodec:new): ffmpeg fails to decode MJPG in AVI

FFmpeg trac at avcodec.org
Tue Aug 16 21:06:39 CEST 2011


#401: ffmpeg fails to decode MJPG in AVI
------------------------+--------------------------
 Reporter:  rectalogic  |        Type:  defect
   Status:  new         |    Priority:  normal
Component:  avcodec     |     Version:  unspecified
 Keywords:              |  Blocked By:
 Blocking:              |  Reproduced:  0
 Analyzed:  0           |
------------------------+--------------------------
 ffmpeg fails to decode MJPG in AVI, sample is at
 http://www.box.net/shared/fqqufn3ul5dlkheyu40r
 mplayer successfully decodes and plays this sample.

 {{{
 $ ./ffmpeg -i /storage/test/mencoder/mjpg.avi -vcodec rawvideo -pix_fmt
 uyvy422 -vtag yuvs -an -f mov -y /tmp/o.mov
 ffmpeg version N-31890-gecaf514, Copyright (c) 2000-2011 the FFmpeg
 developers  built on Aug 16 2011 14:34:59 with gcc 4.4.3
   configuration: --enable-debug=gdb3 --disable-optimizations --disable-asm
 --disable-stripping
   libavutil    51. 12. 0 / 51. 12. 0
   libavcodec   53. 10. 0 / 53. 10. 0
   libavformat  53.  7. 0 / 53.  7. 0
   libavdevice  53.  3. 0 / 53.  3. 0
   libavfilter   2. 31. 1 /  2. 31. 1
   libswscale    2.  0. 0 /  2.  0. 0
 [avi @ 0x239c350] max_analyze_duration 5000000 reached at 5000000
 Input #0, avi, from '/storage/test/mencoder/mjpg.avi':
   Duration: 00:06:07.93, start: 0.000000, bitrate: 227 kb/s
     Stream #0.0: Video: mjpeg, 640x480, 30 tbr, 30 tbn, 30 tbc
     Stream #0.1: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/s
 [buffer @ 0x239d4b0] Invalid pixel format string '-1'
 Error opening filters!
 }}}

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


More information about the FFmpeg-trac mailing list