Opened 6 years ago

Closed 6 years ago

Last modified 8 months ago

#3426 closed defect (fixed)

Adobe CYYK jpeg image is not detected

Reported by: cehoyos 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 cehoyos 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by cehoyos

comment:1 Changed 6 years ago by cehoyos

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

comment:2 Changed 6 years ago by cehoyos

  • Summary changed from CMYK jpeg image is not detected to Adobe CYYK jpeg image is not detected

comment:3 Changed 6 years ago by michael

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 8 months ago by cehoyos

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