opusenc

Convert WAV or FLAC audio to Opus. More information: <https://opus-codec.org/docs/opus-tools/opusenc.html>.

Install

All systems
curl cmd.cat/opusenc.sh
Debian Debian
apt-get install opus-tools
Ubuntu
apt-get install opus-tools
Alpine
apk add opus-tools
Arch Arch Linux
pacman -S opus-tools
image/svg+xml Kali Linux
apt-get install opus-tools
Fedora
dnf install opus-tools
Windows (WSL2)
sudo apt-get update sudo apt-get install opus-tools
OS X
brew install opus-tools
Raspbian
apt-get install opus-tools
Docker
docker run cmd.cat/opusenc opusenc powered by Commando

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

© tl;dr; authors and contributors