From fabfb23232799c54019de76a4f1fb33d4adef97e Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 3 Dec 2013 23:41:14 +0100 Subject: vf_pp: use option parser --- DOCS/man/en/changes.rst | 2 +- DOCS/man/en/vf.rst | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/en/changes.rst b/DOCS/man/en/changes.rst index 6f6818230a..d2f7ed5995 100644 --- a/DOCS/man/en/changes.rst +++ b/DOCS/man/en/changes.rst @@ -177,7 +177,7 @@ Command Line Switches ``-af volnorm`` ``--af=drc`` (renamed) ``-zoom`` Inverse available as ``--video-unscaled`` ``-panscanrange`` ``--video-zoom``, ``--video-pan-x/y`` - ``-pp`` ``-vf=pp`` + ``-pp`` ``'--vf=[pp]'`` ``-pphelp`` ``--vf=pp:help`` =========================== ======================================== diff --git a/DOCS/man/en/vf.rst b/DOCS/man/en/vf.rst index 8f5ebc3885..ac9146d7ec 100644 --- a/DOCS/man/en/vf.rst +++ b/DOCS/man/en/vf.rst @@ -241,7 +241,7 @@ Available filters are: ```` Format name, e.g. rgb15, bgr24, 420p, etc. (default: 420p). -``pp[=filter1[:option1[:option2...]]/[-]filter2...]`` +``pp[=[filter1[:option1[:option2...]]/[-]filter2...]]`` Enables the specified chain of postprocessing subfilters. Subfilters must be separated by '/' and can be disabled by prepending a '-'. Each subfilter and some options have a short and a long name that can be used @@ -261,6 +261,11 @@ Available filters are: ``--vf=pp:help`` shows a list of available subfilters. + .. note:: + + Unlike in MPlayer or in earlier versions, you must quote the pp string + if it contains ``:`` characters, e.g. ``'--vf=pp=[...]'``. + Available subfilters are: ``hb/hdeblock[:difference[:flatness]]`` @@ -373,10 +378,10 @@ Available filters are: ``--vf=pp=de/-al`` default filters without brightness/contrast correction - ``--vf=pp=default/tmpnoise:1:2:3`` + ``--vf=pp=[default/tmpnoise:1:2:3]`` Enable default filters & temporal denoiser. - ``--vf=pp=hb:y/vb:a`` + ``--vf=pp=[hb:y/vb:a]`` Horizontal deblocking on luminance only, and switch vertical deblocking on or off automatically depending on available CPU time. -- cgit v1.2.3