Skip to main content

Module audio

Module audio 

Source
Available on crate feature render and non-target_family=wasm only.
Expand description

Audio muxing for rendered outputs.

The scene’s audio plane is mixed in one offline pass, written to a temporary WAV, and merged into the finished video by a second ffmpeg pass (video stream copied, audio encoded per container format).

Functions§

audio_codec 🔒
The audio codec for a container format; None where audio cannot be stored (GIF).
mux_audio_into_video 🔒
Mix and mux pcm into the finished video at video_path.