summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-03 22:28:36 +0100
committerwm4 <wm4@nowhere>2013-12-04 00:07:39 +0100
commit6a2eeedc4c89511938dd2aa727bc3a1898673578 (patch)
tree61e4523bcca15bfd9e83579ca114a3bb87d36421 /DOCS/man
parentad950be4150d212252ea72fab724fe3342652d62 (diff)
downloadmpv-6a2eeedc4c89511938dd2aa727bc3a1898673578.tar.bz2
mpv-6a2eeedc4c89511938dd2aa727bc3a1898673578.tar.xz
vf_noise: reroute to vf_lavfi
Unfortunately, this forces filtering both luma and chroma, because otherwise we'd have to deal with libavfilter's vf_noise weird handling of YUV vs. RGB formats. Would we e.g. filter luma only, it would filter red in RGB mode only, because it goes by component and there's no way to distinguish YUV and RGB by just using the filter's options.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/en/vf.rst31
1 files changed, 20 insertions, 11 deletions
diff --git a/DOCS/man/en/vf.rst b/DOCS/man/en/vf.rst
index c45e25bbf5..9ad8dfa07f 100644
--- a/DOCS/man/en/vf.rst
+++ b/DOCS/man/en/vf.rst
@@ -426,21 +426,30 @@ Available filters are:
``'--vf=lavfi=yadif:o="threads=2,thread_type=slice"'``
forces a specific threading configuration.
-``noise[=luma[u][t|a][h][p]:chroma[u][t|a][h][p]]``
+``noise[=<strength>[:average][:pattern][:temporal][:uniform][:hq]``
Adds noise.
- :<0-100>: luma noise
- :<0-100>: chroma noise
- :u: uniform noise (gaussian otherwise)
- :t: temporal noise (noise pattern changes between frames)
- :a: averaged temporal noise (smoother, but a lot slower)
- :h: high quality (slightly better looking, slightly slower)
- :p: mix random noise with a (semi)regular pattern
+ ``strength``
+ Set the noise for all components. If you want different strength
+ values for luma and chroma, use libavfilter's noise filter directly
+ (using ``--vf=lavfi=[noise=...]``), or tell the libavfilter developers
+ to stop being stupid.
- .. note::
+ ``average``
+ averaged temporal noise (smoother, but a lot slower)
- Deprecated. Use libavfilter's ``noise`` filter through ``--vf=lavfi``
- instead.
+ ``pattern``
+ mix random noise with a (semi)regular pattern
+
+ ``temporal``
+ temporal noise (noise pattern changes between frames)
+
+ ``uniform``
+ uniform noise (gaussian otherwise)
+
+ ``hq``
+ high quality (slightly better looking, slightly slower) - not available
+ when using libavfilter
``hqdn3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]``
This filter aims to reduce image noise producing smooth images and making