From 8f7428dd95d7fe461151821f901fa3059ff5309a Mon Sep 17 00:00:00 2001 From: Allan Ihsan Date: Wed, 18 May 2022 15:07:53 +0300 Subject: [PATCH] Add OIIO --- openpype/plugins/publish/extract_jpeg_exr.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openpype/plugins/publish/extract_jpeg_exr.py b/openpype/plugins/publish/extract_jpeg_exr.py index 11dfca8eb2..2d3ad1e8a8 100644 --- a/openpype/plugins/publish/extract_jpeg_exr.py +++ b/openpype/plugins/publish/extract_jpeg_exr.py @@ -3,6 +3,7 @@ import os import pyblish.api from openpype.lib import ( get_ffmpeg_tool_path, + get_oiio_tools_path, run_subprocess, path_to_subprocess_arg, @@ -29,6 +30,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin): # presetable attribute ffmpeg_args = None + oiio_args = None def process(self, instance): self.log.info("subset {}".format(instance.data['subset'])) @@ -119,7 +121,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin): jpeg_items.append(path_to_subprocess_arg(full_output_path)) subprocess_command = " ".join(jpeg_items) - + # run subprocess self.log.debug("{}".format(subprocess_command)) try: # temporary until oiiotool is supported cross platform