从 mp3 文件获取专辑封面?
我想使用 PHP 从 mp3 文件中获取专辑插图。您能给我提供一些代码或为我指出一个好的库吗...
谢谢
I wanted to get album artwork from a mp3 file using PHP..could you please provide me some code or point me out a good library to me...
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Peter Mescalchin 有一个 很棒的脚本 就可以做到这一点。使用 Amazon Web Service API 它会自动获取丢失的专辑插图。
Peter Mescalchin has a great script for doing just this. Using the Amazon Web Service API it automatically fetches missing album artwork.
Zend_Media_Id3v2 类就是您所需要的!
下载这个:
http://code.google.com/p/php-reader/downloads/list
从库文件夹中获取 Zend 文件夹
并使用此处的示例 #5:
http://code.google.com/p/php-reader/wiki/ID3v2
the Zend_Media_Id3v2 Class is what you need!
download this:
http://code.google.com/p/php-reader/downloads/list
take the Zend folder from the library folder
and use the Example #5 from here:
http://code.google.com/p/php-reader/wiki/ID3v2