Skip to main content

Module settings

Module settings 

Source
Expand description

One canonical definition of the transcode “knobs”, shared by every front-end — the CLI (transcode / pipe), the HTTP API, and the IPC socket. Each surface parses its own syntax (clap flags / JSON / query string / key=value) into a TranscodeSettings, then calls TranscodeSettings::into_spec. Add a new option once here (a field + a line in into_spec + a parse_* arm) and every surface picks it up, instead of maintaining three copies of the spec-building logic.

Structs§

TranscodeSettings
Every optional transcode knob, surface-agnostic. All-None/empty is “use the defaults” (source-resolution single file, AV1 + audio passthrough, SDR).

Enums§

Mode
Output mode.

Functions§

parse_audio
parse_bit_depth
parse_color
parse_gpu_family
parse_mode
parse_rung
Parse a WxH rung, e.g. 1280x720.
parse_seam