0
votes

My application(android 2.2 and later) needs to convert raw PCM audio recorded at 22kHz to AAC- (22 kHz) format. But the MediaCodec API is only available in android 4.1+ .

Is there any way i can convert pcm to aac in android 2.2 and later ?

1
You could build ffmpeg for Android and bundle it with your app.Michael
does it support all versions? They have only mentioned target os such as honeycomb, ics and android master branch on sourceforge.net/projects/ffmpeg4androidRaneez Ahmed

1 Answers

1
votes

FFmpeg for Android is a good way to go. Makefiles are tested only on mentioned targets, it doesn't mean they will not work on Froyo (and I believe they will). It is just that I do not have resources to test every possible build scenario. What I currently support is already too much for my equipment.