ポストプロセス・サブフィルタの適用。サブフィルタの区切りは '/' 。 '-'を前置すると非適用になる。 各サブフィルタとそのオプションには、ロングネームとショートネームを持つものがあり、どちらを使っても良い。 例えば、drとderingは同じ。 全てのサブフィルタは適用範囲を決めるのに同一の共通オプションを使う:
NOTE: -pphelp で使用できるサブフィルタのリストが出る。*1
使えるフィルタは以下の通り。
<difference>: Difference factor where higher values mean more deblocking (de- fault: 32).
<flatness>: Flatness threshold where lower values mean more deblocking (de- fault: 39).
<difference>: Difference factor where higher values mean more deblocking (de- fault: 32).
<flatness>: Flatness threshold where lower values mean more deblocking (de- fault: 39).
精密な垂直デブロック
<difference>: Difference factor where higher values mean more deblocking (de- fault: 32).
<flatness>: Flatness threshold where lower values mean more deblocking (de- fault: 39).
<difference>: Difference factor where higher values mean more deblocking (de- fault: 32).
<flatness>: Flatness threshold where lower values mean more deblocking (de- fault: 39).
垂直と水平のデブロックはdifferenceとflatnessの値を共同使用する。このため、それぞれに別の値を指定できない。
<threshold1>: larger -> stronger filter- ing
<threshold2>: larger -> stronger filter- ing
<threshold3>: larger -> stronger filter- ing
自動ブライトネス/コントラスト補正
f/fullyrange: Stretch luminance to (0-255).
リニアブレンド・デインターレーサ。ブロック毎に全ラインに(1 2 1)フィルタをかける。
リニア補完デインターレーサ。ブロック毎に全セカンドラインをリニアに補完。
キュービック(三次元)補完デインターレーサ。ブロック毎に全セカンドラインを三次元補完(*前後のフレームも見るということか*)。
中央値デインターレーサ。ブロック毎に全セカンドラインを中央値補完。
FFmpegのデインターレースフィルタ。ブロック毎に全セカンドラインに(-1 4 2 4 -1)フィルタをかける。
垂直方向に適用されるFIR lowpassデインターレーサ。ブロック毎に全ラインに(-1 2 6 2 -1)フィルタをかける。
Overrides the quantizer table from the in- put with the constant quantizer you speci- fy.
<quantizer>: quantizer to use
デフォルトのppフィルタセット(hb:a,vb:a,dr:a)
高速な ppフィルタセット(h1:a,v1:a,dr:a)
ハイクオリティの ppフィルタセット(ha:a:128:7,va:a,dr:a)
EXAMPLE:
-vf pp=hb/vb/dr/al
horizontal and vertical deblocking, dering- ing and automatic brightness/contrast
-vf pp=de/-al
default filters without brightness/contrast correction
-vf pp=default/tmpnoise:1:2:3
Enable default filters & temporal denoiser.
-vf pp=hb:y/vb:a
Horizontal deblocking on luminance only, and switch vertical deblocking on or off automatically depending on available CPU time.
http://guru.multimedia.cx/?p=8:ppとsppの比較画像
Enables the specified chain of postprocessing sub- filters. Subfilters must be separated by '/' and can be disabled by prepending a '-'. Each subfil- ter and some options have a short and a long name that can be used interchangeably, i.e. dr/dering are the same. All subfilters share common options to determine their scope:
a/autoq
Automatically switch the subfilter off if the CPU is too slow.
c/chrom
Do chrominance filtering, too (default).
y/nochrom
Do luminance filtering only (no chromi- nance).
n/noluma
Do chrominance filtering only (no lumi- nance). NOTE: -pphelp shows a list of available subfilters.
Available subfilters arehb/hdeblock[:differ- ence[:flatness]]
horizontal deblocking filter
<difference>: Difference factor where higher values mean more deblocking (de- fault: 32).
<flatness>: Flatness threshold where lower values mean more deblocking (de- fault: 39).
vb/vdeblock[:differ- ence[:flatness]]
vertical deblocking filter
<difference>: Difference factor where higher values mean more deblocking (de- fault: 32).
<flatness>: Flatness threshold where lower values mean more deblocking (de- fault: 39).
ha/hadeblock[:differ- ence[:flatness]]
accurate horizontal deblocking filter
<difference>: Difference factor where higher values mean more deblocking (de- fault: 32).
<flatness>: Flatness threshold where lower values mean more deblocking (de- fault: 39).
va/vadeblock[:differ- ence[:flatness]]
accurate vertical deblocking filter
<difference>: Difference factor where higher values mean more deblocking (de- fault: 32).
<flatness>: Flatness threshold where lower values mean more deblocking (de- fault: 39).
The horizontal and vertical deblocking filters share the difference and flatness values so you cannot set different horizontal and vertical thresholds.
h1/x1hdeblock
experimental horizontal deblocking filter
v1/x1vdeblock
experimental vertical deblocking filter
dr/dering
deringing filter
tn/tmpnoise[:thresh- old1[:threshold2[:thresh- old3]]]
temporal noise reducer
<threshold1>: larger -> stronger filter- ing
<threshold2>: larger -> stronger filter- ing
<threshold3>: larger -> stronger filter- ing
al/autolevels[:f/fullyrange]
automatic brightness / contrast correction
f/fullyrange: Stretch luminance to (0-255).
lb/linblenddeint
Linear blend deinterlacing filter that deinterlaces the given block by filtering all lines with a (1 2 1) filter.
li/linipoldeint
Linear interpolating deinterlacing filter that deinterlaces the given block by lin- early interpolating every second line.
ci/cubicipoldeint
Cubic interpolating deinterlacing filter deinterlaces the given block by cubically interpolating every second line.
md/mediandeint
Median deinterlacing filter that deinter- laces the given block by applying a median filter to every second line.
fd/ffmpegdeint
FFmpeg deinterlacing filter that deinter- laces the given block by filtering every second line with a (-1 4 2 4 -1) filter.
l5/lowpass5
Vertically applied FIR lowpass deinterlac- ing filter that deinterlaces the given block by filtering all lines with a (-1 2 6 2 -1) filter.
fq/forceQuant[:quantizer]
Overrides the quantizer table from the in- put with the constant quantizer you speci- fy.
<quantizer>: quantizer to use
de/default
default pp filter combination (hb:a,vb:a,dr:a)
fa/fast
fast pp filter combination (h1:a,v1:a,dr:a)
ac
high quality pp filter combination (ha:a:128:7,va:a,dr:a)
EXAMPLE:
-vf pp=hb/vb/dr/al
horizontal and vertical deblocking, dering- ing and automatic brightness/contrast
-vf pp=de/-al
default filters without brightness/contrast correction
-vf pp=default/tmpnoise:1:2:3
Enable default filters & temporal denoiser.
-vf pp=hb:y/vb:a
Horizontal deblocking on luminance only, and switch vertical deblocking on or off automatically depending on available CPU time.