On Tue, Oct 14, 2014 at 3:45 AM, Janne Liljeblad <janne.liljeb...@gmail.com>
wrote:
> Hi,
>
> Just got mail from Flowblade user asking for luma key functionality.
> After looking at freior and mlt source it seems to me that we don't
> have anything useful.
>
> If indeed there is nothing, I can hack something together with params
> "threshold", "slope" and "invert".
>
> Is there some mlt filter that writes to alpha channel that can be used
> as an template for making a lumakey filter?
>
>
I do not know details of luma-keying, but maybe one can use existing chroma
key filters to do it? Also, existing frei0r.screen and frei0r.cairoblend
with blend mode = screen can treat black as transparent. If you want to
modify the alpha channel of a frame, you can require mlt_image_rgb24a and
only overwrite alpha bytes. Or, if you want to accept other image format
for optimization, then for mlt_image_rgb24a write the alpha bytes, and for
other formats call mlt_frame_set_alpha_mask().
--
+-DRD-+
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel