[FFmpeg-devel] [PATCH] doc/ffmpeg: Extend documentation for sws_flags option

Gyan Doshi ffmpeg at gyani.pro
Wed May 17 16:15:43 EEST 2023



On 2023-05-17 05:22 pm, Tobias Rapp wrote:
> Clarify that -sws_flags are only applied to simple filtergraphs as a
> default, not complex filtergraphs. Add a reference to the scaler
> options.

LGTM

Regards,
Gyan

> ---
>   doc/ffmpeg.texi | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
> index a12700e..c0fa90f 100644
> --- a/doc/ffmpeg.texi
> +++ b/doc/ffmpeg.texi
> @@ -1023,7 +1023,12 @@ If @var{pix_fmt} is a single @code{+}, ffmpeg selects the same pixel format
>   as the input (or graph output) and automatic conversions are disabled.
>   
>   @item -sws_flags @var{flags} (@emph{input/output})
> -Set SwScaler flags.
> +Set default flags for the libswscale library. These flags are used by
> +automatically inserted @code{scale} filters and those within simple
> +filtergraphs, if not overridden within the filtergraph definition.
> +
> +See the @ref{scaler_options,,ffmpeg-scaler manual,ffmpeg-scaler} for a list
> +of scaler options.
>   
>   @item -rc_override[:@var{stream_specifier}] @var{override} (@emph{output,per-stream})
>   Rate control override for specific intervals, formatted as "int,int,int"



More information about the ffmpeg-devel mailing list