mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 07:41:50 +00:00
26 lines
729 B
Plaintext
26 lines
729 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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:
|
|
|
|
`opusenc {{path/to/input.wav}} {{path/to/output.opus}}`
|
|
|
|
- Convert stereo audio at the highest quality level:
|
|
|
|
`opusenc --bitrate {{512}} {{path/to/input.wav}} {{path/to/output.opus}}`
|
|
|
|
- Convert 5.1 surround sound audio at the highest quality level:
|
|
|
|
`opusenc --bitrate {{1536}} {{path/to/input.flac}} {{path/to/output.opus}}`
|
|
|
|
- Convert speech audio at the lowest quality level:
|
|
|
|
`opusenc {{path/to/input.wav}} --downmix-mono --bitrate {{6}} {{path/to/out.opus}}`
|