Mac 应用程序使用 LAME 编码 mp3

发布于 2024-12-26 01:54:36 字数 131 浏览 2 评论 0原文

如何使用 lame 将存储在磁盘上的 .mp4 或 AAC 转换为 mp3?看起来应该很容易,但我无法获得有效的演示。任何帮助表示赞赏。

需要明确的是,我想从 OS X 应用程序中调用 LAME;它也是开源的,所以不用担心许可问题。

How would you be able to convert a .mp4 or AAC that is stored on disk into an mp3 using lame? It seems like it should be easy but I can't se to get a working demo. Any help is appreciated.

To be clear, I want to call LAME from within an OS X app; it is open-source as well, so no worries about licensing.

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

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

发布评论

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

评论(1

淡淡的优雅 2025-01-02 01:54:36

如果您不喜欢使用终端,请停止阅读:)还有其他使用 lame 的可能性,但我将描述使用终端的一种:

您可以在这里获取它:
http://lame.sourceforge.net/

下载最新版本

打开终端并 cd 到您解压到的目录并且
输入以下内容:

sudo su
./configure
make
make install

之后,您可以导航到任何目录并使用 lame 命令。
标准调用是

lame infile.aac outfile.mp3

但您可以指定许多选项,例如采样率、标签信息...
阅读此内容以获取更多信息:

man lame

干杯

If you don't like using the Terminal stop reading :) There are other possibilities to use lame but I'll describe the one using the Terminal:

You can get it here:
http://lame.sourceforge.net/

Download the latest version

Open the Terminal and cd to the directory you unpacked it to and
type the following:

sudo su
./configure
make
make install

After that you can navigate to any directory and use the lame command.
A standard call would be

lame infile.aac outfile.mp3

But you can specify numerous options like samplerate, tag information, ...
Read this for more info:

man lame

Cheers

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