Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有一种方法可以在 Cocoa 中以编程方式转换和/或编码为 AAC/m4a 格式,而无需使用 Mac OS X 不附带的任何库或程序?
我不想使用例如 faac 或 ffmpeg 来进行编码。
另一种方式是Core Audio。一个非常简单的方法是使用 afconvert 命令行工具,您可以使用 NSTask 调用它。另一方面,直接使用 Core Audio 的 API 可以让您向用户报告进度。