[FFmpeg-trac] #3424(avcodec:reopened): JPEG Decoder fails to fail on CMYK JPEG file (detects as yuva444p)

FFmpeg trac at avcodec.org
Mon Mar 22 07:46:52 EET 2021


#3424: JPEG Decoder fails to fail on CMYK JPEG file (detects as yuva444p)
------------------------------------+------------------------------------
             Reporter:  dbuitenh    |                    Owner:
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  mjpeg       |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by Balling):

 * status:  closed => reopened
 * resolution:  duplicate =>


Comment:

 This is CMYK. As mediainfo prints:
 {{{
 08A868  Component - C - 1 (0x1) - 1 (0x1) (3 bytes)
 08A868   Ci - Component identifier:            67 (0x43)
 08A869   Hi - Horizontal sampling factor:      1 (0x1) - (4 bits)
 08A869   Vi - Vertical sampling factor:        1 (0x1) - (4 bits)
 08A86A   Tqi - Quantization table destination selector: 0 (0x00)
 08A86B  Component - M - 1 (0x1) - 1 (0x1) (3 bytes)
 08A86B   Ci - Component identifier:            77 (0x4D)
 08A86C   Hi - Horizontal sampling factor:      1 (0x1) - (4 bits)
 08A86C   Vi - Vertical sampling factor:        1 (0x1) - (4 bits)
 08A86D   Tqi - Quantization table destination selector: 0 (0x00)
 08A86E  Component - Y - 1 (0x1) - 1 (0x1) (3 bytes)
 08A86E   Ci - Component identifier:            89 (0x59)
 08A86F   Hi - Horizontal sampling factor:      1 (0x1) - (4 bits)
 08A86F   Vi - Vertical sampling factor:        1 (0x1) - (4 bits)
 08A870   Tqi - Quantization table destination selector: 0 (0x00)
 08A871  Component - K - 1 (0x1) - 1 (0x1) (3 bytes)
 08A871   Ci - Component identifier:            75 (0x4B)
 08A872   Hi - Horizontal sampling factor:      1 (0x1) - (4 bits)
 08A872   Vi - Vertical sampling factor:        1 (0x1) - (4 bits)
 08A873   Tqi - Quantization table destination selector: 0 (0x00)
 }}}


 On the other hand CMYK should not be signaled like that, it should be
 signaled using APP14 marker. Whatever. Not a duplicate though.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3424#comment:22>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list