Skip to main content
Topic: Android 5 & OPUS (Read 18033 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Android 5 & OPUS

I have head Android 5 has opus native support, my nexus 4 got the newest android and I uploaded few opus files into phone memory and tried to play them using google music application. It doesn't work! What am I doing wrong?

Android 5 & OPUS

Reply #1
I haven't tested, but maybe the Google Music app hasn't been updated to recognize Opus?  The android sdk does say that 5.0 has Opus support, but I suppose apps will still have to be updated to recognize the new file format.

Android 5 & OPUS

Reply #2
It make sense to add  it doesn't even see opus files, and can't play if I force to open using explorer.

Android 5 & OPUS

Reply #3
I have head Android 5 has opus native support, my nexus 4 got the newest android


argh.. my nexus 7 is still getting the 4.4.4 update which always fails to install.

Android 5 & OPUS

Reply #4
I can't play any Opus files on Lollipop either at the moment. If it's supported natively then perhaps soon we will see Opus support in major players like Poweramp.

Android 5 & OPUS

Reply #5
This "supported natively" it is a real stumbling block for me. Everyone can interpret "natively" differently.
I expect I can play opus files by google music app, someone else accepts android core can decode opus stream and so on so force. So the question is there any person that is able to clarify what does this  "supported natively" mean? 

Android 5 & OPUS

Reply #6
The decoder is included in the os and be called from any app running on the device.

It doesn't mean all apps gain the ability to play opus files. That is up to each app to decide if they want to add support for the format.

Android 5 & OPUS

Reply #7
I can't play any Opus files on Lollipop either at the moment. If it's supported natively then perhaps soon we will see Opus support in major players like Poweramp.


With MX Player Pro I can play opus -I'm stuck with 4.2.2 rom.
Even though it is a video player you can use it as an audio player also.
Select  settings>Audio>Audio Player to use as audio player.

I stopped waiting for poweramp to include opus support.....


Android 5 & OPUS

Reply #8
I can't play any Opus files on Lollipop either at the moment. If it's supported natively then perhaps soon we will see Opus support in major players like Poweramp.


With MX Player Pro I can play opus -I'm stuck with 4.2.2 rom.
Even though it is a video player you can use it as an audio player also.
Select  settings>Audio>Audio Player to use as audio player.

I stopped waiting for poweramp to include opus support.....




I prefer using audio player for features like organizing playlists, but thanks for suggestion.

For me native support means that OS provides a function to play it, for example in the Media API, so it should be very simple to implement opus playback.

Android 5 & OPUS

Reply #9
It might be interesting. There was a review of different audio players on Android. Link

According to it Neutron player is very powerful alternative which support Opus among a lot of other formats.

Android 5 & OPUS

Reply #10
So Google does not know how to implement the API in a way similar to Windows (DirectShow and the like)? It allows for generic players (like Windows Media Player or Media Player Classic). Installing a codec is enough to support a previously unsupported format on existing players without any changes to the player at all.

Or is it just that no developer coded their player to take advantage of this?

Android 5 & OPUS

Reply #11
It works essentially the same way as windows. Apps on both formats can decode any format the os understands but that doesn't mean you can use any format in any program.

Android 5 & OPUS

Reply #12
Why native support is so important ?
Your computer OS do not support natively FLAC or Opus (windows 7, 8, 8.1 or Mac X and above), so you probably use Foobar 2000 or an equivalent to read FLAC or Opus files. With an Android based OS there is no issue to use any third party software capable of doing this.
For example I use Neutron music player (on a Xperia Z3 Compact) to read Opus files at average 130 Kbps bitrate and I do not care if my Android version support it natively or not.

Android 5 & OPUS

Reply #13
Battery life. A native decoder implemented in Android that runs on a DSP requires far less power than a selfmade decoder in an app, running on an actual CPU core.


Android 5 & OPUS

Reply #15
A native decoder implemented in Android that runs on a DSP

I doubt that such audio decoders exist.


Of course that exists. Opus runs of TI C55xx and C6xxx series, on Blackfin, and probably on just about any DSP with a C compiler. That being said, audio decoding is so incredibly cheap these days that I doubt it makes a difference where it's running exactly.

Android 5 & OPUS

Reply #16
Interesting, thanks.

Quote
The C55x CPU provides two multiply-accumulate (MAC) units, each capable of 17-bit x 17-bit multiplication and a 32-bit add in a single cycle. [...] In addition, the TMS320C5535 includes a tightly coupled FFT Hardware Accelerator [that] supports 8- to 1024-point (in power of 2) real and complex-valued FFTs.
(It's a bit unfortunate for Opus that it also requires radix 3 and 5 butterflies  )

Android 5 & OPUS

Reply #17
TI parts aren't used in phones or tablets so that doesn't really matter with respect to this thread.

Android 5 & OPUS

Reply #18
Interesting, thanks.

Quote
The C55x CPU provides two multiply-accumulate (MAC) units, each capable of 17-bit x 17-bit multiplication and a 32-bit add in a single cycle. [...] In addition, the TMS320C5535 includes a tightly coupled FFT Hardware Accelerator [that] supports 8- to 1024-point (in power of 2) real and complex-valued FFTs.
(It's a bit unfortunate for Opus that it also requires radix 3 and 5 butterflies  )


Most importantly, the C55x is a 16-bit architecture where ints, pointers and even *chars* are 16-bits wide. This makes it a real PITA to program because you can't address 8-bit bytes and the memory is split into segments.

Android 5 & OPUS

Reply #19
Both VLC and GoneMAD support Opus (even in 4.4), VLC even supports Opus in MKV (which the desktop version doesn't), Been making a few micro-rips using 64kbps Opus and some low bitrate (325kbps) x264 @ 360p.

I would be curious if just the matter of keeping the CPU idle to instruct the DSP is worth the while when you could just be running the decoder on the CPU, At low clock speeds the CPU generally don't see much power saving.

Android 5 & OPUS

Reply #20
...VLC even supports Opus in MKV (which the desktop version doesn't), Been making a few micro-rips using 64kbps Opus and some low bitrate (325kbps) x264 @ 360p.


Thanks for posting this.  I'll now be using Opus for video consumption on portable devices.

Android 5 & OPUS

Reply #21
Opus is a pretty medium-complexity codec, compared to HE-AAC (let alone video). It's about the same speed as LC-AAC, half the speed of Vorbis and MP3, and twice as fast as HE-AAC. (FLAC is in a league of its own; it's as fast on CPU as other codecs are on dedicated hardware.) Dedicated hardware would have been a game-changer in the iPod days, but right now it's unlikely that it'd even send a single A7 core into a higher power state.

As long as it's supported in the OS, that at least means devs don't have to bundle a library, which is a big plus for developers. Hopefully the base player will be updated soon; it's pretty shocking that it wasn't at the time.

Android 5 & OPUS

Reply #22
Can CM12 users say if native Opus decodeing is already present or not?

Android 5 & OPUS

Reply #23
I finally moved to Android 5 and guess what..NO Opus support ;(
The libs list in filesystm says it clear - no opus decoder supplied
I guess the library should be named libste_dec_opus.so

Android 5 & OPUS

Reply #24
Finally certain post. These months I felt like it is necessary to catch a black cat as she there simply is not present in a dark room.

 
SimplePortal 1.0.0 RC1 © 2008-2019