在PHP MP3和OGG标签 [英] MP3 and OGG tags in PHP

查看:120
本文介绍了在PHP MP3和OGG标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://us3.php.net/manual/en/book .ktaglib.php 和 http://getid3.sourceforge.net/ 没有人知道任何另一种方式从PHP与音频文件标签工作?

Except http://us3.php.net/manual/en/book.ktaglib.php and http://getid3.sourceforge.net/ does anyone know of any other way to work from PHP with tags on audio files?

我需要读取和写入他们,KTagLib似乎有点太多的工作,也没有真正得到的文档,并getID3似乎只写的ID3v1标签。

I need to read and write them, and KTagLib seems a little too much for the job, and also don't really get the documentation, and getID3 seems to only write ID3v1 tags.

推荐答案

也有PHP等ID3功能只是为了阅读:的 http://php.oregonstate.edu/manual/en/book.id3.php

There are also other ID3 functions in PHP just for reading: http://php.oregonstate.edu/manual/en/book.id3.php

您应该尝试getID3()的稳定版本,对于测试此评论:

You should try stable version of getID3(), there is this comment for beta:

V2.0.0-B5可以编写只有一些标记格式:

的ID3v1

APEtag

FLAC

奥格

Vorbis格式

Lyrics3

在稳定,他们应该得到支持(如果不撒谎):

In stable, they should be supported (if the don't lie):

标记格式:

的ID3v1(V1.0&安培; V1.1)

ID3v1 (v1.0 & v1.1)

的ID3v2(V2.2,V2.3和放大器; V2.4)

ID3v2 (v2.2, v2.3 & v2.4)

APE标签(V1&安培; V2)

APE tags (v1 & v2)

(OGG)Vorbis注释

(Ogg) VorbisComment

Lyrics3(V1&安培; V2)

Lyrics3 (v1 & v2)

这篇关于在PHP MP3和OGG标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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