mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avfilter/vf_libplacebo: add reset_sar option
This was requested by users of `vf_libplacebo`, to mirror the existing option on the other `vf_scale_*` family of filters. While we have `vf_normalize`, it was not as useful in the event that the content stretching was actually desired. Bridges an important usability gap between `vf_scale` and `vf_libplacebo` that made mixing and matching the filters needlessly difficult.
This commit is contained in:
@@ -16291,11 +16291,15 @@ will be performed.
|
||||
@item force_divisible_by
|
||||
Work the same as the identical @ref{scale} filter options.
|
||||
|
||||
@item reset_sar
|
||||
If enabled, output frames will always have a pixel aspect ratio of 1:1. If
|
||||
disabled (the default), any aspect ratio mismatches, including those from
|
||||
e.g. anamorphic video sources, are forwarded to the output pixel aspect ratio.
|
||||
|
||||
@item normalize_sar
|
||||
If enabled, output frames will always have a pixel aspect ratio of 1:1. This
|
||||
will introduce additional padding/cropping as necessary. If disabled (the
|
||||
default), any aspect ratio mismatches, including those from e.g. anamorphic
|
||||
video sources, are forwarded to the output pixel aspect ratio.
|
||||
Like @option{reset_sar}, but instead of stretching the video content to fill
|
||||
the new output aspect ratio, the content is instead padded or cropped as
|
||||
necessary.
|
||||
|
||||
@item pad_crop_ratio
|
||||
Specifies a ratio (between @code{0.0} and @code{1.0}) between padding and
|
||||
|
||||
Reference in New Issue
Block a user