getID3() is a PHP script that extracts useful information (such as ID3 tags, bitrate, playtime, etc.) from MP3s & other multimedia file formats (Ogg, WMA, WMV, ASF, WAV, AVI, AAC, VQF, FLAC, MusePack, Real, QuickTime, Monkey's Audio, MIDI and more).
I like this a lot, useful for all my coding projects where I need file info.
There no usefull documentation of this library yet.
sadly the person who wrote it knows about the ID3 tag structure ... but not structured coding ... therefore leaving good programmers no choice but wrapping the whole crap
1.7.9: [2009-03-08] James Heinrich Added DSS (Digital Speech Standard) support new file: module.audio.dss.php (thanks luke*wilkinsdtsam*com) Added MPC (Musepack) SV8 support (thanks WaldoMonster) some MPC [header] keys renamed to be the same between SV7/SV8 start aligning demos CSS styling with v2.x styles new file: demos/getid3.css JPEG now returns parsed IPTC tags in [iptc] getid3_lib::GetDataImageSize now requires $imageinfo parameter better support for Matroska files with AC3/DTS/MP3/OGG audio (support still lacking for AAC) standardize ID3v2 TCMP key to 'part_of_a_set' between reading and writing (thanks aaron_stormyahoo*com) added ID3v2 keys 'TCMP','TCP' to for writing iTunes-style tags (thanks aaron_stormyahoo*com) back-ported PICTURE tag handling in FLAC tags (thanks WaldoMonster) added alternate method to get [video][frame_rate] from QuickTime * added partial support for "TCMP"/"TCP" ID3v2 frames (iTunes non-standard part-of-a-compilation tag) (thanks aaron_stormyahoo*com) * slightly improved scanning through FLV files speed (thanks franki) * faster Matroska scanning by stopping at cluster chunks once needed header chunks are found (much faster for large files) * added workaround for broken tagging programs that miss terminating null byte for numeric ID3v2.4 genres (thanks yam655gmail*com) * Bugfix: MultiByteCharString2HTML() did not escape common HTML special characters like & and ? * Bugfix: cleaned up some malformed HTML errors in demo.browse.php * Bugfix: under Windows files >2GB might not be processed due to "dir" command not finding file with double directory slashes * Bugfix: "MODule (assorted sub-formats)" was falsely matching some random files (e.g. JPEGs) (thanks qwertywin) * Bugfix: suppress PHP_notice on failed SWF-compressed decompression failure (thanks mkron)
2.0.0b5: [2009-03-08] James Heinrich Added MPC (Musepack) SV8 support new file: module.audio.mpc8.php new file: module.audio.mpc7.php (formerly module.audio.mpc.php) (thanks WaldoMonster) added alternate method to get [video][frame_rate] from QuickTime * added workaround for broken tagging programs that miss terminating null byte for numeric ID3v2.4 genres (thanks yam655gmail*com) * ported additional calculations code from v1.7.8 (calculating bitrate from playtime if not already explicitly set, etc) * Bugfix: ID3v2 Txxx frames being returned with last character missing (thanks igorwebta*net)
1.7.8b3: [2008-07-13] James Heinrich Experimental partial support for files > 2GB (gets filesize from shell call to "dir" or "ls", parse files with PHP only up to 2GB limit). See readme.txt for details on what formats work properly and other limitations Initial support for Matroska. Has only been tested with a limited number of sample files, please report any bugs Experimental support for PHP-RAR reading. Known buggy, disabled by default, enable with care getid3_lib::CastAsInt() now returns ints up to 2^31 (not 2^30) Quicktime: [video] now returns [frame_rate] and [fourcc] for MP4 video files * MP3: headerless VBR files now only have up to 10 blocks of 5000 frames each scanned by default and bitrate extrapolated from that distribution for speed (thanks glau*stuffridiculousprods*com) * Quicktime: support "co64" atom * SWF: lower memory use when compressed SWF files processed (thanks doughammondblueyonder*co*uk) * Bugfix: FLV height and width was calculated incorrectly (thanks moysevichgmail*com) * Bugfix: FLV GETID3_FLV_TAG_META parsed incorrectly (thanks moysevichgmail*com) * Bugfix: Quicktime: 'tkhd' matrix_v and matrix_d were switched (thanks rjjmorohotmail*com) * Bugfix: Quicktime: frame_rate was often incorrect for MP4 video * Bugfix: getid3_lib::CastAsInt returned -2147483648 when passed 2147483648 (0x80000000)
1.7.8b2: [2007-10-15] James Heinrich, Allan Hansen * Video bitrate now calculated even if not explicitly stated in file metadata, but if overall and audio bitrates are known * Bugfix: 'comments_html' missing last letter in id3v2 tags. * Bugfix: module objects (e.g. getid3_riff) that are instantiated in other modules are explicitly disposed once no longer needed. * Bugfix: some AVI files were not returning audio information because "strh" chunk was not being read in * Bugfix: asf [audio][<streamnumber>][dataformat] should be set to "wma" but wasn't * Bugfix: [mpeg][audio][bitrate_mode] should always be one of ("cbr", "vbr", "abr") but wasn't for some values in LAMEvbrMethodLookup() * Bugfix: MP3 audio in AVI files could show "cbr" instead of correct audio bitrate_mode, and audio bitrate could be slightly incorrect if multiple files were scanned in a loop (scanning single files produced correct values). * Bugfix: remove [audio/video][bitrate] key if falsely set to zero * Bugfix: PlaytimeString returned non-matching value for negative playtimes (which shouldn't happen either, but now they're at least shown correctly, if they happen due to other bugs) * Bugfix: Several ASF header values are invalid if the broadcast flag is set, getID3() now calculates these values in other ways if the broadcast flag is set (thanks fletchpobox*com) * Bugfix: lyrics3-flags-lyrics field was always false, and there never was a lyrics3-flags-timestamp field present even though the lyrics3-raw-IND field consisted of "10" (lyrics present, timestamp not present). (thanks i*f*schulzweb*de) * Bugfix: TAR.GZ files produce PHP errors when option_gzip_parse_contents == true in module.archive.gzip.php (thanks alan*hardersun*com)
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?