[vlc-devel] How to blend images only on Y channel?

Rémi Denis-Courmont remi at remlab.net
Mon Sep 3 11:19:06 CEST 2012

Le vendredi 31 août 2012 01:38:24, Peter Tap a écrit :
> Folks,
> In my video filter, I need to blend an image with the movie being shown.
> However, I just want to blend them on the Y channel without modifying the
> other two channels. I am wondering if anyone can share any insight on how
> this can be done. For the moment, I am just using filter_configureBlend
> and blending on all channels.

I don't think there is a way to do that out of the box. You would probably 
need a new filter. The alpha channel is shared across all components.

Rémi Denis-Courmont

More information about the vlc-devel mailing list