On Wed, Feb 20, 2019 at 10:07 PM <amin...@gmail.com> wrote:

> Apologies in advance for a semi-novice question:
>
> I'm looking for a way to achieve something like the luma transition, but
> using a greyscale video instead of a PGM file for the luma map file.
>
> The first frame of the greyscale video will be all white; the last all
> black (or vice-versa). What I'd like is for that white/black to correspond
> to the alpha, so that everywhere that's fully-black in the greyscale video,
> we can "see through" to the second full-color clip. Everywhere that's 50%
> black will be a 50-50 mix of the first and second clips, etc.
>
> Is this possible?
>
> Thanks!
> Tom
>

Use the shape filter and set the "use_luminance" property to 1. You might
also want to set "audio_match" to 0 to prevent audio from being affected
and set "use_mix" to 0 to prevent the "threshold" behavior of the classic
luma transition. This basically copies the luma from the "resource"
property's producer to the alpha channel. Then, you need to use any number
of compositing transitions. I am sorry this filter is under documented and
you need to read the source or use Shotcut's Mask: From File filter to
learn about it.

-- 
+-DRD-+
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to