Opus Export Options

From Audacity Development Manual
Revision as of 15:48, 1 April 2020 by PeterSampson (talk | contribs) (VBR Mode: Opus at 128 kbps (VBR) is pretty much [https://en.wikipedia.org/wiki/Transparency_(data_compression) transparent].)
Jump to: navigation, search
Other languages
English
OPUS file format (also called "Ogg Opus") is a size-compressed and lossy audio format developed for Internet streaming. It uses both SILK (used by Skype) and CELT (from Xiph.Org) codecs and supports variable bit rates from 6 kb/s to 510 kb/s.

For further details on OPUS see this Wikpedia page.

Accessed by: File > Export > Export Audio... then choosing OPUS (OggOpus) Files (FFmpeg) from the Save as type dropdown menu.
File:OPUS FFmpeg export dialog.jpg
Also accessed by: File > Export > Export Multiple... then choosing OPUS (OggOpus) Files (FFmpeg) from the Save as type dropdown menu. In this case the options dialog will appear in the center of the Export Multiple dialog.


Opus Export Setup

The Format options offer different ways to control the trade-off between the size and quality of the exported files.

Bit Rate

Opus Export offers several different bit rate options for the export ranging from 24 kbps up to 510 kbps. The default is 128 kbps.

Opus at 128 kbps (VBR) is pretty much transparent.

Compression

This controls the degree of compression used ranging from 1 to 10 (default).

Frame Duration

The Frame Duration ranges from 2.5 ms to 60 ms. The default is 20 ms.

Opus uses a 20 ms frame size by default, as it gives a decent mix of low latency and good quality.

VBR Mode

This is the mode used for Variable Bit Rate. This can be On (default), Off or Constrained.


Opus at 128 kbps (VBR) is pretty much transparent.

Application

This defines what use you will be making of the exported file

  • VOIP: Voice over IP optimized for voice
  • Audio (default): optimized for audio
  • Low Delay: useful for communication purposes (like voice calls, video conferencing or making music via the internet), for which not only high compression ratios are necessary, but low latency is critical too.

Cutoff

This can range from Disabled (default) to Fullband.

Tip See this page from xiph.org on Opus Recommended Settings for these parameters.


Opus Export rates

OPUS export will only operate with a limited range of project rates ranging from 48000 Hz down to 8000 Hz. If you project sample rate is not set to one of: 8000, 12000. 16000, 24000 or 48000 you will see the following error message

OPUS Invalid Sample Rate.png

This allows you to choose a temporary rate for project resampling for the Export to continue.

Advice The default project sample rate in Audacity is 44100 Hz which is not one of the sample rates that OPUS export will work at.