Ah, so here's the crazy thing: timecode attributes (according to OpenEXR) 
aren't strings, they are encoded as an int[2], as described in 
https://github.com/openexr/openexr/blob/develop/OpenEXR/IlmImf/ImfTimeCode.h 
<https://github.com/openexr/openexr/blob/develop/OpenEXR/IlmImf/ImfTimeCode.h>


> On Nov 30, 2017, at 4:00 PM, Daniel Flehner Heen <[email protected]> 
> wrote:
> 
> Hi!
> 
> Apologize if this is the wrong mail list for this, but is there a way to add 
> a timecode to EXR's in python?
> I read a thread once discussing a way of adding timecode to all supported 
> formats, but I'm not sure how it ended. 
> I've tried specmod().attribute("smpte:timecode", <value>) without success 
> where value was either string or a BCD int same as one I got from a frame 
> with timecode. It didn't complain, but no valid timecode appears in 
> exrhreader or RV for instance.
> 
> Am I missing something obvious or is this still not implemented?
> 
> Thanks,
> -Daniel

--
Larry Gritz
[email protected]




_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to