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 2F0AE4439A for ; Mon, 10 Oct 2022 10:56:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7FBB068BD28; Mon, 10 Oct 2022 13:55:02 +0300 (EEST) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B46E268BCF6 for ; Mon, 10 Oct 2022 13:54:51 +0300 (EEST) Received: by mail-pj1-f52.google.com with SMTP id q10-20020a17090a304a00b0020b1d5f6975so8946139pjl.0 for ; Mon, 10 Oct 2022 03:54:51 -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=DitkY4HZo+Nbm+u8b4eHtOylA/wQs5IevFL6Z+MoTPY=; b=GBfSzOKzHO1KfnfAc/cCak0yM6dcEXe8P5xcJEOnoRltNs9NpOm6yrEmb2MIaVpjru rJ4YVE/Ia15WEUP2aEbv2xRWsGU2MIPI8RNhpo+T9SxuaLZdwp0YV8pzJcS1DTZYjHdl P8AGSZoC0x7xWeRdWBj5gEm/LsL+mftXF0eU4nM0lw47n4NmqNgEU1PR1dhIoRvlY/Jz 0qTiQIkUf1M6Wy/Zv6nDkZhPeKsxmtdMmGVgS5RApfnMIwhdn9Hii2Sw81DjMeRi8MuX pJ+hZ/H884UESphtL4YoreKjjytLpqbE6xQgaAMC4VG4PVU0DtMkB0+VjMgLhGz04hGg u17w== 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=DitkY4HZo+Nbm+u8b4eHtOylA/wQs5IevFL6Z+MoTPY=; b=WNl53fH78favTsFIJ7qRA7MSGl+BITvwJ+22yoslUKqgH36FxTHTWZVOSAxk5wM6q7 c+PW4FAVq8JoCs87vtjY3kNZBQirQwWr8I8fWJuscIHyK3VI5Tj+gctoIwApiWCONfG1 OSKmEEELsUc/niIOGy87v1/jZm/LuF2l9FKD/La4kdJY7Ep/U/TH3UjS9QiFHwfCTB/1 7zPaRZ3rGikabj9qiRL8AXr20p/OXltq7w4v5v6CoZr8scIWfwDg1e7toRNdGGpu0JxI JAPCDVWVGxS0dU+9pX7C9f/anz/DFd/wZzcUKl3noUVPAkCf1x2xr/yfPml/qjm2JnP1 cy4g== X-Gm-Message-State: ACrzQf0N5O0MrQLij8Q5f1rLFz8VL+VY0AqJIhu30S3AttQkeQRJE9Kh W7L54/aE92hTFreGh9/+yaNQsuDEnoo= X-Google-Smtp-Source: AMsMyM6xwP4eqTg0JZtoDzuh/YsMiDfvww94rp9myNw9/lqYp+ZSgnKLRPW6+TIxxkmap0W7TQJS9A== X-Received: by 2002:a17:902:f644:b0:17f:7f88:5f47 with SMTP id m4-20020a170902f64400b0017f7f885f47mr18129545plg.123.1665399290160; Mon, 10 Oct 2022 03:54:50 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id u64-20020a17090a51c600b00200a85fa777sm8996250pjh.1.2022.10.10.03.54.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Oct 2022 03:54:49 -0700 (PDT) From: softworkz X-Google-Original-From: softworkz Message-Id: <675b5279c3fe4828a9e1abde80d22a4847a0af3a.1665399281.git.ffmpegagent@gmail.com> In-Reply-To: References: Date: Mon, 10 Oct 2022 10:54:41 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [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 Cc: softworkz 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 | 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 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".