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.
Since Android 5.0, Opus has been "natively" supported.
Opus files can be opened with a variety of shareware media players, some, like VLC, have desktop, Android and iOS versions.
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 .
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With