Skip to main content

Crate ff_remux

Crate ff_remux 

Source
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§

AudioAdder
Mux an audio track into a silent (or existing) video file.
AudioExtractor
Demux an audio track from a media file and write it to a standalone audio file.
AudioReplacement
Replace a video file’s audio track with audio from a separate source file.
StreamCopyTrim
Trim a media file to a time range using stream copy (no re-encode).
StreamCopyTrimmer
Trim a media file to a time range using stream copy (no re-encode).

Enums§

ErrorSeverity
Severity class of a media error: whether the failing operation can be retried without rebuilding the component that raised it.
RemuxError
Errors that can occur during stream-copy remuxing (trim, audio replace / extract / add).

Traits§

MediaError
Shared classification for the ff-* crate error types.