News for hackers. Stuff that matters.
Re:Opus 1.2 Released by pimeys on Tuesday June 20, 2017 @06:01PM (#14598992)
I'm having all my music stored as Flac and automatically converted as Opus to my phone. I couldn't be happier to the quality and encoding speed. The only thing I think I should've done different is to use a lower bitrate than 192 kbps to store more music to the memory card.

I reasoned the additional lossy encoding of Bluetooth would be too much with lower bitrates, but now I'm not so sure...

Re:Opus 1.2 Released by shmerl on Tuesday June 20, 2017 @06:02PM (#14598998)
Yep, I do the same thing. I try to buy music only in FLAC, and then encode to Opus for playback.
Re:Opus 1.2 Released by pimeys on Tuesday June 20, 2017 @06:07PM (#14599034)
Although I'm not that happy with the replay gain support in Opus, so at work and at home I listen to the Flac files.
Re:Opus 1.2 Released by StavrosK on Tuesday June 20, 2017 @07:26PM (#14599408)
Does Android support Opus natively? One would hope so, given how open Opus is.
Re:Opus 1.2 Released by ac29 on Tuesday June 20, 2017 @07:47PM (#14599505)
Yes, since 5.0: https://developer.android.com/guide/topics/media/media-forma...

That claims they need to be in a MKV container, but I just use the output of opusenc.

Re:Opus 1.2 Released by indolering on Tuesday June 20, 2017 @09:05PM (#14599848)
I heard their implementation was really poor?
Re:Opus 1.2 Released by floatboth on Wednesday June 21, 2017 @06:18AM (#14602472)
Ogg container works, and the extension needs to be .ogg not .opus.
Re:Opus 1.2 Released by derf_ on Tuesday June 20, 2017 @07:43PM (#14599482)
It's required by the Android Compatibility Definition Document (in both MKV and Ogg containers), and it's been there since v5.0: https://source.android.com/compatibility/android-cdd.pdf
Re:Opus 1.2 Released by cyphar on Tuesday June 20, 2017 @07:37PM (#14599460)
You can play them in VLC, but a few years ago I remember that Opus wasn't recognised by Android's "media service" (meaning the native players couldn't even detect the existence of Opus files). It's probably changed since then though.

EDIT: It looks like TFA says that Android does use Opus:

> Opus is now widely deployed on a large range of platforms and devices (including Android, iOS, and all major browsers) and is exposed to untrusted data.

Re:Opus 1.2 Released by floatboth on Wednesday June 21, 2017 @06:19AM (#14602474)
Opus in Ogg is natively supported on Android. The extension needs to be .ogg not .opus.
Re:Opus 1.2 Released by cyphar on Wednesday June 21, 2017 @07:46AM (#14602832)
What about matroska (specifically .mka)?
Re:Opus 1.2 Released by Veratyr on Tuesday June 20, 2017 @10:33PM (#14600237)
Android supports the codec but there are issues with the MediaStore and how it deals with containers and file extensions.

My tests (on a Pixel running 7.0 and the O beta) have determined that Opus is usually fine as long as the container and file extensions are both Ogg. I have had a few issues with certain files but I'm not sure why yet, I suspect it's album art or something.

I don't believe Android <= 6.0 supports Opus as audio on its own. The CDD initially only required support for Opus in a Matroska container and I attempted to put an Opus-only Matroska file on my phone and none of the players were able to play it. As of either 6.0 or 7.0 (can't remember which), Ogg support is required though.

Re:Opus 1.2 Released by pimeys on Wednesday June 21, 2017 @03:20AM (#14601603)
I've been using Rocket Player with my Android 7 phone and it plays Opus just fine. Money well spent to the pro version.

https://play.google.com/store/apps/details?id=com.jrtstudio....