Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OPUS Audio codec encoding for iPhone

Tags:

audio

codec

voip

Can the recently released OPUS Audio codec (libopus?) be compiled to run on mobile devices (read iPhone/Android)?

I've searched and came to the conclusion that te documentation states it runs on ARM devices but after trying to compile the library it always fails when cross-compiling.

Am I mistaken or there is no support for such devices tat this time?

like image 446
Agah PT Avatar asked Sep 20 '12 16:09

Agah PT


People also ask

How do I play OPUS files on my iPhone?

Yes, apps on iPhone can play . opus files, but you'll still have to use a 3rd party player on macOS to play the file. That just means that Apple's QuickTime still doesn't support the format as of January 2, 2019. This format is used in common apps such as WhatsApp to communicate audio recordings between users.

What audio format is OPUS?

Opus is a lossy audio coding format developed by the Xiph.Org Foundation and standardized by the Internet Engineering Task Force, designed to efficiently code speech and general audio in a single format, while remaining low-latency enough for real-time interactive communication and low-complexity enough for low-end ...

What bitrate should I use for OPUS?

Opus supports bitrates from 6 kbps to 510 kbps for typical stereo audio sources (and a maximum of around 255 kbps per channel for multichannel audio), with the 'sweet spot' for music and general audio around 30 kbps (mono) and 40–100 kbps (stereo).

Is OPUS better than FLAC?

Listening to the same song, one after the other, in the two formats, I found that the Opus feed sounded better to my ears. I could hear more percussion on strings and cymbal crashes with the Opus feed than the FLAC feed.


2 Answers

The one thing I was missing was the Host, it turned out to be 'arm-apple-darwin' now it is working correctly.

./configure --host=arm-apple-darwin 
like image 164
Agah PT Avatar answered Oct 20 '22 02:10

Agah PT


For me it builds directly on Xcode. No need to use cross compilers. I am compiling it for iOS.

like image 36
superg Avatar answered Oct 20 '22 03:10

superg