Nodes/comfyui-am-vfx-tools/AM OCIO Log Convert
ComfyUI Node

AM OCIO Log Convert

A ComfyUI node in AM VFX Tools/Color with 3 inputs and 2 outputs.

By am-pipeline-prod·Created 4 months ago·Updated 2 months ago· 3
AM OCIO Log Convert
  • image
  • video
  • image
  • video
reversefalse
CategoryAM VFX Tools/Color

Inputs (3)

NameTypeDefaultDescription
reverseBOOLEANfalseOff (default): scene_linear → compositing_log. On: compositing_log → scene_linear. The exact curve is whatever the active OCIO config binds those roles to — config-driven, same code works across Studio / CG / custom configs.
imageoptIMAGEImage batch to transform. Default direction expects linear pixels in the active OCIO config's `scene_linear` role — typically ACEScg in ACES configs, Linear Rec.709 in legacy configs. Reverse direction expects the `compositing_log` role (Cineon-like).
videooptVIDEOOptional VIDEO input. When wired, returns a lazy `OCIOTransformVideo` wrapper applying the lin↔log transform per-frame on consumption — no IMAGE materialisation here. Alpha (when present) passes through untouched. `image` is ignored when `video` is wired. See invariant 28.

Outputs (2)

NameTypeDescription
imageIMAGELog/Lin-converted IMAGE — same primaries as the input, different encoding curve (linear ↔ Cineon-like log per the active OCIO config).
videoVIDEOLazy VIDEO output — emits an `OCIOTransformVideo` wrapper when `video` is wired, else a zero-copy `VideoFromComponents` around the IMAGE batch. None when no input is wired.