OP-3938 - Hound

This commit is contained in:
Petr Kalis 2022-09-23 19:55:12 +02:00
parent b6d035ad69
commit 233a0c0040
2 changed files with 12 additions and 13 deletions

View file

@ -120,8 +120,7 @@ class ExtractReview(publish.Extractor):
mov_path
]
self.log.debug("mov args:: {}".format(args))
output = run_subprocess(args)
self.log.debug(output)
_output = run_subprocess(args)
instance.data["representations"].append({
"name": "mov",
"ext": "mov",
@ -158,7 +157,7 @@ class ExtractReview(publish.Extractor):
thumbnail_path
]
self.log.debug("thumbnail args:: {}".format(args))
output = run_subprocess(args)
_output = run_subprocess(args)
instance.data["representations"].append({
"name": "thumbnail",
"ext": "jpg",

View file

@ -9,7 +9,7 @@ from openpype.lib.transcoding import (
convert_ffprobe_fps_to_float,
)
from openpype.lib.profiles_filtering import filter_profiles
from openpype.lib.transcoding import IMAGE_EXTENSIONS, VIDEO_EXTENSIONS
from openpype.lib.transcoding import VIDEO_EXTENSIONS
class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
@ -454,9 +454,9 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
try:
streams = get_ffprobe_streams(component_path)
except Exception:
self.log.debug((
"Failed to retrieve information about input {}"
).format(component_path))
self.log.debug(
"Failed to retrieve information about "
"input {}".format(component_path))
# Find video streams
video_streams = [
@ -500,9 +500,9 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
input_framerate
)
except ValueError:
self.log.warning((
"Could not convert ffprobe fps to float \"{}\""
).format(input_framerate))
self.log.warning(
"Could not convert ffprobe "
"fps to float \"{}\"".format(input_framerate))
continue
stream_width = tmp_width
@ -583,9 +583,9 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
try:
streams = get_ffprobe_streams(component_path)
except Exception:
self.log.debug((
"Failed to retrieve information about intput {}"
).format(component_path))
self.log.debug(
"Failed to retrieve information "
"about input {}".format(component_path))
for stream in streams:
if "width" in stream and "height" in stream: