如何为Linux开发AAC转换器?

发布于 2024-09-03 10:19:23 字数 133 浏览 4 评论 0 原文

我是一名初学者开发人员,想要为 Linux 开发 MP3 到 AAC 转换器。但我不知道如何开始,因为我以前没有在 Linux 上做过任何开发。我使用的是 Ubuntu 10.04。谁能告诉我如何开始以及从哪里开始?我需要什么库?

谢谢

I am a beginner developer want to develop a MP3 to AAC converter for Linux. But I don't know how to start as I havn't done any development in Linux before. I am using Ubuntu 10.04. Can anyone tell me how to start and from where? What libraries do I need?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

酒绊 2024-09-10 10:19:24

如果您想使用编码器,FAAC 是开源的,因此您可以编写一个程序使用它。或者查看源代码。

IANAL 但是,AAC 是一项专利技术,因此您可能需要支付费用才能制作商业项目。

开始学习如何编写大量 Unix 程序的一个好地方是使用 GNU 工具链GCC制作配置等...

If you want to use an encoder, FAAC is open source, so you could write a program that uses it. Or check out the source code.

I.A.N.A.L. but, AAC is a patented technology, so you may have to pay fees to make a commercial project.

A good place to start learning how lots of Unix programs are written, is using the GNU toolchain, GCC, Make, Configure etc...

茶底世界 2024-09-10 10:19:24

ffmpeg 库对于任何处理音频/视频的事情来说都是一把很棒的瑞士军刀。事实上,您可以使用 ffmpeg 命令行界面轻松地在 MP3 和 AAC 之间进行转换:

ffmpeg -i <path to MP3 file> <path to AAC file>

这需要在编译 ffmpeg 时提供 FAAC 和 LAME 支持。我不认为 Ubuntu 的 ffmpeg 库出于法律原因默认包含这些库,但有一些方法可以安装支持 MP3 和 AAC 的版本: http://gebaar.blogspot.com/2009/06/howto-easily-enable-mp3-mpeg4-aac-and.html< /a>

如果你想使用ffmpeg的底层库(libavcodec、libavformat等)自己编码:http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/api-example_8c-source.html

The ffmpeg libraries are a great swiss army knife for anything dealing with audio/video. In fact, you can use the ffmpeg command-line interface to easily convert between MP3 and AAC:

ffmpeg -i <path to MP3 file> <path to AAC file>

This requires that ffmpeg be compiled with FAAC and LAME support. I don't think Ubuntu's ffmpeg libraries include these by default for legal reasons, but there are ways to install MP3 and AAC enabled versions: http://gebaar.blogspot.com/2009/06/howto-easily-enable-mp3-mpeg4-aac-and.html

If you want to use ffmpeg's underlying libraries (libavcodec, libavformat, etc) to code it yourself: http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/api-example_8c-source.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文