opusenc: add page (#4484)

beep
Terence Eden 2020-10-07 12:03:16 +01:00 committed by GitHub
parent d3526c8804
commit 915b8411f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages/linux/opusenc.md Normal file
View File

@ -0,0 +1,20 @@
# 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`