如何从 Cocoa 中的 MP3 文件中提取 ID 标签? [英] How to extract ID tags from MP3 files in Cocoa?

查看:17
本文介绍了如何从 Cocoa 中的 MP3 文件中提取 ID 标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请提供一些使用简单 API 提取 MP3 属性的方法.除了 ID3.framework 还有其他库吗?我发现它已经过时并且有内存泄漏.非常感谢.

Please advise some way to extract MP3 attributes using simple API. Is there any other libraries other than ID3.framework? I found that it is quite out-dated and has memory leaks. Thanks a lot.

推荐答案

如果您可以使用 QTKit,请查看 QTMovie_Metadata.h 和 QTMovie_Metadata.m,它们是 Google Code 上 qtplay 项目的一部分 http://code.google.com/p/qtplay/

If it is acceptable for you to use QTKit then check out QTMovie_Metadata.h and QTMovie_Metadata.m that are part of the qtplay project on Google Code http://code.google.com/p/qtplay/

具体文件在这里:

http:///code.google.com/p/qtplay/source/browse/trunk/Source/Categories%20and%20Wrappers/QTMovie_Metadata.h

http:///code.google.com/p/qtplay/source/browse/trunk/Source/Categories%20and%20Wrappers/QTMovie_Metadata.m

这篇关于如何从 Cocoa 中的 MP3 文件中提取 ID 标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆