Precompiled Speex Libraries for iOS

Ever since I produced the Ogg and Vorbis libraries, I have been receiving requests to compile other open source media libraries. I’d love to be able to fulfill all such requests but, unfortunately, that just isn’t possible.

Today I am happy to be able to announce the availability of a precompiled version of Speex 1.2rc1 from speex.org.

Compilation

The library was compiled using Xcode 4.6.1 for the armv7, armv7s and i386 architectures.

Packaging

The libspeex.a and libspeexdsp.a along with the header files were combined into a pseudo-framework Speex.framework.

Testing

The decoder was tested on the iPhone simulator, running iOS 6.1, and on an iPhone 5, running iOS 6.0.1. The tests confirmed successful decoding; performance tests were not done.

The encoder has not been tested as yet.

Download

The pseudo-framework may be obtained from GitHub: IDZPrecompiledSpeex


About idz

A professional software engineer dabbling in iOS app development.
This entry was posted in Precompiled and tagged , . Bookmark the permalink.

5 Responses to Precompiled Speex Libraries for iOS

  1. james says:

    Hi~
    My name is James. (sunggwon@4nb.co.kr)
    I am a iOS developer.
    My app need sound codec. (1 encoding & 32 decoding at the same time)
    So i used speex codec.
    But codec’s performance was lower than my expectation.
    Is it normal ? or did i do something wrong ?

    cpu usage test of speex codec on iPad2. (tested by xcode instruments)
    ================================================================
    ## encoder test
    a) 1 encoding (VBR, Quality=10, Complexity=2)
    avg : 26 ~ 28 %
    peak: 38 %
    b) 1 encoding (VBR, Quality=0, Complexity=1)
    avg : 14 ~ 16 %
    peak: 20 %
    c) 1 encoding (VBR, Quality=1, Complexity=10)
    avg : 14 ~ 22 %
    peak: 30 %
    d) 1 encoding (VBR, Quality=10, Complexity=10)
    avg : 26 ~ 76 %
    peak: 94 %
    e) 1 encoding (CBR, Quality=10, Complexity=2)
    avg : 30 %
    peak: 40 %
    f) 1 encoding (CBR, Quality=0, Complexity=1)
    avg : 14 %
    peak: 20 %

    ## decoder test
    a) 1 decoding (encoding source: VBR, Quality=10, Complexity=2)
    avg: 6 ~ 8 %

    b) 10 decodings (encoding sources: VBR, Quality=10, Complexity=2)
    avg : 58 ~ 72 %
    peak: 82 %
    ================================================================

    Can you tell me any advice or some information ?
    Thanks.

    • idz says:

      Hi James. Sorry for the delay getting back to you. Those figures are about what I would have expected. Decoding 32 streams on an iPhone/iPad is hoping for a lot!!! You may want to investigate some of Apple’s built in compression algorithms as some of these are hardware accelerated.
      Regards,
      idz

  2. Pingback: Where can I find precompiled Ogg,Speex and Vorbis libraries for iOS? | Technology & Programming

  3. Pingback: Where can we find precompiled Ogg,Speex and Vorbis libraries for iOS? [closed] - Abella

Leave a Reply