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 315A0408DE for ; Mon, 31 Oct 2022 06:21:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1CBAB68BDC9; Mon, 31 Oct 2022 08:20:33 +0200 (EET) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B700068BC6E for ; Mon, 31 Oct 2022 08:20:18 +0200 (EET) Received: by mail-pl1-f177.google.com with SMTP id c24so9879454pls.9; Sun, 30 Oct 2022 23:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date :references:in-reply-to:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=iTlS598AMp/dMe6CNqMHONDBIweWJ6FP7Gfz5f/EUZQ=; b=W3mTfP8jZN3OUthiA6rO2HEGbYRVc774FxuPducuhUVBpFFeBF4ryi5LIWPIrM+PzA dP5qabvOz4QKV3w1+5dXj6FxjxxFzOvhiHaXiY5qyzDTvwmCdlWKjXCtnQ838mB5Xgtd 9NrLGV1PTBfKCFKQVlwCqOQMPVH4UCXkfzKsvFvOspz7eB84RZmc0lrlMu8ang8UpHYp Z3YdHZ9r5P4szptRjOVnvoJXMH4i+6RKQmJ6YgUGmPpAgWNSrKOcsvpXCRMu17aryvxJ RcuRuqK+f/IhlyEFjIJY5CbrgJkUeAiAmIuax6/MxuuMCBj1EErm1Zwo66A6LFSFYzfy lDVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date :references:in-reply-to:message-id:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=iTlS598AMp/dMe6CNqMHONDBIweWJ6FP7Gfz5f/EUZQ=; b=k1HwkeSd0Ch72/JsBV9I0sG1BXsQxJbSi8+J4+4uA0NT3g3pFeX3gbwsnoijqAYcwn 0IzjlnmKGr+uPhGAzPanurYwHUIYQ9vDqZXIKx2XyAZs7r0DzY97T4JRc+Ml+TcV0FvW 1q0NIM2UndHNK8lKTYu38ILxZnD+59dFm4YfB+EOvqEdNgLIjV4yh+pBKHznpU77Xhj1 HyPmggRxuVFSsNmFO+MTRes+TQeiBMJKLu8iNoqnwzzZ+Op53+EzJKxwO9nYDLZ/67mQ pfdhDxDDmkt9OzhhCWNj2SJdltXSLzZAvkv9qXOGiGX+7uTRucuj4zR8Yt394L1BJNQ2 kKuQ== X-Gm-Message-State: ACrzQf0jvzFFQoDNdRpKEvV4WYSlNcZxU/VFHbH3LgE1mKTGsZMHCl/K o9P/BqpAhfR3BNtk9qZi8ffzer27WJY= X-Google-Smtp-Source: AMsMyM5o3DDNHwSzrRzcFHU0xiFSrWPwG/d/wxJRIIqgcb9tWzXXeGHaz8qqy3tw2ojJOCRNqqwzJg== X-Received: by 2002:a17:90b:4c87:b0:213:5fe0:6700 with SMTP id my7-20020a17090b4c8700b002135fe06700mr27891688pjb.128.1667197217097; Sun, 30 Oct 2022 23:20:17 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id z14-20020aa79f8e000000b0056b95260b91sm3672003pfr.67.2022.10.30.23.20.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Oct 2022 23:20:16 -0700 (PDT) From: softworkz X-Google-Original-From: softworkz Message-Id: In-Reply-To: References: Date: Mon, 31 Oct 2022 06:20:07 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH v2 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 Cc: softworkz , "Xiang, Haihao" , Gyan Doshi Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: softworkz Signed-off-by: softworkz --- doc/filters.texi | 51 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 40 insertions(+), 11 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 2d0b5db909..1d50db0e54 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -26271,30 +26271,59 @@ 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. + +Default values are 'overlay_iw' for 'w' and 'overlay_ih*w/overlay_iw' for 'h'. + +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-codebot _______________________________________________ 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".