ComfyUI Node
AM OCIO Log Convert
A ComfyUI node in AM VFX Tools/Color with 3 inputs and 2 outputs.
AM OCIO Log Convert
- image
- video
- image
- video
◄reversefalse►
CategoryAM VFX Tools/Color
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| reverse | BOOLEAN | false | Off (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. |
| imageopt | IMAGE | Image 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). | |
| videoopt | VIDEO | Optional 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)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | Log/Lin-converted IMAGE — same primaries as the input, different encoding curve (linear ↔ Cineon-like log per the active OCIO config). |
| video | VIDEO | Lazy 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. |