Opened 10 years ago

Closed 5 years ago

#3459 closed enhancement (fixed)

tiff: support cmyk color mode

Reported by: ami_stuff Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: tif cmyk
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://www.datafilehost.com/d/37fa9042

C:\>ffmpeg -i 32bit_CMYK.tif
ffmpeg version N-61336-g11ed7ec Copyright (c) 2000-2014 the FFmpeg developers
  built on Mar 13 2014 02:24:33 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
le-decoder=libvpx
  libavutil      52. 66.101 / 52. 66.101
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 34.101 / 55. 34.101
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[tiff @ 0x2300820] Color mode 5 is not supported
[image2 @ 0x222f940] decoding for stream 0 failed
[image2 @ 0x222f940] Could not find codec parameters for stream 0 (Video: tiff):
 unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
32bit_CMYK.tif: could not find codec parameters

Change History (5)

comment:1 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedavcodec
Keywords: tif added
Priority: normalwish
Reproduced by developer: set
Status: newopen
Type: defectenhancement
Version: unspecifiedgit-master

comment:3 by ami_stuff, 9 years ago

here are some more cmyk and some "weird" samples (imagemagick seems to support decoding of them):

http://www.datafilehost.com/d/d929c0c2

in reply to:  2 comment:4 by ami_stuff, 7 years ago

Replying to cehoyos:

Patch sent:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/177421

Compn:

michaels commit message from cmyk jpeg:
"This should be moved into swscale once we have a CMYK pixel format"

Probably won't happen in this decade.

comment:5 by Carl Eugen Hoyos, 5 years ago

Keywords: cmyk added
Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.