Expand description
Video export: raw RGBA frames are piped into ffmpeg (no intermediate
files) from a writer thread, so encoding overlaps with rendering.
ffmpeg is looked up in PATH (or an explicit path); if it is missing,
ExportError::FfmpegNotFound carries installation instructions.
Structs§
- Audio
- Soundtrack to mux into the video.
- Export
Options - What to export and where.
- Exporter
- Receives frames in order and writes them out.
Enums§
- Export
Error - Why an export failed.
- Format
- Output format.
Constants§
- FFMPEG_
HELP - Installation hint shown when ffmpeg is missing.
Functions§
- ffmpeg_
args - Command line for ffmpeg (without the program name).
- find_
ffmpeg - Finds
ffmpeg: the explicit path if given, else the first match inPATH(with.exeon Windows). - media_
duration - Duration of a media file in seconds (via ffmpeg’s decoder).
- waveform
- Peak envelope of an audio file for the editor’s waveform:
bucketsvalues in0..=1, decoded with ffmpeg at 8 kHz mono.