frei0r plugins that render video into a 3D scene using Bevy.
The scene should have a camera node named Camera - this is usually animated.
The filter should have an empty named Video1. The mixer2 should have two empties named Video1 and Video2.
The mixer3 should have three empties named Video1, Video2 and Video3.
These empties will have ForwardDecal inserted on them.
Build:
cargo build --workspace; cargo xtask package
MLT transition (mixer2):
FREI0R_PATH=target/debug melt https://assets.mixkit.co/videos/11007/11007-720.mp4 out=119 https://assets.mixkit.co/videos/1479/1479-720.mp4 out=119 -mix 120 -mixer frei0r.w0rld_mixer2 0=demo/room.glb -consumer avformat:output-melt.mp4
output-melt.mp4
ffmpeg filter (ignoring Video2 in the scene):
FREI0R_PATH=target/debug ffmpeg -t 3s -i https://assets.mixkit.co/videos/1479/1479-720.mp4 -vf frei0r=w0rld_filter:demo/room.glb -pix_fmt yuv420p -y output-ffmpeg.mp4