2020-10-07 12:03:16 +01:00
|
|
|
# opusenc
|
|
|
|
|
|
|
|
> Convert WAV or FLAC audio to Opus.
|
|
|
|
> More information: <https://opus-codec.org/docs/opus-tools/opusenc.html>.
|
|
|
|
|
|
|
|
- Convert WAV to Opus using default options:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`opusenc {{path/to/input.wav}} {{path/to/output.opus}}`
|
2020-10-07 12:03:16 +01:00
|
|
|
|
|
|
|
- Convert stereo audio at the highest quality level:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`opusenc --bitrate {{512}} {{path/to/input.wav}} {{path/to/output.opus}}`
|
2020-10-07 12:03:16 +01:00
|
|
|
|
|
|
|
- Convert 5.1 surround sound audio at the highest quality level:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`opusenc --bitrate {{1536}} {{path/to/input.flac}} {{path/to/output.opus}}`
|
2020-10-07 12:03:16 +01:00
|
|
|
|
|
|
|
- Convert speech audio at the lowest quality level:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`opusenc {{path/to/input.wav}} --downmix-mono --bitrate {{6}} {{path/to/out.opus}}`
|