mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
moved setting output start frame to better spot
This commit is contained in:
parent
c826aaa0a6
commit
58648a87cd
1 changed files with 7 additions and 5 deletions
|
|
@ -338,6 +338,13 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
"-framerate {}".format(temp_data["fps"])
|
||||
)
|
||||
|
||||
if temp_data["output_is_sequence"]:
|
||||
# Set start frame of output sequence (just frame in filename)
|
||||
# - this is definition of an output
|
||||
ffmpeg_output_args.append(
|
||||
"-start_number {}".format(temp_data["output_frame_start"])
|
||||
)
|
||||
|
||||
# Change output's duration and start point if should not contain
|
||||
# handles
|
||||
if temp_data["without_handles"] and temp_data["handles_are_set"]:
|
||||
|
|
@ -360,11 +367,6 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
"-i \"{}\"".format(temp_data["full_input_path"])
|
||||
)
|
||||
|
||||
if temp_data["output_is_sequence"]:
|
||||
# Set start frame
|
||||
ffmpeg_input_args.append(
|
||||
"-start_number {}".format(temp_data["output_frame_start"])
|
||||
)
|
||||
# Use shortest input
|
||||
ffmpeg_output_args.append("-shortest")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue