[FFmpeg-trac] #9673(undetermined:closed): ffmpeg not reading color information from JPEG ICC profile
FFmpeg
trac at avcodec.org
Sun Sep 24 15:16:12 EEST 2023
#9673: ffmpeg not reading color information from JPEG ICC profile
-------------------------------------+-------------------------------------
Reporter: Cosmin | Owner: haasn
Stejerean |
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution: fixed
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by haasn):
So, to recap a quick discussion we had about this at VDD:
- This ICC profile is the built-in profile Apple use for all its DCI-P3
content
- The matrix coefficients appear to contain the "correct" values, which is
ofc wrong as they're *supposed* to be adapted to D50 by spec (but aren't)
- We can read out the "correct" coefficients using the unadapted observer
(and raw white point tag), going against ICC spec but providing one
possible way to work around
If we care about detecting this particular profile we could work around it
"easily" by using the above considerations to implement a compatibility
code path. That said, I will have a look again at the ICCv4 spec and fully
dissect this profile to make sure everything I wrote above is correct.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9673#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list