Skip to content

rectalogic/gltf0r

Repository files navigation

gltf0r

frei0r plugins that render video into a 3D GLTF scene.

The scene should have a camera named Camera - this is usually animated. The filter should have a UV mapped mesh named Video1. The mixer2 should have two meshes named Video1 and Video2. The mixer3 should have three meshes named Video1, Video2 and Video3.

Build:

cargo build --workspace; cargo xtask package

Run the filter on macOS fish shell with ffmpeg on a cube_diorama.glb GLTF with a Camera and Video1 mesh:

ffmpeg=(brew --prefix ffmpeg-full) RUST_LOG=info FREI0R_PATH=target/debug $ffmpeg/bin/ffmpeg -i https://assets.mixkit.co/videos/1479/1479-720.mp4 -vf frei0r=gltf0r_filter:assets/cube_diorama.glb -pix_fmt yuv420p -y output.mp4
output.mp4

About

frei0r plugins to render GLTF scenes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages