From 6a2eeedc4c89511938dd2aa727bc3a1898673578 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 3 Dec 2013 22:28:36 +0100 Subject: 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. --- DOCS/man/en/vf.rst | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'DOCS/man/en') 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[=[: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 -- cgit v1.2.3