view DOCS/tech/swscaler_filters.txt @ 34635:7e0f50b4921c

Fix vo_png after FFmpeg merge. Now avcodec_open2() function wants a valid avctx->pix_fmt to be set, but the current vo_png opens the encoder in preinit() function, long before the exact pixel format is know. The fix moves the avcodec_open2() function to vo_png::config() and adds a check for changed pixel format in case there are more config() calls.
author iive
date Tue, 14 Feb 2012 17:06:09 +0000
parents 0ad2da052b2e
children
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