Opened 10 years ago

Closed 10 years ago

Last modified 5 years ago

#3426 closed defect (fixed)

Adobe CYYK jpeg image is not detected

Reported by: Carl Eugen Hoyos Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: mjpeg cmyk
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

The second (smaller) sample for ticket #2799 that I found on Wikipedia still does not decode correctly with current FFmpeg, no warning is shown.

$ ffmpeg -i Channel_digital_image_CMYK_color.jpg
ffmpeg version N-60950-gfbf9837 Copyright (c) 2000-2014 the FFmpeg developers
  built on Feb 27 2014 23:27:01 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from 'Channel_digital_image_CMYK_color.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuva444p(pc), 500x333, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

https://trac.ffmpeg.org/attachment/ticket/2799/Channel_digital_image_CMYK_color.jpg

Attachments (1)

patchcyyk.diff (1.6 KB ) - added by Carl Eugen Hoyos 10 years ago.

Download all attachments as: .zip

Change History (5)

by Carl Eugen Hoyos, 10 years ago

Attachment: patchcyyk.diff added

comment:1 by Carl Eugen Hoyos, 10 years ago

The Wikipedia sample for CMYK is actually Adobe CYYK, attached patch shows how approximately the image may be decoded.

comment:2 by Carl Eugen Hoyos, 10 years ago

Summary: CMYK jpeg image is not detectedAdobe CYYK jpeg image is not detected

comment:3 by Michael Niedermayer, 10 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed

comment:4 by Carl Eugen Hoyos, 5 years ago

Keywords: cmyk added
Note: See TracTickets for help on using tickets.