Hi, I would advice you to look into https://github.com/jedypod/generate-dailies
This script uses OIIO and ffmpeg to generate video files. The very elegant thing about this approach is that the frames read and converted by OIIO are 'served' to ffmpeg, without the need to first store jpegs for example on disk before encoding the video. I used this on our pipeline to manage the review mp4's of all our work. Hope this helps (And thanks so much Larry for all the dev on OpenImageIO !) Regards *Donat Van Bellinghen | Lead Compositor* T +32 2 701 93 71 [image: LinkedIn] <http://www.linkedin.com/company/nozon> A 26 Rue Deschampheleerstraat, 1081 Brussels [image: Vimeo] <http://vimeo.com/nozon3dvfx> [image: Facebook] <https://fr-fr.facebook.com/pages/Nozon-3DVfx> [image: www.nozon.com] <http://www.nozon.com/> On Wed, Jan 18, 2023 at 7:35 PM Larry Gritz <l...@larrygritz.com> wrote: > OIIO is not really trying to be a video oriented API and doesn't > understand video files. That's just not what it was designed for. There are > some edge cases, for example, it can read from many video files, but to > OIIO they just look like a container with many separate still images. But > it glosses over things like frame rates, audio, the ins and outs of all the > parameters you need for certain video codecs, etc., and doesn't have a > provision for writing video files. > > ffmpeg is exactly the opposite -- it's the king of reading and writing > video formats, but actually its grasp of OpenEXR is pretty suspect, and it > doesn't have any provision for an OpenColorIO-based color management > pipeline. > > So the short answer is that what most studios do is use oiiotool to > batch-convert their exr -> png (to pick a format that ffmpeg is good at), > including resizing and the OCIO transformations to the intended final > output color space, then feed those images to ffmpeg for the actual > encoding into a video file of the desired format. > > Please note this repo https://richardssam.github.io/ffmpeg-tests > in which Sam Richards from Disney Imagineering has tried to investigate > best practices for this task. That whole site is full of information you'll > want to read. > > > > On Jan 18, 2023, at 1:37 AM, Mike Battcock < > mike.battc...@time-based-arts.com> wrote: > > Hello, > > I'm not very familiar with OIIO but it seems very powerful. Does it just > convert from one image format to another or can it convert an image > sequence to a video? > > I would like to convert an AcesCG exr sequence to an h264 video, is that > possible with OIIO? I've not been able to find a solution with ffmpeg that > manages the aces colourspace and I'm hoping to find a solution that can do > the conversion at once without first converting the images to a different > colourspace... > > Cheers, > Mike > _______________________________________________ > 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 >
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org