Reliably record colorspace between ACES conversions #5134
Replies: 1 comment 3 replies
-
|
Maybe @zachlewis or other color experts can have a more authoritative answer? But I'll do my best with what I know. As I understand it, ACES "container files" MUST be AP0, and cannot be ACEScg. So that's why you need to erase the flag that marks it as an ACES container, if you want to save with a different color space. I can't quite tell from your description everything that's going on. In particular, I am not sure if you're saying you are having trouble transforming the pixels, or if you are transforming the pixels but not saving the file with the right metadata? Are you expecting the setting of the attribute to do a color space transformation? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, we're trying to migrate our internal transcoding system (which is relying on nuke commandline) to oiio (either using oiio tool or directly with python bindings).
Our workflow is to get whatever the client sends, which is either one of the linearized main camera formats (the show I'm on is RED) or AP0 exrs, and convert it to ACEScg for the whole pipeline up until client delivery, which gets converted back to the source colorspace.
In particular I'm now trying to have the oiio:ColorSpace set as lin_ap1 on the acescg converted output from an AP0 file to no avail. Tried setting it with --sattrib oiio:ColorSpace ACEScg and even with python bindings using new_buf.specmod().set_colorspace("ACEScg") or new_buf.specmod().attribute("oiio:ColorSpace", "ACEScg").
The actual writing can only happen if I do an erase_attribute("acesImageContainerFlag") since it I leave it as it is it complains about strict mode (which should really not happen if I try to write an ACEScg file btw) but anything I do to set a colorspace value in the attribs gets nothing.
Is there a way? I'm using oiio 3.1.12, python 3.13 and aces 1.3 ocio 2.1 studio config v1.0.0.
Maybe I missed something on the docs.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions