mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
feat(nks): only copy codec if source should be shortened
This commit is contained in:
parent
aa0ae99daa
commit
cb12a83ff9
1 changed files with 4 additions and 0 deletions
|
|
@ -190,6 +190,10 @@ class ExtractReviewCutUpVideo(pype.api.Extractor):
|
|||
input_args.append("-t {:0.2f}".format(duration_sec))
|
||||
input_args.append("-i {}".format(full_input_path))
|
||||
|
||||
# add copy audio video codec if only shortening clip
|
||||
if "_cut-bigger" in tags:
|
||||
output_args.append("-c:v copy")
|
||||
|
||||
# make sure it is having no frame to frame comprassion
|
||||
output_args.append("-intra")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue