Packing RAW AAC into m4a container?

后端 未结 2 1440
暗喜
暗喜 2021-01-18 11:09

I have an Android app using FAAC to convert raw PCM into raw AAC, but now I don\'t know how it can be packed into m4a container.

I\'ve searched on the net and found

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-18 12:09

    This AACEncoder Project on Github seems to be great! And it works for me.

    It actually has the ability encode raw PCM wave file into AAC raw file and then repack that raw AAC file into MP4(M4A) container.

    So if you are just looking to convert raw AAC into M4A, this class will be a good start and dont forget to add its dependencies.

    But its definitely a good choice for someone who wants do it without FFMPEG and NDK.

提交回复
热议问题