pub fn start_export(
project: Project,
opts: ExportOptions,
text: Arc<Mutex<TextRasterizer>>,
) -> Arc<Progress>Expand description
Start a full (re-encoding) export on a background thread. Frames are rendered at project size
with Compositor and audio mixed with Mixer into a temp WAV first (fast), then video frames are
piped to ffmpeg’s stdin. Progress 0..1; cancel kills ffmpeg and removes the partial file.
Audio-only extensions (mp3, wav, m4a, flac, ogg, aac, opus) skip video (-vn); gif skips audio.