[FFmpeg-devel] [PATCH] swscale: Support setting filters through AVOptions

wm4 nfxjfg at googlemail.com
Mon Oct 7 00:10:16 CEST 2013


On Sat,  5 Oct 2013 22:49:55 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:

> anything else could be used or the routine even be made to accept
> any character as separator.
> 
> Docs are omitted as i expect long bikesheds on the syntax and which
> separator char to use
> 
> Examples:
> -vf scale=640:480:src_filter=1#h-0.5#0#0#0#1
> -vf scale=640:480:src_filter=1#c1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1
> -vf scale=640:480:src_filter=1#lh-0.2#1#-0.2#lv1#0#0#0#0#0#0#0#0#0#0#0#0#1
> 
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---

Can't say much about it. I assume this easily allows
porting code that uses sws_getDefaultFilter()? What about code that
constructs SwsFilters directly?


More information about the ffmpeg-devel mailing list