Re: Rendering per-shot grades with ocioconvert


Larry Gritz <l...@...>
 

Sorry for the delay -- when people who are not subscribers post to oiio-dev (or when subscribers post from a different mail account), it awaits moderator approval.  Sometimes there are delays either in delivering the approval alert, or in my ability to go to the web site and approve the message (though unless I'm traveling, it's rare that it gets delayed more than several hours).

I posted a follow-up to oiio-dev, but the bottom line is that -- at least according to your oiio-dev post -- you were specifying the arguments to oiiotool in the wrong order, attempting to write the output *before* stripping it down to 3 channels, which quite correctly complained that it wasn't allowed to write a 5-channel file to JPEG format.

-- lg


On Dec 12, 2012, at 11:52 AM, andre...@... wrote:

Hey Larry (nice to meet you!),

I sent something to oiio-dev this morning, it's waiting for moderator approval.  Is this the correct way to ask questions/submit bugs?


(the response I got was)
Your mail to 'Oiio-dev' with the subject
    oiiotool --ch problems
Is being held until the list moderator can review it for approval.
The reason it is being held:
    Post by non-member to a members-only list



I'll submit a pull request shortly.  The code is backwards compatible and fairly harmless, so might not hurt to have anyway.


On Wednesday, December 12, 2012 11:29:21 AM UTC-8, Larry Gritz wrote:
I'd appreciate a list of specifically which things are lacking in oiiotool to make this practical.

-- lg


On Dec 12, 2012, at 10:43 AM, bsloan wrote:

This is veering from the original thread a bit but for various reasons, oiiotool seems not to be able to do the proper combination of things that we require.

Our own Andrew Wood has made what he describes as a 20 line modification to ocioconvert that does the trick (by snarfing some DNA from oiiotool). I've added the help text below to give an idea of the added functionality.

What is your feeling about rolling this change into the next iteration of OCIO? We can provide the modified source file (or create a fork in GIT). Your answer will influence our decision whether to fork and rename ocioconvert as a new internal tool or to continue to regard it as a 3rd party tool.

Once again, big acknowledgement to the community of OCIO developers (and Jeremy). Sincere thanks.

these are the new options:

    --croptofull           name=Crop or pad to make pixel data region match the "full" region
    --keepchannels %d      name=keep first n channels

here's the new full help:
OpenImageIO options
    --float-attribute %L   name=float pair defining OIIO float attribute
    --int-attribute %L     name=int pair defining OIIO int attribute
    --string-attribute %L  name=string pair defining OIIO string attribute
    --croptofull           name=Crop or pad to make pixel data region match the "full" region
    --keepchannels %d      name=keep first n channels


On Tuesday, December 4, 2012 2:59:08 PM UTC-8, bsloan wrote:
Apologies if this is a repeat question:

Ocioconvert takes an input and output colorspace from the current ocio.config and applies a transform to an input image.

Is it possible to apply a look as well? Would that require adding a colorspace to ocio.config? Or is it even possible?

Also, ocioconvert in ocio 1.0.7 appears to be not very well documented. 

Nag, nag nag.

Thanks again, 

-blake

--
--transcribed from fMRI data using Google Thought Engine

--
 
 

--
Larry Gritz
l....@...



--
 
 

--
Larry Gritz
l...@...


Join {ocio-dev@lists.aswf.io to automatically receive all group messages.