Posted by
Rob Loach on
September 6, 2007 at 5:55pm
#D7CX: I pledge that GetID3 will have a full Drupal 7 release on the day that Drupal 7 is released.
The getID3() Drupal module facilitates the installation and management of the getID3() PHP library, used to extract useful information from MP3s and other multimedia file formats.
This API module is used by other modules to ensure that getID3() is correctly installed. Developers who need the getID3() functionality can make this a dependency by their module, and then call the getid3_load()
function to properly use the getID3() library without having to worry about whether it's installed or not.
Drupal 6 Installation
Use drush:
drush en getid3
Or do it manually:
- Place the entire getid3 directory into your modules directory (sites/all/modules is the usual location).
- Create a new folder for the getID3 library at:
cd YOUR-DRUPAL-ROOT
mkdir -p sites/all/libraries/getid3
- Go to http://www.getid3.org/ and download the latest stable version (currently 1.7.9) into the new directory:
cd sites/all/libraries/getid3
wget "http://downloads.sourceforge.net/project/getid3/getID3%28%29%201.x/1.7.9/getid3-1.7.9.zip"
- Unzip the contents of the zip file into sites/all/modules/getid3/ so that write.php is located in sites/all/libraries/getid3/getid3/:
unzip getid3-1.7.9.zip
- Delete the demos directory:
rm -r demos/
- Go to Administer > Site building > Modules and enable the GetID3 module.
- Go to Administer > Settings > getID3. If you see the version you just downloaded, the module is installed correctly.
分享到:
相关推荐
getID3 php计算 音频信息 资源包插件
$getID3 = new \getID3(); $ThisFileInfo = @$getID3->analyze($destName); //分析文件,$path为音频文件的地址(文件绝对路径) $fileduration= $ThisFileInfo['playtime_seconds']; //这个获得的便是音频文件的...
获取音乐文件播放时间长度的类 require_once('/getid3/getid3.... $getID3 = new getID3; $audioInfo = $getID3->analyze($audioServPath); $duration = $audioInfo['playtime_seconds']; var_dump($duration);
getiD3 文件包
需要引入的getid3文件,需要的话可以去getid3官网下载最新的,我这里只是做个记录,主要是用来获取音视频时长等信息的
getid源码,通过该方式可以获取本地的音视频的详细信息,代码实现,方便快捷,网上大多数都是需要什么扩展,这个相比起来,个人觉得比较方便
php 获取视频文件信息
项目中遇到需要判断上传视频的时长。所以找到了这个扩展。记录一下。。希望能够帮助到你。
本文实例讲述了PHP getID3类的使用方法。分享给大家供大家参考,具体如下: 网上描述: getID3()这个PHP脚本能够从MP3或其它媒体文件中提取有用的信息如:ID3标签,bitrate,播放时间等。...使用的getID3的版本是:1.9
getID3() by James Heinrich () 可在或 getID3() 在多个许可下发布。 您可以从以下许可中进行选择,并根据最适合您的项目的许可条款使用 getID3。 GNU通用公共许可证: GNU LGPL: Mozilla MPL: getID3 商业许可证...
ID3 decoder for all
ZfGetid3模块介绍这个小模块包装了 James Heinrich ( ) 为 Zend Framework 2 编写的 GetID3 库。可以通过ServiceLocator访问 GetID3 实例。要求请参阅文件。安装运行以下composer命令: $ composer require guliano/...
getID3-1.9.20-源码.rar
音视频获取时长
getID3()是一个PHP脚本,可从MP3和其他多媒体文件格式(Ogg,WMA,WMV,ASF,WAV,AVI,AAC,VQF,FLAC, MusePack,Real,QuickTime,Monkey's Audio,MIDI等)。
(积分会自动改,需要的留言)哈哈哈哈哈,csdn终于可以设置所需积分了。全部设置0. 亲测有效 https://blog.csdn.net/github_38854224/article/details/81030411
主要介绍了PHP编程获取音频文件时长的方法,通过引入第三方getid3类来实现操作音频文件的功能,需要的朋友可以参考下
ESET VC52 GetID v2.0.0.9.rar 转自翱翔
getID3() by James Heinrich // // 可在 // // 或 // ///////////// 获得///////////////////////////////////////////////// // // // // changelog.txt - getID3() 的一部分 // // 有关更多详细信息,请参阅 ...