mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
moved -y ffmpeg arg to output args
This commit is contained in:
parent
8986839053
commit
8645ee13ce
1 changed files with 3 additions and 3 deletions
|
|
@ -93,8 +93,7 @@ class ExtractReviewSlate(pype.api.Extractor):
|
|||
|
||||
input_args = []
|
||||
output_args = []
|
||||
# overrides output file
|
||||
input_args.append("-y")
|
||||
|
||||
# preset's input data
|
||||
input_args.extend(repre["outputDef"].get('input', []))
|
||||
input_args.append("-loop 1 -i {}".format(slate_path))
|
||||
|
|
@ -103,7 +102,6 @@ class ExtractReviewSlate(pype.api.Extractor):
|
|||
"-t 0.04"]
|
||||
)
|
||||
|
||||
|
||||
# Codecs are copied from source for whole input
|
||||
codec_args = self.codec_args(repre)
|
||||
self.log.debug("Codec arguments: {}".format(codec_args))
|
||||
|
|
@ -157,6 +155,8 @@ class ExtractReviewSlate(pype.api.Extractor):
|
|||
output_args, scaling_arg)
|
||||
# add it to output_args
|
||||
output_args.insert(0, vf_back)
|
||||
# overrides output file
|
||||
output_args.append("-y")
|
||||
|
||||
slate_v_path = slate_path.replace(".png", ext)
|
||||
output_args.append(slate_v_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue