Looks like you're doing the right thing, but perhaps there is a minor bug or two. Can you email me (privately is ok) the input file so I can try it on my end? Should be easy to fix.
On Wed, Apr 3, 2013 at 8:32 AM, Jep Hill <[email protected]> wrote: > Hi guys, > > 2 super simple questions about DPX metadata -- my apologies if these are > obvious: > (using OIIO 1.1.2 on CentOS 6.2) > > 1. I notice if I simply read in a DPX with a PixelAspectRatio of 2 and > write it right back out without any ops, the PixelAspectRatio changes to 1 > -- dpx:Signal also seems to be added but I'm more concerned about data > being changed than about data being added... > > i.e. oiiotool my.dpx -o out.dpx > > >> oiiotool -v --info my.dpx > Reading my.dpx > my.dpx : 2048 x 1556, 3 channel, uint10 dpx > channel list: R, G, B > oiio:BitsPerSample: 10 > Orientation: 1 (normal) > dpx:Transfer: "User defined" > dpx:Colorimetric: "User defined" > Software: "ARRISCAN055" > DocumentName: "tmi_vfx_scans_012913" > DateTime: "2013-01-30 00:18:57" > PixelAspectRatio: 2 > dpx:ImageDescriptor: "RGB" > dpx:DittoKey: 1 > dpx:LowQuantity: 0 > dpx:HighQuantity: 0 > dpx:EndOfLinePadding: 0 > dpx:EndOfImagePadding: 0 > dpx:XScannedSize: 0 > dpx:YScannedSize: 0 > dpx:FramePosition: 281 > dpx:SequenceLength: 289 > dpx:HeldCount: 0 > dpx:FrameRate: 0 > dpx:ShutterAngle: 0 > dpx:Version: "V1.0" > dpx:InputDevice: "325" > dpx:HorizontalSampleRate: 0 > dpx:VerticalSampleRate: 0 > dpx:TemporalFrameRate: 24 > dpx:TimeOffset: 0 > dpx:BlackLevel: 0 > dpx:BlackGain: 0 > dpx:BreakPoint: 0 > dpx:WhiteLevel: 0 > dpx:IntegrationTimes: 0 > dpx:Packing: "Filled, method A" > dpx:TimeCode: "00:00:11:17" > dpx:FilmEdgeCode: "0219630563747880" > > >> oiiotool -v --info out.dpx > Reading out.dpx > out.dpx : 2048 x 1556, 3 channel, uint10 dpx > channel list: R, G, B > oiio:BitsPerSample: 10 > Orientation: 1 (normal) > dpx:Transfer: "User defined" > dpx:Colorimetric: "User defined" > Software: "OpenImageIO 1.1.2 http://www.openimageio.org" > DocumentName: "tmi_vfx_scans_012913" > DateTime: "2013-01-30 00:18:57" > PixelAspectRatio: 1 > dpx:ImageDescriptor: "RGB" > dpx:DittoKey: 1 > dpx:LowQuantity: 0 > dpx:HighQuantity: 0 > dpx:EndOfLinePadding: 0 > dpx:EndOfImagePadding: 0 > dpx:XScannedSize: 0 > dpx:YScannedSize: 0 > dpx:FramePosition: 281 > dpx:SequenceLength: 289 > dpx:HeldCount: 0 > dpx:FrameRate: 0 > dpx:ShutterAngle: 0 > dpx:Version: "V2.0" > dpx:InputDevice: "325" > dpx:HorizontalSampleRate: 0 > dpx:VerticalSampleRate: 0 > dpx:TemporalFrameRate: 24 > dpx:TimeOffset: 0 > dpx:BlackLevel: 0 > dpx:BlackGain: 0 > dpx:BreakPoint: 0 > dpx:WhiteLevel: 0 > dpx:IntegrationTimes: 0 > dpx:Packing: "Filled, method A" > dpx:TimeCode: "00:00:11:17" > dpx:Signal: "Undefined" > > > 2. What is the proper syntax for setting metadata to a DPX file? e.g. > dpx:UserData... I tried a variation on what was in the docs (oiiotool > my.dpx --attrib "dpx:UserData" "HELLO_WORLD -o metatest.dpx) but that > didn't work. > > Many thanks for your help, > Jep > > _______________________________________________ > 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
