[FFmpeg-trac] #9085(avcodec:reopened): JPEG: YCCK too green

FFmpeg trac at avcodec.org
Sun Mar 21 20:58:33 EET 2021


#9085: JPEG: YCCK too green
------------------------------------+------------------------------------
             Reporter:  Balling     |                    Owner:
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  mjpeg cmyk  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by Balling):

 Replying to [comment:19 pdr0]:
 > You can apply those equations

 Wait a second why are you applying PhotoYCC equestions? I did not attach
 any PhotoYCC samples. That is YCCK, it is different from PhotoYCC,
 completly different.

 As for color management, ffmpeg is already color managed in that part,
 because the standard does say to convert YCCK to CMYK. Right here, but
 there is some big there, I suppose. Maybe yuva internally destroys the
 picture, I dunno.
 https://github.com/FFmpeg/FFmpeg/blame/2c6f532e0a29527347418d2d8c4ccfe57a6ace0e/libavcodec/mjpegdec.c#L2833

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


More information about the FFmpeg-trac mailing list