summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-09-18 23:57:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2015-01-14 18:46:38 +0100
commitbaea14d86021d04901171ff2430da3f93898636b (patch)
treecd01036a2f55d9628a282ffa9aa91fdc017cd64b /doc
parentc4f1abecb15e8d82ee1f6b776bc3bbfe94bb19d8 (diff)
avfilter: port qp filter from libmpcodecs
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 42f69eaacb..154508cfff 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -7351,6 +7351,38 @@ telecine NTSC input:
ffmpeg -i input -vf pullup -r 24000/1001 ...
@end example
+@section qp
+
+Change video quantization parameters (QP).
+
+The filter accepts the following option:
+
+@table @option
+@item qp
+Set expression for quantization parameter.
+@end table
+
+The expression is evaluated through the eval API and can contain, among others,
+the following constants:
+
+@table @var
+@item known
+1 if index is not 129, 0 otherwise.
+
+@item qp
+Sequentional index starting from -129 to 128.
+@end table
+
+@subsection Examples
+
+@itemize
+@item
+Some equation like:
+@example
+qp=2+2*sin(PI*qp)
+@end example
+@end itemize
+
@section removelogo
Suppress a TV station logo, using an image file to determine which