Opus Container & Codec Support Bug ???

I have been waiting very, very, very patiently for the next release of audacity to come out.

Now that i have upgraded from 2.0.5 to 2.0.6 i have found that the FFmpeg v2.2.2 for Audacity on Windows
seems to have a bug in it when it comes to saving audio files (exporting) in Opus format.

The files are empty i.e. are 0 bytes in file size.
I have checked the internet via google for all references to ‘audacity’ and ‘opus’, and my conclusion is that there seems
to be very little involement/interest in supporting .Opus, the free alternative to AAC, HE-AAC v1, HE-AAC v2.

Can somebody in the Audacity DEV Department please corroberate this ?

Show All Formats: Show All Codecs:

crc libopus

If ‘ffm’ in the FIRST column (under ‘Show All Formats’) is selected:

Format: ffm - FFM (FFserver live feed) Codec: [1330664787] libopus - Opus

The only fields that are NOT greyed out are:

Sample Rate:

I have tryed the follow data in fields:

TAG - Left empty
BitRate: 128
Sample Rate: 44100

PC: AMD Hex-Core
OS: Windows 8.1 Pro (x64)

Audacity is a free product run by volunteers in their spare time :wink:

We urgently need more volunteers for developing, testing and documentation. Donations to support Audacity are hugely welcomed.

Opus (and Speex) exports do not work using “FFmpeg Custom Export”. That whole dialogue is very buggy. We may be in future be moving to GStreamer instead of FFmpeg so there is not a great deal of motivation to address the issues in that dialogue.

What you need to do is choose “(external program)” instead. Assuming you used the installer for FFmpeg and did not change the installation path, enter this command:

ffmpeg -i - -acodec libopus "%f"

Then type your file name normally, except add the “.opus” extension (without quotes) after the end of the file name. For example:

my song.opus

For more help please read Exporting to an External Program .

I assume you are aware that Windows Media Player won’t play Opus files. You will have to use VLC, Foobar2000 or other more “advanced” players.


Thank you very much for clarifying this for me.

Nice to know that i can save as .Opus format.

I will look into GStreamer.

I do appreciate all the work that the audacity team put into this great app :slight_smile:

GStreamer is not an end-user application. It’s just a media framework that lets developers integrate its functionality into their own applications.