mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
moved "-shortest" argument to better spot
This commit is contained in:
parent
5c4f9c1ca9
commit
ffa3d34f7a
1 changed files with 2 additions and 2 deletions
|
|
@ -341,8 +341,6 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
duration_sec = float(output_frames_len / temp_data["fps"])
|
||||
ffmpeg_output_args.append("-t {:0.2f}".format(duration_sec))
|
||||
|
||||
# Use shortest input
|
||||
ffmpeg_output_args.append("-shortest")
|
||||
|
||||
# Add video/image input path
|
||||
ffmpeg_input_args.append(
|
||||
|
|
@ -354,6 +352,8 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
ffmpeg_input_args.append(
|
||||
"-start_number {}".format(temp_data["output_frame_start"])
|
||||
)
|
||||
# Use shortest input
|
||||
ffmpeg_output_args.append("-shortest")
|
||||
|
||||
# Add audio arguments if there are any. Skipped when output are images.
|
||||
if not temp_data["output_ext_is_image"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue