mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Updated command creation
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
ba80b3b9b4
commit
71d37d8b59
1 changed files with 3 additions and 4 deletions
|
|
@ -1079,9 +1079,8 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
"""Fills missing files by blank frame."""
|
||||
blank_frame_path = os.path.join(staging_dir, f"blank.{extension}")
|
||||
temp_data["paths_to_remove"].append(blank_frame_path)
|
||||
command = get_ffmpeg_tool_args("ffmpeg")
|
||||
|
||||
command.extend([
|
||||
command = get_ffmpeg_tool_args(
|
||||
"ffmpeg",
|
||||
"-f", "lavfi",
|
||||
"-i", "color=c=black:s={}x{}:d=1".format(
|
||||
resolution_width, resolution_height
|
||||
|
|
@ -1089,7 +1088,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
"-tune", "stillimage",
|
||||
"-frames:v", "1",
|
||||
blank_frame_path
|
||||
])
|
||||
)
|
||||
|
||||
self.log.debug("Executing: {}".format(" ".join(command)))
|
||||
output = run_subprocess(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue