Grading S-Log2/S-Gamut

dhessel

Well-known member
I have been frustrated by the fact that there is not really any good way of working with s-log2/s-gamut with Adobe software. So far I have not been able to find any way of working with default PP7 other than look luts, like Impulz. The problem is that I don't always want to use a look lut and I have found that the luts from Impulz don't seem to work that well with footage from the A7s anyway. The colors always seem off no matter what I had tried and grading without luts was even more problematic.

So I have worked out a way to convert s-log2/s-gamut to Rec709 without any look luts. So far the results have been good but I have not had any time to shoot with our A7s myself so I have been using stills generously uploaded by Roman Legion on vimeo. So here it goes, it is two effects that must be done in this order.

First I have attached a lut to correct the s-log2 gamma curve to rec709. This is based off a formula I found from sony for its s-log2 curve. Took some tweaking but mainly just had to deal with using video levels instead of full range. It is a 1D lut so it only affects luma. Apply this lut using a lumetri/apply color lut effect.

This is a matrix transformation from s-gamut to sRGB we will use it to fix the colors next.

S-Gamut to sRGB
1.87785101 -0.79411894 -0.08373153
-0.1768095 1.35097992 -0.17417008
-0.02620544 -0.14844233 1.17464781

Now apply a channel mixer effect and enter the follows values. The channel mixer effect appears to only allow integer values from -200 to 200 but it seems to still work fine. So you can enter them like this in the following format, what out for the const fields and leave them at 0.

Red-Red Red-Green Red-Blue
Green-Red Green-Green Green-Blue
Blue-Red Blue-Green Blue-Blue

188 -79 -8
-18 135 -17
-3 -15 117

That is it, so far this looks really promising but would like to hear how it works out for the rest of you. I am adding some corrected still from Roman Legion as well. These images are ungraded I only converted to Rec709 and adjusted exposure as they were under exposed a little.


slog2-01.jpgS-Log2-02.jpgslog2-03.jpg
 

Attachments

The example images look pretty good!

One of the challenges with S-gamut is the non-linear response (color changes with exposure), right? S-Log3/S-Gamut3 fix this issue (doesn't change color with exposure).

Since you're using the Lumetri effect to load a LUT (which will be fast and hardware accelerated), why not combine the affine color transform with the 1-D LUT into a 3D-LUT? Perhaps possible with SpeedGrade or Resolve?

What's the advantage of using S-Gamut vs. Pro or Cinema color mode? (I'm currently using Pro color mode with S-Log2. Cinema also looked pretty good).
 
The Flaat settings are awesome for color.

However, if you don't want a LUT workflow, don't shoot S-LOG. That's just how you work with log footage. There are awesome LUTs for S-LOG, including Alistair's and Macgregor's (F35 I think, works great!).
 
My workflow in resolve is:
-neatvideo
-s-gamut ==> rec.709
-grade nodes
-impulz lut
-filmconvert regrain

no need to add saturation in camera imho. it just goes off the charts after you apply the s-gamut>rec709 lut.
 
My workflow in resolve is:
-neatvideo
-s-gamut ==> rec.709
-grade nodes
-impulz lut
-filmconvert regrain

no need to add saturation in camera imho. it just goes off the charts after you apply the s-gamut>rec709 lut.

I have not seen a s-gamut to Rec709 lut in resolve, is it one you downloaded? If you are referring to the S-log2 to Rec709 lut that ships with resolve it is a 1D lut and only corrects the Slog curve it doesn't do anything with the s-gamut colorspace.
 
sorry my bad. i was talking about the sgamut>sRGB. the sony one. It gets me in the ballpark. I prefer to shoot slog sgamut and then apply this sony lut then shoot K-log.
 
I have some LUts available here on my site mainly collected form various sources if anyone wants to try them. Sony's cine709 LUT is a good starting point for slog2 so it's be interested to see how they fair out with the A7S.

http://www.starcentral.ca/forums/LUTs/


Newer versions of resolve do support IDT for slog2/slog3 which is something else to give a try and play around with.
 
Back
Top