ios - 如何将元数据添加到 AVAudioRecorder 录制的 AAC 文件中?

标签 ios metadata avaudiorecorder aac

有什么方法可以为使用 AVAudioRecorder< 录制的 AAC 文件设置元数据,如 artisttitlegenre?

对于 MP3 文件,有 ID3 tag .但是,我无法找到 AAC 文件的等效项。我搜索了 Apple Developer Docs 但没有成功,但必须有 一些 方法来设置这些属性,因为当在音频播放器中播放从 iTunes 下载的 AAC 文件时,如 VLCfoobar2000它确实识别元数据甚至专辑封面。

(为了录制 AAC 文件,我使用了 Apple 的 Multimedia Programming Guide 中的代码。)

最佳答案

我不认为在使用 AVAudioRecorder 时可以将元数据添加到音频文件中。我想你将不得不使用额外的 AVAssetExportSession 传递来做到这一点,就像在 this question 中所做的那样

关于ios - 如何将元数据添加到 AVAudioRecorder 录制的 AAC 文件中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29359036/

相关文章:

ios - Alamofire 对象映射器 : how to parse nested array in swift

ios - 防止应用程序在锁定屏幕时变为非事件状态

ios - UIBezierPath 未绘制平滑曲线

mysql - rs.getMetaData().getColumnName(i) 与 mysql 上的别名列

iphone - AVAudioRecorder 只记录中断后的音频

ios - AVAudioRecorder 丢失最后几秒

iphone - Xcode 4.4 错误 - 等待应用程序启动超时

python - 通过连接传播 pandas 系列元数据

rest - 亚马逊 S3 : Cache-Control and Expiry Date difference and setting trough REST API

ios - Swift 运行时错误 (exc_bad_access) AVAudioRecorder, recordSettings