You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WebColorPreservation.md
+28-2
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Using the `-color_trc iec61966-2-1` flag (the sRGB spec is defined as [iec61966-
47
47
</table>
48
48
49
49
## bt709
50
-
Using the `-color_trc bt709` flag (AKA rec709). This is often the default tag, however producers the most confusing results. On Chrome this will actually match sRGB, but on safari it will match the camera bt709 parameters, which roughly match gamma 1.95. NOTE, there is no support at all for BT1886, which is what we would conventionally use for the TV gamma of 2.4, the closest you can get is using quicktime on OSX.
50
+
Using the `-color_trc bt709` flag (AKA rec709). This is often the default tag, however produces the most confusing results. On Chrome this will actually match sRGB, but on safari it will match the camera bt709 parameters, which roughly match gamma 1.95. NOTE, there is no support at all for BT1886, which is what we would conventionally use for the TV gamma of 2.4, the closest you can get is using quicktime on OSX. See [Apple quicktime gamma](#apple-quicktime-gamma-and-bt1886) for the workaround.
51
51
52
52
<tableclass='compare'>
53
53
<TR><TD><videowidth=400><sourcesrc="tests/greyramp-osx/greyscale-rec709.mp4"></video></TD><TD>This is the bt709 mp4.</TD></TR>
@@ -62,7 +62,7 @@ Screenshots
62
62
</table>
63
63
64
64
## Gamma 2.2
65
-
Using the `-color_trc gamma22` flag. This does not work correctly on safari.
65
+
Using the `-color_trc gamma22` flag. This does not work correctly on safari, see [Color-TRC Comparison for OSX](/EncodingGuidelines/tests/greyramp-osx/compare.html)
@@ -77,6 +77,32 @@ Using the `-color_trc linear` flag. This is unlikely to ever be used for video,
77
77
<TR><TD><videowidth=400><sourcesrc="tests/greyramp-osx/greyscale-lin.mp4"></video></TD><TD>Mp4 Video should match PNG</TD></TR>
78
78
</table>
79
79
80
+
## Apple Quicktime Gamma and bt1886
81
+
82
+
Apple has a workaround flag for quicktime files that allows you to explicitly set the gamma of the file. Adding the flags
83
+
`-color_trc unknown -movflags write_colr+write_gama -mov_gamma 2.4` would correctly set the gamma of the media to bt1886 on Apple hardware. You can similarly use this for any other gamma, see: [Color-TRC Comparison for OSX](/EncodingGuidelines/tests/greyramp-osx/compare.html). NOTE, you do need the `-color_trc unknown` so that it knows to fall back on the mov_gamma value.
We recommend the use of `-color_trc iec61966-2-1` to use sRGB. There is no support for a gamma 2.4, if you still need it, we recommend that you use -color_trc unknown and ensure that your monitor is set correctly
To see a full screen version of this page goto [here](compare.html)
8
+
To see a full screen version of this page goto [here](compare.html)
9
+
10
+
NOTE, this test is highlighting that some of the color-trc results are incorrect on OSX, since it is showing that gamma2.2 and gamma 2.8 do not match the corresponding color-trc curves. It is also showing that -color_trc 1 is matching gamma 1.98.
0 commit comments