[FFmpeg-devel] [PATCH] avfilter/vf_chromakey: Add chromakey video filter

Paul B Mahol onemda at gmail.com
Fri Sep 18 15:22:49 CEST 2015


On 9/18/15, Timo Rothenpieler <timo at rothenpieler.org> wrote:
>>
>> Have you explored way how to handle borders?
>
> You mean the outmost pixels, where the calculation is slightly inaccurate?
> Or the greenscreen spilling into the object because of light reflections?

Yes, the first one.

>
> The first could be addressed by adjusting the value for the
> out-of-bounds pixels.

This one is quite more obvious. Gonna write patch?

>
> The later is harder to fix, and maybe even needs another filter for
> spill reduction which filters out the greenscreen color.
>
> You can already get quite good results by playing with the similarity
> and blend values, eliminating most of the spill.
>
>
>


More information about the ffmpeg-devel mailing list