summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-02-10 15:18:30 +0000
committerPaul B Mahol <onemda@gmail.com>2013-02-16 11:42:41 +0000
commitaf882e1819cae65f6ec026567ed4e99869236782 (patch)
treeda00c1485c41cd37edff29648035b83e3b8d10a8 /doc
parent1e78679768b3a1ef336c5b52aa5027d8a50fcf0d (diff)
lavfi: port MP noise filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi58
1 files changed, 51 insertions, 7 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index d2f2b2e8ef..4c85d71be3 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3630,7 +3630,6 @@ The list of the currently supported filters follows:
@item ivtc
@item kerndeint
@item mcdeint
-@item noise
@item ow
@item perspective
@item phase
@@ -3657,12 +3656,6 @@ Adjust gamma, brightness, contrast:
@example
mp=eq2=1.0:2:0.5
@end example
-
-@item
-Add temporal noise to input video:
-@example
-mp=noise=20t
-@end example
@end itemize
See also mplayer(1), @url{http://www.mplayerhq.hu/}.
@@ -3692,6 +3685,57 @@ noformat=yuv420p,vflip
noformat=yuv420p:yuv444p:yuv410p
@end example
+@section noise
+
+Add noise on video input frame.
+
+This filter accepts a list of options in the form of @var{key}=@var{value}
+pairs separated by ":". A description of the accepted options follows.
+
+@table @option
+@item all_seed
+@item c0_seed
+@item c1_seed
+@item c2_seed
+@item c3_seed
+Set noise seed for specific pixel component or all pixel components in case
+of @var{all_seed}. Default value is @code{123457}.
+
+@item all_strength, as
+@item c0_strength, c0s
+@item c1_strength, c1s
+@item c2_strength, c2s
+@item c3_strength, c3s
+Set noise strength for specific pixel component or all pixel components in case
+@var{all_strength}. Default value is @code{0}. Allowed range is [0, 100].
+
+@item all_flags, af
+@item c0_flags, c0f
+@item c1_flags, c1f
+@item c2_flags, c2f
+@item c3_flags, c3f
+Set pixel component flags or set flags for all components if @var{all_flags}.
+Available values for component flags are:
+@table @samp
+@item a
+averaged temporal noise (smoother)
+@item p
+mix random noise with a (semi)regular pattern
+@item q
+higher quality (slightly better looking, slightly slower)
+@item t
+temporal noise (noise pattern changes between frames)
+@item u
+uniform noise (gaussian otherwise)
+@end table
+@end table
+
+Some examples follow:
+@example
+Add temporal and uniform noise to input video:
+noise=alls=20:allf=t+u
+@end example
+
@section null
Pass the video source unchanged to the output.