iOS - How to convert m4a to mp3?

佐手、 提交于 2019-12-01 20:08:38

问题


I have searched through many websites on the internet, but there's no sample code for converting m4a to mp3. Does anyone know how to do this in iOS? Thank~


回答1:


You can use AVAudioFile to read the m4a, and another AVAudioFile to write the mp3 with appropriate format settings. But this thread suggests mp3 encoding in iOS is not possible with CoreAudio.



来源:https://stackoverflow.com/questions/19062157/ios-how-to-convert-m4a-to-mp3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!