IssueChrome on windowsChrome on OSXChrome on LinuxFirefox on windowsFirefox on OSXFirefox on LinuxSafari on OSXSafari on IOSHow to test
Uses monitor ICC Profiles for png filesYes *YesYesYesYesYesYesYesDo you see differences in the images here: https://richardssam.github.io/ffmpeg-tests/tests/greyramp-osx/compare.html?.png
Uses monitor ICC Profiles of native OS for mp4 and movNoYesnonononoYes?
Ability to disable system profile
nonoYesYesYesnono










Obeys NCLC Color Transfer Characteristic Parameters (TRC)Partially see belownononononoPartially - see belowno

If the following link https://richardssam.github.io/ffmpeg-tests/tests/greyramp-osx/compare.html?.colortrc shows all the ramps looking the same, its not supported.

Color TRC 1 = rec709No. - See note 1nononononoNo. - See note 1no
Color TRC 2 = undefinedYesYesYesYesYesYesYesYes
Color TRC 4 = gamma22Yes - see note 3

no

nononononono

Color TRC 5 = gamma28

Yes - see note 3nonononononono
Color TRC 8 = linearYes - see note 3YesnonononoYesno
Color TRC 9 = log

nononono
no
color TRC 13 = sRGBYes - see note 3Yes
nono
Yesno
Supports gamma in mov filenonononononoYesno
Interprets full range 8-bit YUV mp4'sYesYesYesYesYesYesYesYes
Supports 10-bit h264 mp4'sYesYesYesnonononono
h265 supportnonononononoyes?nohttps://caniuse.com/hevc










Gamut Support








Supports different gamuts with ICC profiles in PNGYesYesYes (See note 3)nononoYesYesSee https://wide-gamut.com
Obeys NCLC Primaries (e.g. will it translate rec2020 media to display correctly)Converts to rec709 gamut, ignores monitor.YesnonononoYesConverts to rec709 gamut, ignores monitor.

If you see the text Rec2020 and your monitor does not support rec2020 then the browser is not supported:

https://richardssam.github.io/ffmpeg-tests/gamuttests/iccgamut/greyscale-rec2020.mp4


Notes:

  1. TRC 1 (rec709 camera) for chrome on windows uses a sRGB transfer function. see comment 32: https://bugs.chromium.org/p/chromium/issues/detail?id=784713#c35 or ~line995 of https://chromium.googlesource.com/chromium/src/+/refs/heads/main/ui/gfx/color_space.cc 
  2. Color shift on Chrome, reported: https://bugs.chromium.org/p/chromium/issues/detail?id=1262622 this seems to only be an issue with multiple videos on the same page.
  3. The wide-gamut.com page is reporting that it has a wide gamut, but I'm not seeing the Red W on the test page. It would be good to get confirmation.

Chrome on windows and linux

You have the option of forcing what sort of display you would like to default to. This directly affects how video is rendered. 

chrome://flags/#force-color-profile

So you can force the display to be a sRGB display and all media is adjusted accordingly. You can similarly do this for Display-P3, "Color-Spin with gamma 2.4", HDR10. 


Test Images

  • No labels