Jump to: Board index » General » Fusion

Linear Workflow Slog2

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Jörg-Mark Kasassoglou

  • Posts: 46
  • Joined: Tue Jan 20, 2015 10:40 am

Linear Workflow Slog2

PostThu Nov 23, 2017 4:27 pm

Hi,

I have some Sony SLog 2 Files. What is the best way to get them into linear space?

can I create myself a accurate LUT somehow - I could not find slog 2 to linear on the Sony site only slog 2 to reg 709...

Jörg-Mark
Last edited by Jörg-Mark Kasassoglou on Fri Nov 24, 2017 9:33 am, edited 1 time in total.
Offline
User avatar

Bryan Ray

  • Posts: 2478
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Lionear Workflow Slog2

PostThu Nov 23, 2017 8:18 pm

The CineonLog tool has a SLog2 mode.
Attachments
Untitled.png
Untitled.png (24.19 KiB) Viewed 4100 times
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline
User avatar

Kristof Indeherberge

  • Posts: 75
  • Joined: Fri Jul 01, 2016 8:15 pm

Re: Lionear Workflow Slog2

PostFri Nov 24, 2017 8:42 am

Hi Bryan (got your name right this time),


Extra points if you can predict what can happen further down the stream if you merge it with another layer (depending on what you're doing). Take a good look at that curve. :)
Offline
User avatar

Erik Wittbusch

  • Posts: 482
  • Joined: Sun Aug 16, 2015 8:06 pm
  • Location: Duisburg, Germany

Re: Linear Workflow Slog2

PostFri Nov 24, 2017 9:38 am

Use the new ColorTransform FX. It's perfectly made for this and gives you all the controls you need.
Offline

Sander de Regt

  • Posts: 3497
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Linear Workflow Slog2

PostFri Nov 24, 2017 10:29 am

Erik Wittbusch wrote:Use the new ColorTransform FX. It's perfectly made for this and gives you all the controls you need.

What tool in Fusion is this? I've never heard of it.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Jörg-Mark Kasassoglou

  • Posts: 46
  • Joined: Tue Jan 20, 2015 10:40 am

Re: Linear Workflow Slog2

PostFri Nov 24, 2017 11:15 am

Thanks for the reply...

@ Kristof could you be more specific – i#d like to get the extra points but i think i need a hint :mrgreen:
Offline
User avatar

Bryan Ray

  • Posts: 2478
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Lionear Workflow Slog2

PostFri Nov 24, 2017 4:01 pm

Kristof Indeherberge wrote:Extra points if you can predict what can happen further down the stream if you merge it with another layer (depending on what you're doing). Take a good look at that curve. :)


I'm not sure what you mean. We're in SLog2 for three projects right now and not having any trouble. At least, not with the log to lin part of the transform. Yes, it goes super-white a little early, but assuming the DP is monitoring properly, things generally work out. If we're comping a bright element and need to match the white level, we'll gain down first, then back up after the merge in order to make the match easier.

Is there something else we should be watching out for?
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: Linear Workflow Slog2

PostFri Nov 24, 2017 7:20 pm

I guess you can create negative values in the blacks
Offline
User avatar

Bryan Ray

  • Posts: 2478
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Linear Workflow Slog2

PostFri Nov 24, 2017 7:42 pm

michael vorberg wrote:I guess you can create negative values in the blacks


That's true. ARRI LogC, which we're accustomed to using for most shows, does the same thing. Assuming you never clip black on the plate, it's usually okay. In the event that we light a CG render with the plate, we add a small brightness value before making the render background EXR. Otherwise, Redshift shows bright pink pixels in reflections.

I keep meaning to dig into color science a little deeper and verify Fusion's log conversions against the ones published by the manufacturers. Too many projects…
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline
User avatar

Kristof Indeherberge

  • Posts: 75
  • Joined: Fri Jul 01, 2016 8:15 pm

Re: Linear Workflow Slog2

PostSat Nov 25, 2017 11:03 am

It creates negative values, and more importantly negative values as canvas colour. So if you transform the plate, making it smaller, you will compromise your background input when merging. Causing some head scratching for sure.

Preview the merge in the buffer, and toggle it while keeping an eye on the green background.

I do think this should be addressed by BMD. And it is not negligible. It will happen more often than you'd think, especially when keying and transforming plates.

Code: Select all
{
   Tools = ordered() {
      Ellipse1 = EllipseMask {
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 330, 181.5 } },
      },
      Background1 = Background {
         Inputs = {
            GlobalIn = Input { Value = 1001, },
            GlobalOut = Input { Value = 2001, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            Depth = Input { Value = 4, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            TopLeftRed = Input { Value = 1, },
            EffectMask = Input {
               SourceOp = "Ellipse1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 330, 214.5 } },
      },
      CineonLog1 = CineonLog {
         Inputs = {
            Depth = Input { Value = 1, },
            LogType = Input { Value = FuID { "SonySLog" }, },
            SLogVersion = Input { Value = FuID { "SLog2" }, },
            Input = Input {
               SourceOp = "Background1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 440, 214.5 } },
      },
      Transform1 = Transform {
         PassThrough = true,
         CtrlWZoom = false,
         Inputs = {
            Size = Input { Value = 0.299, },
            FilterMethod = Input { Value = 6, },
            Input = Input {
               SourceOp = "CineonLog1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 550, 214.5 } },
      },
      Merge1 = Merge {
         Inputs = {
            Background = Input {
               SourceOp = "Background1_1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Transform1",
               Source = "Output",
            },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 550, 247.5 } },
      },
      Background1_1 = Background {
         Inputs = {
            GlobalIn = Input { Value = 1001, },
            GlobalOut = Input { Value = 2001, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            Depth = Input { Value = 4, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            TopLeftGreen = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 220, 247.5 } },
      }
   }
}
Offline

Hendrik Proosa

  • Posts: 3015
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: Linear Workflow Slog2

PostSat Nov 25, 2017 11:36 am

One way to approach this is to lift the linear values by a small amount to keep noise floor and clip at 0.0 to avoid negatives. Then in the end subtract the offset and convert to log again if necessary.

The overall logic should be that linear value of zero is at the middle of black cap noise (noise values should average to zero) when considering the black level of log curve. Log data can keep the sub-blacks as positive values because average black is not at zero but in linear they are negative.
Last edited by Hendrik Proosa on Sat Nov 25, 2017 2:56 pm, edited 1 time in total.
I do stuff.
Offline
User avatar

Kristof Indeherberge

  • Posts: 75
  • Joined: Fri Jul 01, 2016 8:15 pm

Re: Linear Workflow Slog2

PostSat Nov 25, 2017 12:53 pm

If you would do that, then you should also consider making a custom display LUT. That offset used to compensate, lifts the image and I find that to be disturbing to look at.

I just add a set canvas colour node right after a log to lin conversion node and take it from there.
Offline

Jörg-Mark Kasassoglou

  • Posts: 46
  • Joined: Tue Jan 20, 2015 10:40 am

Re: Linear Workflow Slog2

PostSat Nov 25, 2017 11:21 pm

An other question regarding SLog.
Is the Sony SLog a good colorspace for greenscreen work or would you prefer a different colorspace?

is there anything you can recommand in log space e.g. overexpose the greenscreen a F-Stop etc.?

i did some tests, which worked ok, but since the sony a II records compressed 422 video the recorded material should be optimal to avoid problems later...
Offline
User avatar

Uli Plank

  • Posts: 21278
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Linear Workflow Slog2

PostThu Nov 30, 2017 4:52 pm

Slog2 (or, even worse, Slog3) is a very flat curve, meant for high contrast scenes to capture all values the sensor can differentiate. It was initially developed for professional cameras, which record 422 with at least 10 bit.

Unfortunately, on a camera recording in heavily compressed 8 bit, like the Alpha series, it's not much more than a marketing gimmick. Don't use it for greenscreen! Don't even record internally, but use a decent external recorder like an Atomos or BM.

Since green screen work is normally a controlled lighting situation, you can always limit your scene contrast to something which is easily captured with a profile like Cine 1, 2 or 4. These offer superwhites, which will give you another 2/3 of a stop in the highlights (Cine 2 doesn't). Just compare them and use what you like, as long as you keep the green screen around 50-60% on the waveform.

The basic approach with any 8 bit recording should be getting as close as possible to the intended final look, since you'll need to avoid any heavy grading.
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

Jörg-Mark Kasassoglou

  • Posts: 46
  • Joined: Tue Jan 20, 2015 10:40 am

Re: Linear Workflow Slog2

PostThu Nov 30, 2017 7:24 pm

Thanks Uli,

so the best possible scenario would be to:

- record to an external recorder - in my case the BMD Video assist 4k which bypasses the compression of the camera – with a 10 bit codec ProresHQ
- and use a Cine Profile 1 or 4 to preserve the superwhites
- light the greenscreen to 50-60%
Offline
User avatar

Uli Plank

  • Posts: 21278
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Linear Workflow Slog2

PostFri Dec 01, 2017 1:32 pm

Yes. Or any other non-log profile that appeals to you. You can always light to even staying broadcast legal.
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

Chris Tempel

  • Posts: 163
  • Joined: Wed Nov 12, 2014 6:09 pm

Re: Linear Workflow Slog2

PostWed Dec 06, 2017 8:47 pm

Keep in mind that if you want to retain the log style for grading after VFX, you'll need a way to invert the Log to Lin conversion. In Nuke you literally bring in the footage, apply "LogToLin", dial in your settings, do the comp, and at the end before rendering it out, you copy the first LogToLin and invert it. Everything goes Log, including the effects. Makes grading a lot easier since the VFX shot matches the rest.
Offline

Sander de Regt

  • Posts: 3497
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Linear Workflow Slog2

PostWed Dec 06, 2017 8:53 pm

Eh...I don't know Nuke, so maybe I don't quite understand what you're saying, but if you do LogToLin, it sounds like you convert TO Lineair, do your comp and *then* convert back to log. So you do your comping in lineair. You would do this the same in Fusion. I've done it on Cineon-log files back in 2007.
This workflow hasn't changed in that sense.
Sander de Regt

ShadowMaker SdR
The Netherlands

Return to Fusion

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 31 guests