[FFmpeg-soc] expand filter (alternative to pad syntax)

vmrsss vmrsss at gmail.com
Sat May 17 12:50:56 CEST 2008


On 17 May 2008, at 03:08, compn wrote:
>> (3) I have added the possibility of specifying a color for the
>> padding. The structure which lists the colors is taken from
>> vf_drawbox.c. If people like the idea, that can easily be factored  
>> out
>> in some avfilter_common file.
>
> if you mean that we can have colored letterboxing (instead of black  
> frame, we
> can have blue frame) this is an old wishlist of vf expand :)

That's the idea: you can write

	pad=<various params>:color

where color is either one of the keywords

	blue, red, black, white, green, yellow, gray, grey

or specify any colour directly with the form

        yuv/Y/CR/CB

It would be easy to add a rgb/R/G/B form too.




More information about the FFmpeg-soc mailing list