Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
use muxide::api::{MuxerBuilder, VideoCodec};
use std::{fs::File, path::Path};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let out = Path::new(env!("CARGO_MANIFEST_DIR")).join("fixtures/minimal.mp4");
let file = File::create(&out)?;
let muxer = MuxerBuilder::new(file)
.video(VideoCodec::H264, 640, 480, 30.0)
.build()?;
muxer.finish()?;
let size = std::fs::metadata(&out)?.len();
println!("Wrote {} bytes to {}", size, out.display());
Ok(())
}