From 4b11a07550363e1f1d6f8e43923d9b6b327737b0 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 1 May 2023 16:41:51 +0200 Subject: avfilter/vf_libplacebo: add fillcolor option In some circumstances, libplacebo will clear the background as a result of cropping/padding. Currently, this uses the hard-coded default fill color of black. This option makes this behavior configurable. --- doc/filters.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index a63304ccd9..34212b513d 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16024,6 +16024,12 @@ content with black borders, while a value of @code{1.0} always crops off parts of the content. Intermediate values are possible, leading to a mix of the two approaches. +@item fillcolor +Set the color used to fill the output area not covered by the output image, for +example as a result of @ref{normalize_sar}. For the general syntax of this +option, check the @ref{color syntax,,"Color" section in the ffmpeg-utils +manual,ffmpeg-utils}. Defaults to @code{black}. + @item colorspace @item color_primaries @item color_trc -- cgit v1.2.1