Home

Awesome

shad0r

frei0r mixer2 plugin that mixes video sources using WebGL GLSL transition shaders compatible with glsl.io.

Building

Install cmake, glew, glfw3, frei0r, pkgconfig, pthreads. Initialize ANGLE submodule git submodule update --init.

mkdir build
cd build
cmake ..

Running

MLT supports frei0r mixer2 plugins.

FREI0R_PATH=$PWD/build/src/mixer2 melt movie1.mov out=149 -track -blank 24 movie2.mov \
    -transition frei0r.shad0r in=25 out=149 a_track=0 b_track=1 real_time=0

Issues

This is a work in progress. Still need to add actual WebGL shader loading (currently hardcoded shader), and the ability to set uniforms. Also frei0r mixer2 time is effectively wall-clock time, not normalized to 0..1. This isn't useful.