Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Playback of opus-codec on Android

I'm looking for a way to integrate opus-codec (the decoder part) with my Android application.

Do you know of any implementations that have done so? We are currently using ogg-vorbis for spoken prompts, considering going with either speex (deprecated, but with few documented attempts) or opus (currently no documented attempts).

If we would have to go the NDK route, do you think it should provide us with a application size improvement? OggVorbis is supported by the platform, neither speex nor opus are.

like image 827
qdot Avatar asked Sep 18 '12 09:09

qdot


People also ask

Can Android Play OPUS files?

Since Android 5.0, Opus has been "natively" supported.

What program opens OPUS files?

Opus files can be opened with a variety of shareware media players, some, like VLC, have desktop, Android and iOS versions.

How do I play OPUS files on VLC?

Download and install VLC from https://www.videolan.org/vlc/. You may need to right click the . opus file and select “Open With…” If VLC does not appear in the list, select “More Apps” on Windows 10 (More Options on Windows 8). Select VLC from the list and make sure the box “Always use this app to open .


1 Answers

I recommend you have a look at the Opus API documentation. Also, there's now an OpusFile library (equivalent to Vorbis' libvorbisfile) in early development. Otherwise, you can always read the opusdec source code.

like image 165
Jean-Marc Valin Avatar answered Nov 02 '22 09:11

Jean-Marc Valin