Hello,
I'm currently trying to generate a Quicktime from exrs using ffmpeg.
Our exr's are linear, and I want to bake the sRGB colorspace into the quicktime with ffmpeg.
I'm trying to get generate a .3dl lut file to transform the linear image into sRGB colorspace.
I can then pass this to the lut3d filter in ffmpeg.
I've been having trouble generating a correct lut.
I've tried a few approaches, but I I'm still missing something.
I'm using the default OCIO config for nuke:
nuke-default/config.ocio
I create the 3dl with this command:
ociobakelut --format flame --inputspace linear --outputspace sRGB srgb.3dl
I've been using Nuke to test the lut.
In nuke, I have my exr sequence loaded in with the colorspace on the read node set to linear.
Then, the viewer (ViewerSRGB) is set to use a display lut of sRGB.
Then I create another viewer (ViewerNoLUT), and set the display lut to none.
I create an OCIOFileTransform node and load in the srgb.3dl file I created earlier.
EXR sequence -> OCIOFileTransform -> ViewerNoLUT
ViewerSRGB and ViewerNoLUT don't match. The srgb.3dl lut is darker than it should be.
I tried creating a colorspace node in nuke and set the colorspace_out to sRGB.
EXR sequence -> Colorspace -> ViewerNoLUT
ViewerSRGB and ViewerNoLUT match. No color shifts.
Shouldn't the OCIOFileTransform and the Colorspace node be doing the same thing? and get the same results?
Is there something I'm missing when creating the 3dl?
Thanks for the help!
-Brennan