diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2017-04-03 19:34:09 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-04-07 21:35:06 +0100 |
commit | 57c3670896c69714ca1514728edf5ee48b2abcc9 (patch) | |
tree | 26f36a9106da528cbf67a64f3323e1603a4146ca /doc/filters.texi | |
parent | 3f8d7342c32c8b22ab177d62f5c7660db213e342 (diff) | |
download | ffmpeg-57c3670896c69714ca1514728edf5ee48b2abcc9.tar.gz |
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/filters.texi')
-rw-r--r-- | doc/filters.texi | 3 |
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. |