[FFmpeg-trac] #267(undetermined:new): jpeg image decodes incorrectly

FFmpeg trac at avcodec.org
Sat Jun 4 15:20:43 CEST 2011


#267: jpeg image decodes incorrectly
--------------------------+--------------------------
 Reporter:  ami_stuff     |        Type:  defect
   Status:  new           |    Priority:  normal
Component:  undetermined  |     Version:  unspecified
 Keywords:                |  Blocked By:
 Blocking:                |  Reproduced:  0
 Analyzed:  0             |
--------------------------+--------------------------
 more info:

 http://trac.videolan.org/vlc/ticket/4215

 the file decodes correctly with firefox/irfanview

 https://trac.videolan.org/vlc/attachment/ticket/4215/frame.jpg

 {{{
 C:\>ffmpeg -i frame.jpg out.bmp
 ffmpeg version git-N-30344-g5501afa, Copyright (c) 2000-2011 the FFmpeg
 develope
 rs
   built on May 27 2011 22:37:57 with gcc 4.5.3
   configuration: --enable-gpl --enable-version3 --enable-memalign-hack
 --enable-
 runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
 --enable-libo
 pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-
 libgsm --
 enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
 libschroedinger
  --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
 --enabl
 e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config
 =pkg-confi
 g
   libavutil    51.  2. 2 / 51.  2. 2
   libavcodec   53.  6. 0 / 53.  6. 0
   libavformat  53.  2. 0 / 53.  2. 0
   libavdevice  53.  0. 0 / 53.  0. 0
   libavfilter   2. 11. 0 /  2. 11. 0
   libswscale    0. 14. 0 /  0. 14. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mjpeg @ 023507A0] mjpeg_decode_dc: bad vlc: 0:0 (01DC6900)
 [mjpeg @ 023507A0] error dc
 [mjpeg @ 023507A0] error y=1 x=21
 Input #0, image2, from 'frame.jpg':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0.0: Video: mjpeg, yuvj422p, 1280x720, 25 tbr, 25 tbn, 25 tbc
 Incompatible pixel format 'yuvj422p' for codec 'bmp', auto-selecting
 format 'bgr
 24'
 [buffer @ 01DD1E40] w:1280 h:720 pixfmt:yuvj422p tb:1/1000000 sar:0/1
 sws_param:

 [ffsink @ 01DD1380] auto-inserting filter 'auto-inserted scaler 0' between
 the f
 ilter 'src' and the filter 'out'
 [scale @ 01DD2140] w:1280 h:720 fmt:yuvj422p -> w:1280 h:720 fmt:bgr24
 flags:0x4

 [swscaler @ 02388020] No accelerated colorspace conversion found from
 yuv422p to
  bgr24.
 [swscaler @ 02397260] No accelerated colorspace conversion found from
 yuv422p to
  bgr24.
 [swscaler @ 023A6480] No accelerated colorspace conversion found from
 yuv422p to
  bgr24.
 Output #0, image2, to 'out.bmp':
   Metadata:
     encoder         : Lavf53.2.0
     Stream #0.0: Video: bmp, bgr24, 1280x720, q=2-31, 200 kb/s, 90k tbn,
 25 tbc
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop, [?] for help
 [mjpeg @ 023507A0] mjpeg_decode_dc: bad vlc: 0:0 (01DC5200)
 [mjpeg @ 023507A0] error dc
 [mjpeg @ 023507A0] error y=1 x=21
 frame=    1 fps=  0 q=0.0 Lsize=      -0kB time=0.04 bitrate=  -4.4kbits/s
 video:2700kB audio:0kB global headers:0kB muxing overhead -100.000796%
 }}}

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


More information about the FFmpeg-trac mailing list