mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
let ffmpeg handle scales by forcing original aspect ratio
This commit is contained in:
parent
31b4a9dc05
commit
7f6e6649cd
1 changed files with 5 additions and 3 deletions
|
|
@ -1390,9 +1390,11 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
self.log.debug("height_half_pad: `{}`".format(height_half_pad))
|
||||
|
||||
filters.extend([
|
||||
"scale={}x{}:flags=lanczos".format(
|
||||
width_scale, height_scale
|
||||
),
|
||||
(
|
||||
"scale={}x{}"
|
||||
":flags=lanczos"
|
||||
":force_original_aspect_ratio=decrease"
|
||||
).format(output_width, output_height),
|
||||
"pad={}:{}:{}:{}:{}".format(
|
||||
output_width, output_height,
|
||||
width_half_pad, height_half_pad,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue