Audacity & OPUS Files?

As Doug has pointed out Audacity has the ability to easily import Opus files under Ubuntu 17.04 and also the ability to export as Opus with a small work around. To illustrate:

1. Importing Opus Files with Audacity

Audacity easily imports Opus files either by:

  1. Drag and drop the Opus files directly onto the main Audacity window
  2. File --> Import --> Audio from the Audacity main window

This has tested without flaw on my installation of Audacity 2.1.2 under Ubuntu 17.04.

2. Exporting Opus Files with Audacity

Audacity can export as Opus but does not have the capability to directly export as Opus or to use the conventional 'Custom FFmpeg Export' setting.

Instead go to:

File --> Export --> External Program

and change the Command options to something like the following:

enter image description here

And to make copying and pasting a little easier here is the command line:

ffmpeg -i - -c:a libopus -b:a 128k "%f"

And this should give you the results you are after...

Notes:

  • Audacity: Exporting to an External Program sends audio via a command-line to an external application, either for processing or for encoding as a file.