#2799 closed enhancement (fixed)
No support for cmyk jpeg
Reported by: | cyril | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avcodec |
Version: | git-master | Keywords: | mjpeg cmyk |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug:
FFmpeg doesn't support jpg using the CMYK colorspace.
How to reproduce:
Get the sample @ http://towerofbabel.free.fr/test/SLW_LOGO_CMYK.jpg
% ffplay SLW_LOGO_CMYK.jpg ffplay version N-54691-g7f4a1fd Copyright (c) 2003-2013 the FFmpeg developers built on Jul 12 2013 16:31:48 with gcc 4.7.3 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo- amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs -- enable-libxvid --enable-zlib libavutil 52. 39.100 / 52. 39.100 libavcodec 55. 18.102 / 55. 18.102 libavformat 55. 12.102 / 55. 12.102 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 80.101 / 3. 80.101 libswscale 2. 3.100 / 2. 3.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 3.100 / 52. 3.100 Unhandled pixel format 0x11111111 0KB vq= 0KB sq= 0B f=0/0 [image2 @ 00000000024c1960] decoding for stream 0 failed [image2 @ 00000000024c1960] Could not find codec parameters for stream 0 (Video: mjpeg, 4776x2033): unspecified pixel format Consider increasing the value for the 'analyzeduration' and 'probesize' options SLW_LOGO_CMYK.jpg: could not find codec parameters
Attachments (1)
Change History (6)
comment:1 by , 11 years ago
Component: | FFplay → avcodec |
---|---|
Keywords: | mjpeg added |
Reproduced by developer: | set |
Status: | new → open |
by , 11 years ago
Attachment: | Channel_digital_image_CMYK_color.jpg added |
---|
CMYK sample from wikipedia
comment:3 by , 11 years ago
Priority: | normal → wish |
---|---|
Type: | defect → enhancement |
comment:4 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
The original sample and the sample from ticket #3424 work fine since a05635ee
I will open a new ticket for the remaining sample.
Version 0, edited 11 years ago by (next)
comment:5 by , 6 years ago
Keywords: | cmyk added |
---|
Note:
See TracTickets
for help on using tickets.
FFmpeg originally correctly reported that it cannot decode the image, now an image with incorrect colours and a completely transparent alpha layer is decoded without any warning.