Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2017-04-03 21:34:09 +0300
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-04-07 23:35:06 +0300
commit57c3670896c69714ca1514728edf5ee48b2abcc9 (patch)
tree26f36a9106da528cbf67a64f3323e1603a4146ca /doc
parent3f8d7342c32c8b22ab177d62f5c7660db213e342 (diff)
vf_pad: center image on padded area if negative x/y
or if x/y go beyond padded area. This is mostly useful when paired with the aspect option. Defaults aren't changed. Idea for this was taken from mpv's soon-to-be-removed expand vf. Reviewed-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index bc37e667e0..32720dba41 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -10430,6 +10430,9 @@ expression, and vice versa.
The default value of @var{x} and @var{y} is 0.
+If @var{x} or @var{y} evaluate to a negative number, they'll be changed
+so the input image is centered on the padded area.
+
@item color
Specify the color of the padded area. For the syntax of this option,
check the "Color" section in the ffmpeg-utils manual.