From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E4E55443B4 for ; Mon, 10 Oct 2022 11:08:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CEDBD68BCF9; Mon, 10 Oct 2022 14:08:24 +0300 (EEST) Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C0F0768BCF2 for ; Mon, 10 Oct 2022 14:08:17 +0300 (EEST) Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4MmGNv3z7hz9sT2 for ; Mon, 10 Oct 2022 13:08:15 +0200 (CEST) Message-ID: <2a9c47f3-4850-473f-cd2c-c3861593690d@gyani.pro> Date: Mon, 10 Oct 2022 16:38:03 +0530 MIME-Version: 1.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <675b5279c3fe4828a9e1abde80d22a4847a0af3a.1665399281.git.ffmpegagent@gmail.com> From: Gyan Doshi In-Reply-To: <675b5279c3fe4828a9e1abde80d22a4847a0af3a.1665399281.git.ffmpegagent@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH 11/11] doc/filters.texi: update overlay_vaapi documentation X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 2022-10-10 04:24 pm, softworkz wrote: > From: softworkz > > Signed-off-by: softworkz > --- > 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. > > -@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. > > +@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: > + > +@table @option > + > +@item main_w, W > +@item main_h, H > +The main input width and height. > + > +@item overlay_iw > +@item overlay_ih > +The overlay input width and height. > + > +@item overlay_w, w > +@item overlay_h, h > +The overlay output width and height. > + > +@item overlay_x, x > +@item overlay_y, y > +Position of the overlay layer inside of main > + > +@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}. > > +@item eof_action > +See @ref{framesync}. > + > +@item shortest > +See @ref{framesync}. > + > +@item repeatlast > +See @ref{framesync}. > + > @end table > > +This filter also supports the @ref{framesync} options. > @subsection Examples > > @itemize _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".