#9672: ffmpeg not writing ICC profiles in images
-------------------------------------+-------------------------------------
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 |
-------------------------------------+-------------------------------------
Changes (by haasn):
* status: open => closed
* resolution: => fixed
Comment:
> Instead of manually injecting a filter any chance we could enable this
behavior with a flag, which can be say opt-in for ffmpeg 5.1 to give folks
a chance to kick the tires on it, and assuming there's no major problems
found it can become opt out in ffmpeg 6.0
This is now implemented on master. You can specify `-flags2 icc_profiles`
to enable the experimental functionality.
(Example taken from OP)
$ ffmpeg -flags2 icc_profile -filter_complex color=red:s=640x480 -frames 1
-q:v 1 -color_primaries bt709 -colorspace bt470bg -color_range pc
-color_trc iec61966-2-1 -pix_fmt yuv420p red.jpg
$ exiftool red.jpg
...
Profile Description : RGB built-in
Profile Copyright : No copyright, use freely
Media White Point : 0.9642 1 0.82491
Chromatic Adaptation : 1.04788 0.02292 -0.05022 0.02959 0.99048
-0.01707 -0.00925 0.01508 0.75168
Red Matrix Column : 0.43604 0.22249 0.01392
Blue Matrix Column : 0.14305 0.06061 0.71391
Green Matrix Column : 0.38512 0.7169 0.09706
...
Closing this issue, as now it's merely a matter of time and (eventually)
enabling the new functionality as default.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9672#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".