ffmpeg not reading color information from JPEG ICC profile
|Reported by:||Cosmin Stejerean||Owned by:||haasn|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
ffmpeg / ffprobe is not reading color information from the ICC profile in JPEG. Somewhat related to #9672 (where it also fails to write it to JPEG), for proper support of wide color gamut it's important to be able to both read and write color information properly. This ticket focuses on the reading part.
Attached is an example image in P3 color space (which needs a P3 capable display to render properly). ffprobe is not able to read the ICC color information from this, but it can be read by for example exiftool
Steps to reproduce.
- Download the attached test.jpg
- Can confirm the ICC profile info with exiftool
exiftool test.jpg Profile Description : Display P3
additional output of exiftool is omitted for brevity
- Check ffprobe color information
ffprobe -show_streams test.jpg | grep color color_range=pc color_space=bt470bg color_transfer=unknown color_primaries=unknow
Expected values are color primaries smpte432, color trc iec61966-2-1