mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
OP-3938 - Hound
This commit is contained in:
parent
b6d035ad69
commit
233a0c0040
2 changed files with 12 additions and 13 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue