[Cin] Two links on ICC in MP4

Andrew Randrianasulu randrianasulu at gmail.com
Fri Apr 11 19:05:14 CEST 2025


Starter thread, at least back in time (2022) it was not easy/possible to
use ffmpeg for adding custom icc profile to mp4 container but MP4Box from
gpac project was up to task:

https://superuser.com/questions/1739082/embedding-a-custom-icc-profile-in-an-mp4-with-ffmpeg

=====

Creating MP4 video without ICC profile (for testing):
ffmpeg -y -loop 1 -framerate 1 -i icc_chelsea.png -vcodec libx265 -t 10
chelsea.mp4

Extracting the ICC profile:
magick icc_chelsea.png profile.icc

Adding the ICC profile to the MP4 video file using MP4Box:
MP4Box -add video.mp4#video:colr=prof,profile.icc -new icc_video.mp4

Testing with FFprobe:
ffprobe icc_chelsea.mp4

===== end of quotation ====
As far as I understand in this case idea was to embed display profile into
media. But few apps outside of Final Cut Pro/quicktime can do anything
useful about this info?

https://forum.luminous-landscape.com/index.php?topic=129232.0

this one from ~2019.

It states that instead of more flexible color management video world used
few fixed mode monitor color spaces, and whole process was a bit manual if
your input image/video was not in one of those.

I think we hit crudest form of this limitation when we try to fade titler's
text over png image. It sort of flashes, due to missing (unapplied) 2.4
gamma step?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250411/2b3bb576/attachment-0001.htm>


More information about the Cin mailing list