Jed Smith
2018-12-02 19:05:41 UTC
Greetings!
I'm working on a tool to generate 10 bit quicktimes from openexr images.
The exr needs a lut applied with an ocio color transform, and the image
needs to be cropped and resized. I am using ffmpeg for quicktime generation.
I want to avoid intermediate files, so transcoding the exrs to 16bit int
tiff files and then using those as a source is not an option.
After a lot of troubleshooting I have found a solution that reads the exr
images with openimageio in python, does the transforms, and then pipes the
My question is, would it be possible to add an option to oiiotool that
allowed you to output to stdout? I know the output format is determined by
the output file extension, but maybe an option could be added to explicitly
set the output format?
Just a thought!
Thanks for your help!
--
Jed Smith
____________
I'm working on a tool to generate 10 bit quicktimes from openexr images.
The exr needs a lut applied with an ocio color transform, and the image
needs to be cropped and resized. I am using ffmpeg for quicktime generation.
I want to avoid intermediate files, so transcoding the exrs to 16bit int
tiff files and then using those as a source is not an option.
After a lot of troubleshooting I have found a solution that reads the exr
images with openimageio in python, does the transforms, and then pipes the
ImageBuf.get_pixels(oiio.UINT16).tofile(ffmpeg_process.stdin)
Needless to say this is rather involved and complex, and not very flexible.My question is, would it be possible to add an option to oiiotool that
allowed you to output to stdout? I know the output format is determined by
the output file extension, but maybe an option could be added to explicitly
set the output format?
Just a thought!
Thanks for your help!
--
Jed Smith
____________