Objective-C AVAssetExportSession 仅音频
如何使用 AVAssetExportSession 仅将音频导出到 *.aif 或 *.mp3 文件?每当我尝试为 outputFileType
属性提供 @"com.apple.quicktime-movie"
以外的任何内容时,它都会崩溃。
How can I use AVAssetExportSession to only export audio to, let's say, an *.aif or an *.mp3 file? Whenever I try providing anything other than @"com.apple.quicktime-movie"
for the outputFileType
-property, it crashes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能是因为 .mp3 不是受支持的导出文件类型
It is probably because .mp3 is not a supported export file type