Rather than using OIIO you may find it easier to use the ‘exrmultipart’ tool 
that comes with OpenEXR which can combine or separate Parts based on channel 
name keys. It’s certainly easier than using Nuke!

Cheers,
-jonathan


> On May 7, 2021, at 10:29 AM, Matthías Bjarnason <matthias.bjarna...@rvx.is> 
> wrote:
> 
> Can someone please help explain how one goes about converting EXR (pre 2.0) 
> that includes multiple channels (render engine output AOVs) to a "multi part" 
> EXR, more optimized for reading, using OIIO?
> 
> So far I have been using Foundry's Nuke for this purpose but that is 
> obviously an overkill solution and extremely expensive use of licenses 
> ...which I'd like to be not dependent on if possible.
> 
> By reading the OIIO help, it seems like this is all possible but I can't for 
> the life of me figure out how ...using a simple command. Am I missing 
> something?
> 
> For reference Nuke's output(write) node documentation states:
> 
> Sets the interleave strategy for channels, layers, and views with a rendered 
> .exr file. A single- or multi-part .exr file is created as described by the 
> following options, with layers and parts sorted alphabetically:
> 
> • channels, layers and views - creates a single-part .exr file ensuring 
> backward compatibility with applications that use OpenEXR 1.x.
> 
> • channels and layers - creates a multi-part .exr file with one part per 
> view. This can improve Read performance as Nuke only reads the part 
> associated with the specified view.
> 
> • channels - creates a multi-part .exr with one part per layer.
> 
> 
> It would be both the second and third option scenarios I'm most interested in 
> recreating using OIIO but from what I can gather in the OIIO help, there is 
> no simple flag/command to do this - a simple file IN file OUT.
> 
> 
> Is this at all possible using OIIO's basic tool commands?
> 
> Any help appreciated - thanks.
> 
> - M
> _______________________________________________
> Oiio-dev mailing list
> Oiio-dev@lists.openimageio.org
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to