[FFmpeg-trac] #6259(avcodec:new): Weird colorspace

FFmpeg trac at avcodec.org
Thu Mar 23 18:43:14 EET 2017


#6259: Weird colorspace
---------------------------------+---------------------------------------
             Reporter:  rr-      |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  unspecified
             Keywords:  mjpeg    |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+---------------------------------------
 Summary of the bug:

 The JPEG file is rendered, but has weird colors (only chroma and no luma),
 and has weird aspect ratio.
 Firefox seems to decode the image correctly.

 How to reproduce:
 {{{

 % ffmpeg 1383926217187.jpg

 ffplay version 3.2.4 Copyright (c) 2003-2017 the FFmpeg developers
   built with gcc 6.3.1 (GCC) 20170109
   configuration: --prefix=/usr --disable-debug --disable-static --disable-
 stripping --enable-avisynth --enable-avresample --enable-fontconfig
 --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass
 --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-
 libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame
 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
 --enable-libopus --enable-libpulse --enable-libschroedinger --enable-
 libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-
 libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-
 libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf
 --enable-shared --enable-version3 --enable-x11grab
   libavutil      55. 34.101 / 55. 34.101
   libavcodec     57. 64.101 / 57. 64.101
   libavformat    57. 56.101 / 57. 56.101
   libavdevice    57.  1.100 / 57.  1.100
   libavfilter     6. 65.100 /  6. 65.100
   libavresample   3.  1.  0 /  3.  1.  0
   libswscale      4.  2.100 /  4.  2.100
   libswresample   2.  3.100 /  2.  3.100
   libpostproc    54.  1.100 / 54.  1.100
     nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
 [mjpeg @ 0x7f21540023a0] mjpeg: error, decode_app parser read over the end
 Input #0, image2, from '/home/rr-/clutter/bad images/bad-
 colorspace/1383926217187.jpg':
   Duration: 00:00:00.04, start: 0.000000, bitrate: 21983 kb/s
     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
 1280x720 [SAR 106:255 DAR 1696:2295], 25 tbr, 25 tbn, 25 tbc
 [mjpeg @ 0x7f2154002a20] mjpeg: error, decode_app parser read over the end
 [swscaler @ 0x7f214817ec60] deprecated pixel format used, make sure you
 did set range correctly


 }}}

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


More information about the FFmpeg-trac mailing list