# Struct FfmpegOptions

> How `AudioResource::ffmpeg_file` and its siblings transcode.

`zaun_client::FfmpegOptions` · Struct

```rust
pub struct FfmpegOptions { … }
```

How `AudioResource::ffmpeg_file` and its siblings transcode.

## Fields

### `bitrate_kbps: u32`

Opus bitrate in kbit/s, 8 to 256 (default 128).

### `volume: Option<f32>`

Gain, 0.0 to 4.0 (`None` leaves the volume alone).

### `seek: Option<Duration>`

Start this far in.

### `program: PathBuf`

The ffmpeg program (default `ffmpeg`, found on `PATH`).

## Trait implementations

`Clone`, `Debug`, `Default`

[Full rustdoc page](/docs/api/rust/zaun-client/zaun_client/voice/player/struct.FfmpegOptions.html)
