I think you want either of the following: --attrib:type="int[2]" "smpte:TimeCode" 27173352,0
OR --attrib:type=timecode smpte:TimeCode "11:34:04:00" (These are examples. I am not claiming that 27173352,0 is the correct integer encoding of the timecode 11:34:04:00.) > On Sep 30, 2019, at 11:13 AM, Jonathan Silverman <jsilverm...@gmail.com> > wrote: > > Hi, > > The OIIO documentation says that timecode can be written for EXR files and > that it is a 4 byte int[2]. But it's not documented how to insert this value > using the oiiotool binary. > > Here is the command I'm trying. > > C:\Users\jsilv\Documents\slatemakerd2\SlateMakerD2\bin\Debug\oiiotool.exe > E:\FOR_JON\UA110_qc_003_v1\UA110_qc_003_v1_001000.exr --attrib > "SMPTE:timeCode" 27173352,0 -o outtest.exr > > 27173352,0 and "27173352,0" and everything else I've tried does not work to > set the time code. > > This is the output of exrheader.exe, with no timecode being set. > > C:\Users\jsilv>exrheader outtest.exr > > file outtest.exr: > > file format version: 2, flags 0x0 > Exif:ImageHistory (type string): > "C:\\Users\\jsilv\\Documents\\slatemakerd2\\SlateMakerD2\\bin\\Debug\\oiiotool.exe > E:\\FOR_JON\\UA110_qc_003_v1\\UA110_qc_003_v1_001000.exr > --attrib:type=TIMECODE SMPTE:timeCode "27173352, 0" -o outtest.exr" > Software (type string): "OpenImageIO 2.0.10 : > C:\\Users\\jsilv\\Documents\\slatemakerd2\\SlateMakerD2\\bin\\Debug\\oiiotool.exe > E:\\FOR_JON\\UA110_qc_003_v1\\UA110_qc_003_v1_001000.exr > --attrib:type=TIMECODE SMPTE:timeCode "27173352, 0" -o outtest.exr" > capDate (type string): "2019:09:30 11:58:15" > channels (type chlist): > A, 16-bit floating-point, sampling 1 1 > B, 16-bit floating-point, sampling 1 1 > G, 16-bit floating-point, sampling 1 1 > R, 16-bit floating-point, sampling 1 1 > compression (type compression): none > dataWindow (type box2i): (0 0) - (4095 2303) > displayWindow (type box2i): (0 0) - (4095 2303) > lineOrder (type lineOrder): increasing y > pixelAspectRatio (type float): 1 > screenWindowCenter (type v2f): (0 0) > screenWindowWidth (type float): 1 > type (type string): "scanlineimage" > > > -- > Jonathan Silverman > tel: (720) 757 7054 > _______________________________________________ > Oiio-dev mailing list > Oiio-dev@lists.openimageio.org > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz l...@larrygritz.com
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org