Structs§
- Encode
Job - Parameters for a single encode.
- Encode
Result - Output of a completed encode.
- Ffmpeg
Version - Parsed FFmpeg version.
- Format
Info - Probe
Cache - Thread-safe probe result cache to avoid redundant ffprobe calls.
- Probe
Result - Progress
- Real-time encoding progress info parsed from FFmpeg.
- Resolution
- Video resolution.
- Stream
Info
Enums§
- Codec
- Supported video codec.
- Probe
Engine - Rate
Control Mode - Rate control mode for encoding.
Constants§
Functions§
- check_
ffmpeg - Run
ffmpeg -versionand parse the version line. Returns an error if the binary is not found or the version is too old. - check_
ffprobe - Run
ffprobe -versionand parse the version line. Returns an error if ffprobe is not found. - concat
- Concatenates multiple encoded chunks into a single output without re-encoding.
- encode
- Runs an FFmpeg encode job. Progress updates are sent on the channel if provided.
- extract
- Copies a segment of a video file without re-encoding.
- ffmpeg_
path - Returns the path to the ffmpeg binary.
- ffprobe_
path - Returns the path to the ffprobe binary.
- probe
- Runs ffprobe on the given file and returns parsed results.
- validate_
vmaf_ model - Validate that the given VMAF model name is recognized by libvmaf.