On Sat, May 30, 2020 at 10:49 AM <amin...@gmail.com> wrote:

> Hi all - what's the current state of running custom GLSL shaders for
> effects and transitions in MLT? In 2017 it appears it wasn't supported, at
> least using Movit.
>
> Specifically, I'd like to write shaders that take frames from multiple
> producers as input.
>
>
It is only possible for two inputs (transition) using WebGL with WebVfx. It
includes an example based GL transitions <https://gl-transitions.com>:
https://github.com/mltframework/webvfx/blob/master/demo/examples/transition-shader-glslio.html

Otherwise, as a single input filter, there is an add-on to FFmpeg
libavfilter to use GLSL that you would need to extend to read from a
specified file.

The nice thing about WebVfx is that it already provides the framework to
make MLT properties - including animated with keyframes - available to the
shader uniforms by way of the JavaScript required to use WebGL. Otherwise,
a pure MLT plugin would require something to define how properties map to
uniforms.
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to