将RAW AAC包装到m4a容器中? [英] Packing RAW AAC into m4a container?

查看:222
本文介绍了将RAW AAC包装到m4a容器中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用FAAC的Android应用程序将原始PCM转换为原始AAC,但现在我不知道如何将其打包到m4a容器中。



I在网上搜索了很多信息,但没有一个解决了我的问题。大多数人引用ffmpeg / mp4box命令行,但是我需要的是在Android环境中解决这个问题,这意味着Java Eclipse或JNI。



有什么提示吗?

解决方案

这个 Github上的AACEncoder项目似乎很棒!
它适用于我。



它实际上具有将原始PCM波形文件编码成AAC原始文件的能力,然后将将原始AAC文件重新打包成M​​P4(M4A )容器



所以如果你只是想将原始AAC转换成M4A,这个类将是一个很好的开始,不要忘记添加它的依赖项。



但是,绝对是对于没有FFMPEG和NDK的人来说,这绝对是一个不错的选择。


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 a lot of info, but none of them solves my question. Most of them referring ffmpeg / mp4box command line, but what I need is to solve this in Android environment, which means either Java Eclipse, or JNI.

Any hint please?

解决方案

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.

这篇关于将RAW AAC包装到m4a容器中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆