LinuxCommandLibrary

opusenc

encodes audio to Opus format

TLDR

Encode to Opus

$ opusenc [input.wav] [output.opus]
copy
Set bitrate
$ opusenc --bitrate [128] [input.wav] [output.opus]
copy
Set quality
$ opusenc --vbr --comp [10] [input.wav] [output.opus]
copy
Add metadata
$ opusenc --title "[title]" --artist "[artist]" [input.wav] [output.opus]
copy
Encode from pipe
$ ffmpeg -i [input] -f wav - | opusenc - [output.opus]
copy

SYNOPSIS

opusenc [options] input output

DESCRIPTION

opusenc encodes audio to Opus format. High-quality lossy compression.
The tool creates Opus files from WAV/FLAC. Part of opus-tools.

PARAMETERS

INPUT

Input audio file.
OUTPUT
Output Opus file.
--bitrate KBPS
Target bitrate.
--comp LEVEL
Complexity (0-10).
--vbr
Variable bitrate.
--title TITLE
Set title metadata.
--help
Display help information.

CAVEATS

Part of opus-tools. Input usually WAV/FLAC. Opus is lossy.

HISTORY

opusenc was created for encoding audio to the Opus codec format.

SEE ALSO

opusdec(1), ffmpeg(1), lame(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community