[FFmpeg-devel] [PATCH] avfilter: add maskedmerge filter

Paul B Mahol onemda at gmail.com
Wed Sep 30 16:16:34 CEST 2015

On 9/30/15, Nicolas George <george at nsup.org> wrote:
> Le quintidi 5 vendemiaire, an CCXXIV, Paul B Mahol a ecrit :
>> +Merge first input stream with second input stream using per pixel weights
>> in
>> +the third input stream. 0 means that pixel component from first stream
>> is
>> +returned unchanged while 255 for 8-bit videos means that pixel component
>> from
>> +second stream is returned unchanged.
> If I read this correctly, it would be equivalent to:
> 	[second] [third] alphamerge [ov] ;
> 	[first] [ov] overlay
> Am I mistaken? A few words in the doc to explain what the difference is
> exactly would be useful.

You are mistaken, overlay filter uses alpha plane to do blending for
all other planes while this filter uses each plane in 3rd input to
blend same planes in 1st and 2nd input. This should be obvious from
existing documentation.

> Regards,
> --
>   Nicolas George

More information about the ffmpeg-devel mailing list