2

I have several recorded sound files on an Android device which are encoded as aac (in an mp4 container). I also have some which are encoded as amr (in a 3gpp container). I wish to convert both types into raw PCM data values for the purpose of plotting the audio waveform to a Canvas.

Is there a library built into android which can do this conversion? If there is no standard way, what is the most common 3rd party library for this? The vast majority of examples I have found are encoding from PCM to other file formats, and not decoding to PCM.

Thanks.

EDIT: I would prefer not to use NDK if possible.

4

1 回答 1

1

似乎使用 ffmpeg 是规范的解决方案。

于 2013-06-18T21:56:37.333 回答