Hi Jed! Thanks for your reply! I actually stumbled across your dailies tool last week when running into a limitation in our own dailies tool :) Your subproc/pipe approach solves a color issue I had! Thank you for that! Inspired by this I was hoping oiiotool would be able to send raw pixels in the same way with: "-o:type=uint16" for instance.
Thanks again! On Wed, Jan 20, 2021 at 4:53 PM Jed Smith <jedy...@gmail.com> wrote: > Hi Daniel! > > I asked about this > <http://lists.openimageio.org/pipermail/oiio-dev-openimageio.org/2018-December/001337.html> > back in 2018, and Larry responded > <http://lists.openimageio.org/pipermail/oiio-dev-openimageio.org/2018-December/003553.html>with > a super awesome detailed and helpful reply, which I didn't respond to > because I was working 100 hour weeks at the time. > > At the time I was trying to build a tool using OpenColorIO and > OpenImageIO, which would take a scene-referred exr image sequence and > encode a quicktime movie using ffmpeg. Of course ffmpeg does not properly > support exr image sequences, so it is necessary to either pre-process the > images with something like oiiotool, and then encode that intermediate > image sequence into a quicktime movie using ffmpeg, OR to do something like > your command, piping the output of oiiotool into ffmpeg, to avoid the > intermediate image sequence. > > I was able to accomplish something functional > <https://github.com/jedypod/generate-dailies> using pipes in python, but > it would be much simpler (and maybe faster) if you could do it purely on > the commandline. > > I would still be very interested to see a way to acomplish this > functionality using oiiotool. > > If I remember well, the generate-dailies tool mentioned above just passes > raw 16 bit int byte data to ffmpeg and it works well, so maybe the > complexities around tiff output mentioned by Larry's response could be > avoided. > > > Hope this helps! > > -Jed > > > On 1/20/21 5:16 AM, Daniel Flehner Heen wrote: > > Hi! > > Is oiiotool able to pipe output into another application? I can't see it > mentioned in help or rtd. > > simplified example: > oiiotool source_image_acescg.#.exr -colorconvert acescg out_srgb -o - | > ffmpeg -i pipe:0 output_movie.mov > > Thanks! > -- > -Daniel > > _______________________________________________ > Oiio-dev mailing > listOiio-dev@lists.openimageio.orghttp://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > -- -Daniel
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org