aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-11-18 18:18:39 +0100
committerPaul B Mahol <onemda@gmail.com>2017-12-01 18:57:24 +0100
commite1dd97bd4c03d658f9b18a0d6269f1bc06f796c9 (patch)
treed36096199b4fff822390b86cb0b963cf383964a0 /doc
parent95bacb521af8cd28f146f045437c9f75717a493a (diff)
downloadffmpeg-e1dd97bd4c03d658f9b18a0d6269f1bc06f796c9.tar.gz
avfilter: add fillborders filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi42
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index ec37b9dcb8..f7c371592f 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -8610,6 +8610,48 @@ framework.
It does not take parameters.
+@section fillborders
+
+Fill borders of the input video, without changing video stream dimensions.
+Sometimes video can have garbage at the four edges and you may not want to
+crop video input to keep size multiple of some number.
+
+This filter accepts the following options:
+
+@table @option
+@item left
+Number of pixels to fill from left border.
+
+@item right
+Number of pixels to fill from right border.
+
+@item top
+Number of pixels to fill from top border.
+
+@item bottom
+Number of pixels to fill from bottom border.
+
+@item mode
+Set fill mode.
+
+It accepts the following values:
+@table @samp
+@item smear
+fill pixels using outermost pixels
+
+@item mirror
+fill pixels using mirroring
+
+@item fixed
+fill pixels with constant value
+@end table
+
+Default is @var{smear}.
+
+@item color
+Set color for pixels in fixed mode. Default is @var{black}.
+@end table
+
@section find_rect
Find a rectangular object