Hi Pete, thanks for your reply and example!
Yes, the --text option seems to do what I need - when working on a single image. But what about a sequence? Is there a way for the --text option to evalutate the current frame number somehow? Something like: oiiotool input.#.dpx --frames 1-100 --text <current frame number> -o output.#.jpeg Best regards, Simon ------------------------------- Simon Björk Compositor/TD +46 (0)70-2859503 www.bjorkvisuals.com 2014-08-13 17:24 GMT+02:00 Pete Black <[email protected]>: > Hi Simon, > > Looking at oiiotools's options, --text function should indeed do what you > want. > > Heres a post from the list with more detail: > > http://comments.gmane.org/gmane.comp.lib.openimageio.devel/1371 > > One thing missing from the oiiotool usage info is how to encode color in > the argument string. > > an example: > > oiiotool > <infile>--text:x=100:y=100:color=1.0,0.0,0.0:size=32:font="Arial.ttf" > "01:00:00:00" --text:x=500:y=100:color=1.0,1.0.1.0:size=32:font="Arial.ttf" > "SHOTNAME" -o <outfile> > > > Personally, I have my own set of wrappers around OIIO that I use (using > the C++ API directly) for sequence processing/burnins, but oiiotool should > be quite functional for this. > > Hope that helps, > > -Pete > > > > > On 13/08/2014, at 3:24 am, Simon Björk <[email protected]> wrote: > > > Hi all, > > > > I just recently switched to using OpenImageIO (oiiotool) when converting > dpx/exr sequences to jpegs (dailies). It all works very well, especially > with the close relationship with OpenColorIO. > > > > One thing I haven't found a way to do though, is to add text burn-ins > such as frame number and timecode. In the doc I see there is a --text > option, but I'm not sure if it's ment for such usage. Is there a way to do > this? If not, how are other handling this? > > > > Best regards, > > Simon > > > > > > ------------------------------- > > Simon Björk > > Compositor/TD > > > > +46 (0)70-2859503 > > www.bjorkvisuals.com > > _______________________________________________ > > 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 >
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
