Opened 4 years ago

Last modified 13 months ago

#3459 open enhancement

tiff: support cmyk color mode

Reported by: ami_stuff Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: tif
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 (4)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords tif added
  • Priority changed from normal to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Type changed from defect to enhancement
  • Version changed from unspecified to git-master

comment:3 Changed 2 years ago by ami_stuff

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

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

comment:4 in reply to: ↑ 2 Changed 13 months ago by ami_stuff

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.

Note: See TracTickets for help on using tickets.