Expand description
§ff-remux
Stream-copy remuxing over FFmpeg: trim a clip, and replace / extract / add an
audio stream, all without re-encoding (a bitstream copy through
libavformat’s demuxer and muxer).
This is a distinct FFmpeg area from encoding (ff-encode wraps libavcodec);
ff-remux wraps libavformat stream copy. Use it on its own, or combine it with
the other ff-* crates. Errors are typed and contextual (RemuxError).
Part of the avio crate family; each
crate is versioned independently.
Structs§
- Audio
Adder - Mux an audio track into a silent (or existing) video file.
- Audio
Extractor - Demux an audio track from a media file and write it to a standalone audio file.
- Audio
Replacement - Replace a video file’s audio track with audio from a separate source file.
- Stream
Copy Trim - Trim a media file to a time range using stream copy (no re-encode).
- Stream
Copy Trimmer - Trim a media file to a time range using stream copy (no re-encode).
Enums§
- Error
Severity - Severity class of a media error: whether the failing operation can be retried without rebuilding the component that raised it.
- Remux
Error - Errors that can occur during stream-copy remuxing (trim, audio replace / extract / add).
Traits§
- Media
Error - Shared classification for the
ff-*crate error types.