view DOCS/tech/swscaler_filters.txt @ 24552:c9c2e550a449

MPEG-2 blocks at qp 1 get overfiltered by spp, apparently because "qp>>1" turns it into 0, which causes an integer overflow later. Clip qp at 1 to avoid this. patch by Alexander Strange, astrange ithinksw com
author diego
date Tue, 18 Sep 2007 14:08:08 +0000
parents 780caed72ac7
children 0ad2da052b2e
line wrap: on
line source

software scaler filter docs

-ssf cgb=<float> chrominance gaussian blur
	useful for videos with some chroma (color) noise (TV captures, VHS, ...)

-ssf lgb=<float> -> luminance gaussian blur
	hmm, mostly special effect, could be used as lame noise reducer though

-ssf chs=<int> -> shift chrominance horizontally
-ssf cvs=<int> -> shift chrominance vertically
	useful if the luma & chroma are not aligned exactly

-ssf cs=<float> -> chrominance sharpen
-ssf ls=<float> -> luminance sharpen
	simple sharpening filter

note: these will only work if the swscaler is used at all (use -vf scale)

example: mplayer foobar.avi -vf scale -ssf lgb=3.0