Вы находитесь на странице: 1из 2

1/19/2017 sound - How do I install the opus audio encoder?

- Ask Ubuntu
Ubuntu Community Ask! Developer Design Discourse Hardware Insights Juju Shop More


sign up log in tour help

_
Ask Ubuntu is a question and answer site Here's how it works:
for Ubuntu users and developers. Join
them; it only takes a minute:

Sign up
Anybody can ask Anybody can The best answers are voted
a question answer up and rise to the top

How do I install the opus audio encoder?

I would like to try out the opus audio encoder, but can't find it in the repositories. Can anyone here help me get it installed on my computer? I have
some wav files which I would like to convert to the opus audio format.

However, I have found this link, but each time I click on the appropriate deb download, the package manager opens, but displays an error message
saying that there are dependency issues (lib0gg0).

sound encoding ogg-opus

edited Apr 11 '16 at 8:36 asked Aug 6 '12 at 18:46


andrew.46 oshirowanen
12.9k 9 35 73 1,249 13 50 87

My answer here might help if you are on 12.04. user76204 Jan 10 '13 at 2:25

2 Answers

The opus audio codecs are installed with the following packages:

libogg0 (>= 1.3.0)


libopus0
opus-tools

All these packages are already built ready to be available for Ubuntu 12.10 alpha and can be
downloaded from the mirrors.

However be warned: if you downloaded these not yet fully tested packages and installed them
manually in an earlier Ubuntu release you may break your sound system in case there are
incompatibilites. This may especially be true for the Ogg library as the upgraded version replaces
the previous installed older version.

answered Aug 6 '12 at 20:28


Takkat
81.7k 31 207 304

This is an older question but times have indeed changes and with Trusty Tahr now you have a
few easier choices:

1. Install the opus-tools package:

sudo apt-get install opus-tools

http://askubuntu.com/questions/172705/how-do-i-install-the-opus-audio-encoder 1/2
1/19/2017 sound - How do I install the opus audio encoder? - Ask Ubuntu
and then create opus files from the commandline:
opusenc --bitrate 128 input.wav output.opus

2. Install the libav-tools package:

sudo apt-get install libav-tools

and then create your opus files from the commandline:


avconv -i input.wav -c:a libopus -b:a 128k output.opus

Newer versions of Ubuntu can now use FFmpeg rather than avconv, but still using the external
libopus library...

answered Apr 11 '16 at 5:10


andrew.46
12.9k 9 35 73

http://askubuntu.com/questions/172705/how-do-i-install-the-opus-audio-encoder 2/2

Вам также может понравиться