Struct FfmpegOptions
zaun_client::FfmpegOptions · Struct
pub struct FfmpegOptions { … }How AudioResource::ffmpeg_file and its siblings transcode.
Fields
Section titled “Fields”bitrate_kbps: u32
Section titled “bitrate_kbps: u32”Opus bitrate in kbit/s, 8 to 256 (default 128).
volume: Option<f32>
Section titled “volume: Option<f32>”Gain, 0.0 to 4.0 (None leaves the volume alone).
seek: Option<Duration>
Section titled “seek: Option<Duration>”Start this far in.
program: PathBuf
Section titled “program: PathBuf”The ffmpeg program (default ffmpeg, found on PATH).
Trait implementations
Section titled “Trait implementations”Clone, Debug, Default