[FFmpeg-devel] [PATCH 11/11] doc/filters.texi: update overlay_vaapi documentation

Gyan Doshi ffmpeg at gyani.pro
Mon Oct 10 14:08:03 EEST 2022



On 2022-10-10 04:24 pm, softworkz wrote:
> From: softworkz <softworkz at hotmail.com>
>
> Signed-off-by: softworkz <softworkz at hotmail.com>
> ---
>   doc/filters.texi | 49 +++++++++++++++++++++++++++++++++++++-----------
>   1 file changed, 38 insertions(+), 11 deletions(-)
>
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 2d0b5db909..5f4604a834 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -26271,30 +26271,57 @@ It takes two inputs and has one output. The first input is the "main" video on w
>   The filter accepts the following options:
>   
>   @table @option
> -
>   @item x
> -Set the x coordinate of the overlaid video on the main video.
> -Default value is @code{0}.
> -
>   @item y
> -Set the y coordinate of the overlaid video on the main video.
> -Default value is @code{0}.
> +Set expressions for the x and y coordinates of the overlaid video
> +on the main video.
>   
> - at item w
> -Set the width of the overlaid video on the main video.
> -Default value is the width of input overlay video.
> +Default value is "0" for both expressions.
>   
> + at item w
>   @item h
> -Set the height of the overlaid video on the main video.
> -Default value is the height of input overlay video.
> +Set expressions for the width and height the overlaid video
> +on the main video.

The default values should be mentioned here. And also what the default 
value means, if not trivial.

Regards,
Gyan

> +The expressions can contain the following parameters:
> +
> + at table @option
> +
> + at item main_w, W
> + at item main_h, H
> +The main input width and height.
> +
> + at item overlay_iw
> + at item overlay_ih
> +The overlay input width and height.
> +
> + at item overlay_w, w
> + at item overlay_h, h
> +The overlay output width and height.
> +
> + at item overlay_x, x
> + at item overlay_y, y
> +Position of the overlay layer inside of main
> +
> + at end table
>   
>   @item alpha
>   Set transparency of overlaid video. Allowed range is 0.0 to 1.0.
>   Higher value means lower transparency.
>   Default value is @code{1.0}.
>   
> + at item eof_action
> +See @ref{framesync}.
> +
> + at item shortest
> +See @ref{framesync}.
> +
> + at item repeatlast
> +See @ref{framesync}.
> +
>   @end table
>   
> +This filter also supports the @ref{framesync} options.
>   @subsection Examples
>   
>   @itemize



More information about the ffmpeg-devel mailing list