OK, so could I pass a list or tuple with the timecode (BCD) in index 0 and
something else in index 1? According to wikipedia the second half of the
int[2] should be userdata, an i correct? What should i provide in that case?

Thanks,
Daniel


On Dec 2, 2017 19:12, "Larry Gritz" <[email protected]> wrote:

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


On Dec 2, 2017, at 4:53 AM, Daniel Flehner Heen <[email protected]>
wrote:

Hello!
Not sure if this got through before I joined the list. Sorry about the
double post on that case.


On Dec 1, 2017 01:00, "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


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


--
Larry Gritz
[email protected]





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

Reply via email to