You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tasks/android-aac-enc
Tim Su 62e493bd52 Localize VoiceRecognizer API 12 years ago
..
jni Merge commit 'b4ef1af8e81c10f4b7164e3038f130a496ec8fda' as 'android-aac-enc' 13 years ago
libs/armeabi Updated a bunch of stuff in the android aac project to fix build issues 13 years ago
res Merge commit 'b4ef1af8e81c10f4b7164e3038f130a496ec8fda' as 'android-aac-enc' 13 years ago
src/com Localize VoiceRecognizer API 12 years ago
.classpath Updated a bunch of stuff in the android aac project to fix build issues 13 years ago
.gitignore Updated a bunch of stuff in the android aac project to fix build issues 13 years ago
.project Merge commit 'b4ef1af8e81c10f4b7164e3038f130a496ec8fda' as 'android-aac-enc' 13 years ago
AndroidManifest.xml Repurposed Main from the aac project to be an api wrapper, started experimenting with using it in the quick add bar 13 years ago
README.md Merge commit 'b4ef1af8e81c10f4b7164e3038f130a496ec8fda' as 'android-aac-enc' 13 years ago
build.xml Updated a bunch of stuff in the android aac project to fix build issues 13 years ago
proguard.cfg Merge commit 'b4ef1af8e81c10f4b7164e3038f130a496ec8fda' as 'android-aac-enc' 13 years ago
project.properties Standardize Android AAC-ENC project on android-14 api target, just like our other projects. 12 years ago

README.md

Android AAC Encoder project

Extraction of Android Stagefright VO AAC encoder with a nice Java API.

In addition, includes a patched MP4Parser Java library for wrapping AAC files in an MP4 container to produce M4A audio files playable by Google Chrome and Apple QuickTime.

This project is set up as a single Eclipse project with a Main.java example activity. AAC encoding logic is found in jni/aac-enc.c, which needs to be built with the Android NDK. I used NDK r7c, but any version should work.

Why?

  • smaller code footprint than FFmpeg (< 500k compared to > 2M)
  • less native code to compile = less work to support new architectures
  • easiest way to make an M4A file

License

This project is released under the Apache License, version 2

Patents

This project grants you no rights to any of the patents this technology may require. However, since Android version 4.0 and up ship with the Stagefright VO AAC encoder, it is my understanding that you can release code that depends on these libraries for any version of Android. Please note that I am not a lawyer.

Have changes?

Pull requests are accepted!