/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at http://getid3.sourceforge.net //
// or http://www.getid3.org //
/////////////////////////////////////////////////////////////////
// //
// changelog.txt - part of getID3() //
// See readme.txt for more details //
// ///
/////////////////////////////////////////////////////////////////
This code is released under the GNU GPL:
http://www.gnu.org/copyleft/gpl.html
+---------------------------------------------+
| If you do use this code somewhere, send me |
| an email and tell me how/where you used it. |
| |
| If you want to donate, there is a link on |
| http://www.getid3.org for PayPal donations. |
+---------------------------------------------+
Quick Start
===========================================================================
Q: How can I check that getID3() works on my server/files?
A: Unzip getID3() to a directory, then access /demos/demo.browse.php
Sourceforge Notification
===========================================================================
It's highly recommended that you sign up for notification from
Sourceforge for when new versions are released. Please visit:
http://sourceforge.net/project/showfiles.php?group_id=55859
and click the little "monitor package" icon/link. If you're
previously signed up for the mailing list, be aware that it has
been discontinued, only the automated Sourceforge notification
will be used from now on.
What does getID3() do?
===========================================================================
Reads & parses (to varying degrees):
¤ tags:
* APE (v1 and v2)
* ID3v1 (& ID3v1.1)
* ID3v2 (v2.4, v2.3, v2.2)
* Lyrics3 (v1 & v2)
¤ audio-lossy:
* MP3/MP2/MP1
* MPC / Musepack
* Ogg (Vorbis, OggFLAC, Speex)
* RealAudio
* Speex
* VQF
¤ audio-lossless:
* AIFF
* AU
* Bonk
* CD-audio (*.cda)
* FLAC
* LA (Lossless Audio)
* LPAC
* MIDI
* Monkey's Audio
* OptimFROG
* RKAU
* VOC
* WAV (RIFF)
* WavPack
¤ audio-video:
* ASF: ASF, Windows Media Audio (WMA), Windows Media Video (WMV)
* AVI (RIFF)
* Flash
* MPEG-1 / MPEG-2
* NSV (Nullsoft Streaming Video)
* Quicktime
* RealVideo
¤ still image:
* BMP
* GIF
* JPEG
* PNG
¤ data:
* ISO-9660 CD-ROM image (directory structure)
* SZIP (limited support)
* ZIP (directory structure)
Writes:
* ID3v1 (& ID3v1.1)
* ID3v2 (v2.3 & v2.4)
* VorbisComment on OggVorbis
* VorbisComment on FLAC (not OggFLAC)
* APE v2
* Lyrics3 (delete only)
Requirements
===========================================================================
* PHP 4.2.0 (or higher) for getID3() 1.7.8 (and up).
* PHP 5.0.0 (or higher) for getID3() 2.0.0 (and up).
* at least 4MB memory for PHP. 8MB is highly recommended.
12MB is required with all modules loaded.
Usage
===========================================================================
See /demos/demo.basic.php for a very basic use of getID3() with no
fancy output, just scanning one file.
See structure.txt for the returned data structure.
*> For an example of a complete directory-browsing, <*
*> file-scanning implementation of getID3(), please run <*
*> /demos/demo.browse.php <*
See /demos/demo.mysql.php for a sample recursive scanning code that
scans every file in a given directory, and all sub-directories, stores
the results in a database and allows various analysis / maintenance
operations
To analyze remote files over HTTP or FTP you need to copy the file
locally first before running getID3(). Your code would look something
like this:
// Copy remote file locally to scan with getID3()
$remotefilename = 'http://www.example.com/filename.mp3';
if ($fp_remote = fopen($remotefilename, 'rb')) {
$localtempfilename = tempnam('/tmp', 'getID3');
if ($fp_local = fopen($localtempfilename, 'wb')) {
while ($buffer = fread($fp_remote, 8192)) {
fwrite($fp_local, $buffer);
}
fclose($fp_local);
// Initialize getID3 engine
$getID3 = new getID3;
$ThisFileInfo = $getID3->analyze($filename);
// Delete temporary file
unlink($localtempfilename);
}
fclose($fp_remote);
}
See /demos/demo.write.php for how to write tags.
What does the returned data structure look like?
===========================================================================
See structure.txt
It is recommended that you look at the output of
/demos/demo.browse.php scanning the file(s) you're interested in to
confirm what data is actually returned for any particular filetype in
general, and your files in particular, as the actual data returned
may vary considerably depending on what information is available in
the file itself.
Notes
===========================================================================
getID3() 1.7:
If the format parser encounters a critical problem, it will return
something in $fileinfo['error'], describing the encountered error. If
a less critical error or notice is generated it will appear in
$fileinfo['warning']. Both keys may contain more than one warning or
error. If something is returned in ['error'] then the file was not
correctly parsed and returned data may or may not be correct and/or
complete. If something is returned in ['warning'] (and not ['error'])
then the data that is returned is OK - usually getID3() is reporting
errors in the file that have been worked around due to known bugs in
other programs. Some warnings may indicate that the data that is
returned is OK but that some data could not be extracted due to
errors in the file.
getID3() 2.0:
See above except errors are thrown (so you will only get one error).
Disclaimer
===========================================================================
getID3() has been tested on many systems, on many types of files,
under many operating systems, and is generally believe to be stable
and safe. That being said, there is still the chance there is an
undiscovered and/or unfixed bug that may potentially corrupt your
file, especially within the writing functions. By using getID3() you
agree that it's not my fault if any of your files are corrupted.
In fact, I'm not liable for anything :)
License
===========================================================================
GNU General Public License - see license.txt
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA.
FAQ:
Q: Can I use getID3() in my program? Do I need a commercial license?
A: You're generally free to use getID3 however you see fit. The only
case in which you would require a commercial license is if you're
selling your closed-source program that integrates getID3. If you
sell your program including a copy of getID3, that's fine as long
as you include a copy of the sourcecode when you sell it. Or you
can distribute your code without getID3 and say "download it from
getid3.sourceforge.net"
Future Plans
=========================
没有合适的资源?快使用搜索试试~ 我知道了~
基于PHP的开源的php内容管理系统glFusion源码.zip
共2000个文件
html:425个
gif:425个
png:262个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 166 浏览量
2023-10-14
21:57:15
上传
评论
收藏 1.59MB ZIP 举报
温馨提示
基于PHP的开源的php内容管理系统glFusion源码.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP的开源的php内容管理系统glFusion源码.zip (2000个子文件)
spellchecker.cfm 5KB
ChangeLog 109KB
Gallery1DataParser.class 13KB
style.css 51KB
style.css 12KB
style.css 10KB
fck_editor.css 8KB
fck_editor.css 8KB
fck_editor.css 8KB
style-colors.css 7KB
fck_dialog.css 6KB
fck_dialog.css 6KB
fck_dialog.css 6KB
style.css 4KB
fck_internal.css 4KB
style.css 3KB
docstyle.css 3KB
fck_editorarea.css 3KB
mooRainbow.css 2KB
scayt_dialog.css 2KB
ie6.css 2KB
fck_dialog_common.css 2KB
fck_showtableborders_gecko.css 2KB
browser.css 2KB
style.css 1KB
style.css 1011B
spellerStyle.css 890B
style.css 762B
style.css 762B
style.css 623B
style.css 622B
ie6.css 582B
ie7.css 305B
ie7.css 277B
siteconfig.php.dist 9KB
green_dot.gif 0B
img_quote.gif 0B
delete.gif 0B
desc_on.gif 0B
desc.gif 0B
star_off_sm.gif 0B
padlock.gif 0B
post_newtopic.gif 0B
rank0.gif 0B
rank_admin.gif 0B
rank4.gif 0B
rank1.gif 0B
rank2.gif 0B
rank_mod.gif 0B
rank3.gif 0B
rank5.gif 0B
alert_warning.gif 0B
star_on_sm.gif 0B
post_reply.gif 0B
pixel.gif 0B
none.gif 0B
bmp.gif 0B
mdb.gif 0B
mpp.gif 0B
zip.gif 0B
ppt.gif 0B
swf.gif 0B
gif.gif 0B
mp3.gif 0B
pdf.gif 0B
js.gif 0B
doc.gif 0B
fic.gif 0B
exe.gif 0B
xls.gif 0B
php.gif 0B
psd.gif 0B
jpg.gif 0B
ai.gif 0B
rar.gif 0B
ttf.gif 0B
png.gif 0B
htm.gif 0B
vsd.gif 0B
txt.gif 0B
mov.gif 0B
trash.gif 0B
twisted.gif 0B
question.gif 0B
lol.gif 0B
confused.gif 0B
cool.gif 0B
rolleyes.gif 0B
idea.gif 0B
wink.gif 0B
biggrin.gif 0B
frown.gif 0B
redface.gif 0B
razz.gif 0B
exclaim.gif 0B
surprised.gif 0B
smile.gif 0B
cry.gif 0B
arrow.gif 0B
evil.gif 0B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
易小侠
- 粉丝: 6514
- 资源: 9万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 智能卡管理工具 - 野火2019专业版软件
- Android平台上的百度地图定位演示案例
- 全国 31省市场分割指数2004-2022年
- 华夏ERP基于SpringBoot框架和SaaS模式立志为中小企业提供开源好用的ERP软件
- Android光学字符识别(OCR)工具或库
- 基于C语言+STM32实现的智能自平衡小车+源码解析+超声波避障+超声波跟随+蓝牙遥控等功能+硬件资料+仿真(高分优秀项目)
- C# 屏幕录制 AForge.NET Framework-2.2.5
- 全国31省-环境污染综合指数(2008-2022年).zip
- 校园小情书微信小程序源码 - 社区小程序前后端开源 - 校园表白墙交友小程序
- 基于java的进销存管理系统软件源码+课设文档资料.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功