| 1 | ///////////////////////////////////////////////////////////////// |
| 2 | /// getID3() by James Heinrich <info@getid3.org> // |
| 3 | // available at http://getid3.sourceforge.net // |
| 4 | // or http://www.getid3.org // |
| 5 | ///////////////////////////////////////////////////////////////// |
| 6 | // // |
| 7 | // changelog.txt - part of getID3() // |
| 8 | // See readme.txt for more details // |
| 9 | // /// |
| 10 | ///////////////////////////////////////////////////////////////// |
| 11 | |
| 12 | This code is released under the GNU GPL: |
| 13 | http://www.gnu.org/copyleft/gpl.html |
| 14 | |
| 15 | +---------------------------------------------+ |
| 16 | | If you do use this code somewhere, send me | |
| 17 | | an email and tell me how/where you used it. | |
| 18 | | | |
| 19 | | If you want to donate, there is a link on | |
| 20 | | http://www.getid3.org for PayPal donations. | |
| 21 | +---------------------------------------------+ |
| 22 | |
| 23 | |
| 24 | |
| 25 | Quick Start |
| 26 | =========================================================================== |
| 27 | |
| 28 | Q: How can I check that getID3() works on my server/files? |
| 29 | A: Unzip getID3() to a directory, then access /demos/demo.browse.php |
| 30 | |
| 31 | |
| 32 | |
| 33 | Support |
| 34 | =========================================================================== |
| 35 | |
| 36 | Q: I have a question, or I found a bug. What do I do? |
| 37 | A: The preferred method of support requests and/or bug reports is the |
| 38 | forum at http://support.getid3.org/ |
| 39 | |
| 40 | |
| 41 | |
| 42 | Sourceforge Notification |
| 43 | =========================================================================== |
| 44 | |
| 45 | It's highly recommended that you sign up for notification from |
| 46 | Sourceforge for when new versions are released. Please visit: |
| 47 | http://sourceforge.net/project/showfiles.php?group_id=55859 |
| 48 | and click the little "monitor package" icon/link. If you're |
| 49 | previously signed up for the mailing list, be aware that it has |
| 50 | been discontinued, only the automated Sourceforge notification |
| 51 | will be used from now on. |
| 52 | |
| 53 | |
| 54 | |
| 55 | What does getID3() do? |
| 56 | =========================================================================== |
| 57 | |
| 58 | Reads & parses (to varying degrees): |
| 59 | ¤ tags: |
| 60 | * APE (v1 and v2) |
| 61 | * ID3v1 (& ID3v1.1) |
| 62 | * ID3v2 (v2.4, v2.3, v2.2) |
| 63 | * Lyrics3 (v1 & v2) |
| 64 | |
| 65 | ¤ audio-lossy: |
| 66 | * MP3/MP2/MP1 |
| 67 | * MPC / Musepack |
| 68 | * Ogg (Vorbis, OggFLAC, Speex) |
| 69 | * AAC / MP4 |
| 70 | * AC3 |
| 71 | * DTS |
| 72 | * RealAudio |
| 73 | * Speex |
| 74 | * DSS |
| 75 | * VQF |
| 76 | |
| 77 | ¤ audio-lossless: |
| 78 | * AIFF |
| 79 | * AU |
| 80 | * Bonk |
| 81 | * CD-audio (*.cda) |
| 82 | * FLAC |
| 83 | * LA (Lossless Audio) |
| 84 | * LiteWave |
| 85 | * LPAC |
| 86 | * MIDI |
| 87 | * Monkey's Audio |
| 88 | * OptimFROG |
| 89 | * RKAU |
| 90 | * Shorten |
| 91 | * TTA |
| 92 | * VOC |
| 93 | * WAV (RIFF) |
| 94 | * WavPack |
| 95 | |
| 96 | ¤ audio-video: |
| 97 | * ASF: ASF, Windows Media Audio (WMA), Windows Media Video (WMV) |
| 98 | * AVI (RIFF) |
| 99 | * Flash |
| 100 | * Matroska (MKV) |
| 101 | * MPEG-1 / MPEG-2 |
| 102 | * NSV (Nullsoft Streaming Video) |
| 103 | * Quicktime (including MP4) |
| 104 | * RealVideo |
| 105 | |
| 106 | ¤ still image: |
| 107 | * BMP |
| 108 | * GIF |
| 109 | * JPEG |
| 110 | * PNG |
| 111 | * TIFF |
| 112 | * SWF (Flash) |
| 113 | * PhotoCD |
| 114 | |
| 115 | ¤ data: |
| 116 | * ISO-9660 CD-ROM image (directory structure) |
| 117 | * SZIP (limited support) |
| 118 | * ZIP (directory structure) |
| 119 | * TAR |
| 120 | * CUE |
| 121 | |
| 122 | |
| 123 | Writes: |
| 124 | * ID3v1 (& ID3v1.1) |
| 125 | * ID3v2 (v2.3 & v2.4) |
| 126 | * VorbisComment on OggVorbis |
| 127 | * VorbisComment on FLAC (not OggFLAC) |
| 128 | * APE v2 |
| 129 | * Lyrics3 (delete only) |
| 130 | |
| 131 | |
| 132 | |
| 133 | Requirements |
| 134 | =========================================================================== |
| 135 | |
| 136 | * PHP 4.2.0 up to 5.2.x for getID3() 1.7.x (and earlier) |
| 137 | * PHP 5.0.5 (or higher) for getID3() 1.8.x (and up) |
| 138 | * PHP 5.0.5 (or higher) for getID3() 2.0.x (and up) |
| 139 | * at least 4MB memory for PHP. 8MB or more is highly recommended. |
| 140 | 12MB is required with all modules loaded. |
| 141 | |
| 142 | |
| 143 | |
| 144 | Usage |
| 145 | =========================================================================== |
| 146 | |
| 147 | See /demos/demo.basic.php for a very basic use of getID3() with no |
| 148 | fancy output, just scanning one file. |
| 149 | |
| 150 | See structure.txt for the returned data structure. |
| 151 | |
| 152 | *> For an example of a complete directory-browsing, <* |
| 153 | *> file-scanning implementation of getID3(), please run <* |
| 154 | *> /demos/demo.browse.php <* |
| 155 | |
| 156 | See /demos/demo.mysql.php for a sample recursive scanning code that |
| 157 | scans every file in a given directory, and all sub-directories, stores |
| 158 | the results in a database and allows various analysis / maintenance |
| 159 | operations |
| 160 | |
| 161 | To analyze remote files over HTTP or FTP you need to copy the file |
| 162 | locally first before running getID3(). Your code would look something |
| 163 | like this: |
| 164 | |
| 165 | // Copy remote file locally to scan with getID3() |
| 166 | $remotefilename = 'http://www.example.com/filename.mp3'; |
| 167 | if ($fp_remote = fopen($remotefilename, 'rb')) { |
| 168 | $localtempfilename = tempnam('/tmp', 'getID3'); |
| 169 | if ($fp_local = fopen($localtempfilename, 'wb')) { |
| 170 | while ($buffer = fread($fp_remote, 8192)) { |
| 171 | fwrite($fp_local, $buffer); |
| 172 | } |
| 173 | fclose($fp_local); |
| 174 | |
| 175 | // Initialize getID3 engine |
| 176 | $getID3 = new getID3; |
| 177 | |
| 178 | $ThisFileInfo = $getID3->analyze($filename); |
| 179 | |
| 180 | // Delete temporary file |
| 181 | unlink($localtempfilename); |
| 182 | } |
| 183 | fclose($fp_remote); |
| 184 | } |
| 185 | |
| 186 | |
| 187 | See /demos/demo.write.php for how to write tags. |
| 188 | |
| 189 | |
| 190 | |
| 191 | What does the returned data structure look like? |
| 192 | =========================================================================== |
| 193 | |
| 194 | See structure.txt |
| 195 | |
| 196 | It is recommended that you look at the output of |
| 197 | /demos/demo.browse.php scanning the file(s) you're interested in to |
| 198 | confirm what data is actually returned for any particular filetype in |
| 199 | general, and your files in particular, as the actual data returned |
| 200 | may vary considerably depending on what information is available in |
| 201 | the file itself. |
| 202 | |
| 203 | |
| 204 | |
| 205 | Notes |
| 206 | =========================================================================== |
| 207 | |
| 208 | getID3() 1.x: |
| 209 | If the format parser encounters a critical problem, it will return |
| 210 | something in $fileinfo['error'], describing the encountered error. If |
| 211 | a less critical error or notice is generated it will appear in |
| 212 | $fileinfo['warning']. Both keys may contain more than one warning or |
| 213 | error. If something is returned in ['error'] then the file was not |
| 214 | correctly parsed and returned data may or may not be correct and/or |
| 215 | complete. If something is returned in ['warning'] (and not ['error']) |
| 216 | then the data that is returned is OK - usually getID3() is reporting |
| 217 | errors in the file that have been worked around due to known bugs in |
| 218 | other programs. Some warnings may indicate that the data that is |
| 219 | returned is OK but that some data could not be extracted due to |
| 220 | errors in the file. |
| 221 | |
| 222 | getID3() 2.x: |
| 223 | See above except errors are thrown (so you will only get one error). |
| 224 | |
| 225 | |
| 226 | |
| 227 | Disclaimer |
| 228 | =========================================================================== |
| 229 | |
| 230 | getID3() has been tested on many systems, on many types of files, |
| 231 | under many operating systems, and is generally believe to be stable |
| 232 | and safe. That being said, there is still the chance there is an |
| 233 | undiscovered and/or unfixed bug that may potentially corrupt your |
| 234 | file, especially within the writing functions. By using getID3() you |
| 235 | agree that it's not my fault if any of your files are corrupted. |
| 236 | In fact, I'm not liable for anything :) |
| 237 | |
| 238 | |
| 239 | |
| 240 | License |
| 241 | =========================================================================== |
| 242 | |
| 243 | GNU General Public License - see license.txt |
| 244 | |
| 245 | This program is free software; you can redistribute it and/or |
| 246 | modify it under the terms of the GNU General Public License |
| 247 | as published by the Free Software Foundation; either version 2 |
| 248 | of the License, or (at your option) any later version. |
| 249 | |
| 250 | This program is distributed in the hope that it will be useful, |
| 251 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 252 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 253 | GNU General Public License for more details. |
| 254 | |
| 255 | You should have received a copy of the GNU General Public License |
| 256 | along with this program; if not, write to: |
| 257 | Free Software Foundation, Inc. |
| 258 | 59 Temple Place - Suite 330 |
| 259 | Boston, MA 02111-1307, USA. |
| 260 | |
| 261 | FAQ: |
| 262 | Q: Can I use getID3() in my program? Do I need a commercial license? |
| 263 | A: You're generally free to use getID3 however you see fit. The only |
| 264 | case in which you would require a commercial license is if you're |
| 265 | selling your closed-source program that integrates getID3. If you |
| 266 | sell your program including a copy of getID3, that's fine as long |
| 267 | as you include a copy of the sourcecode when you sell it. Or you |
| 268 | can distribute your code without getID3 and say "download it from |
| 269 | getid3.sourceforge.net" |
| 270 | |
| 271 | |
| 272 | |
| 273 | Why is it called "getID3()" if it does so much more than just that? |
| 274 | =========================================================================== |
| 275 | |
| 276 | v0.1 did in fact just do that. I don't have a copy of code that old, but I |
| 277 | could essentially write it today with a one-line function: |
| 278 | function getID3($filename) { return unpack('a3TAG/a30title/a30artist/a30album/a4year/a28comment/c1track/c1genreid', substr(file_get_contents($filename), -128)); } |
| 279 | |
| 280 | |
| 281 | Future Plans |
| 282 | =========================================================================== |
| 283 | http://www.getid3.org/phpBB3/viewforum.php?f=7 |
| 284 | |
| 285 | * Better support for MP4 container format |
| 286 | * Scan for appended ID3v2 tag at end of file per ID3v2.4 specs (Section 5.0) |
| 287 | * Support for JPEG-2000 (http://www.morgan-multimedia.com/jpeg2000_overview.htm) |
| 288 | * Support for MOD (mod/stm/s3m/it/xm/mtm/ult/669) |
| 289 | * Support for ACE (thanks Vince) |
| 290 | * Support for Ogg other than Vorbis, Speex and OggFlac (ie. Ogg+Xvid) |
| 291 | * Ability to create Xing/LAME VBR header for VBR MP3s that are missing VBR header |
| 292 | * Ability to "clean" ID3v2 padding (replace invalid padding with valid padding) |
| 293 | * Warn if MP3s change version mid-stream (in full-scan mode) |
| 294 | * check for corrupt/broken mid-file MP3 streams in histogram scan |
| 295 | * Support for lossless-compression formats |
| 296 | (http://www.firstpr.com.au/audiocomp/lossless/#Links) |
| 297 | (http://compression.ca/act-sound.html) |
| 298 | (http://web.inter.nl.net/users/hvdh/lossless/lossless.htm) |
| 299 | * Support for RIFF-INFO chunks |
| 300 | * http://lotto.st-andrews.ac.uk/~njh/tag_interchange.html |
| 301 | (thanks Nick Humfrey <njhØsurgeradio*co*uk>) |
| 302 | * http://abcavi.narod.ru/sof/abcavi/infotags.htm |
| 303 | (thanks Kibi) |
| 304 | * Better support for Bink video |
| 305 | * http://www.hr/josip/DSP/AudioFile2.html |
| 306 | * http://www.pcisys.net/~melanson/codecs/ |
| 307 | * Detect mp3PRO |
| 308 | * Support for PSD |
| 309 | * Support for JPC |
| 310 | * Support for JP2 |
| 311 | * Support for JPX |
| 312 | * Support for JB2 |
| 313 | * Support for IFF |
| 314 | * Support for ICO |
| 315 | * Support for ANI |
| 316 | * Support for EXE (comments, author, etc) (thanks p*quaedackersØplanet*nl) |
| 317 | * Support for DVD-IFO (region, subtitles, aspect ratio, etc) |
| 318 | (thanks p*quaedackersØplanet*nl) |
| 319 | * More complete support for SWF - parsing encapsulated MP3 and/or JPEG content |
| 320 | (thanks n8n8Øyahoo*com) |
| 321 | * Support for a2b |
| 322 | * Optional scan-through-frames for AVI verification |
| 323 | (thanks rockcohenØmassive-interactive*nl) |
| 324 | * Support for TTF (thanks infoØbutterflyx*com) |
| 325 | * Support for DSS (http://www.getid3.org/phpBB3/viewtopic.php?t=171) |
| 326 | * Support for SMAF (http://smaf-yamaha.com/what/demo.html) |
| 327 | http://www.getid3.org/phpBB3/viewtopic.php?t=182 |
| 328 | * Support for AMR (http://www.getid3.org/phpBB3/viewtopic.php?t=195) |
| 329 | * Support for 3gpp (http://www.getid3.org/phpBB3/viewtopic.php?t=195) |
| 330 | * Support for ID4 (http://www.wackysoft.cjb.net grizlyY2KØhotmail*com) |
| 331 | * Parse XML data returned in Ogg comments |
| 332 | * Parse XML data from Quicktime SMIL metafiles (klausrathØmac*com) |
| 333 | * ID3v2 genre string creator function |
| 334 | * More complete parsing of JPG |
| 335 | * Support for all old-style ASF packets |
| 336 | * ASF/WMA/WMV tag writing |
| 337 | * Parse declared T??? ID3v2 text information frames, where appropriate |
| 338 | (thanks Christian Fritz for the idea) |
| 339 | * Recognize encoder: |
| 340 | http://www.guerillasoft.com/EncSpot2/index.html |
| 341 | http://ff123.net/identify.html |
| 342 | http://www.hydrogenaudio.org/?act=ST&f=16&t=9414 |
| 343 | http://www.hydrogenaudio.org/?showtopic=11785 |
| 344 | * Support for other OS/2 bitmap structures: Bitmap Array('BA'), |
| 345 | Color Icon('CI'), Color Pointer('CP'), Icon('IC'), Pointer ('PT') |
| 346 | http://netghost.narod.ru/gff/graphics/summary/os2bmp.htm |
| 347 | * Support for WavPack RAW mode |
| 348 | * ASF/WMA/WMV data packet parsing |
| 349 | * ID3v2FrameFlagsLookupTagAlter() |
| 350 | * ID3v2FrameFlagsLookupFileAlter() |
| 351 | * obey ID3v2 tag alter/preserve/discard rules |
| 352 | * http://www.geocities.com/SiliconValley/Sector/9654/Softdoc/Illyrium/Aolyr.htm |
| 353 | * proper checking for LINK/LNK frame validity in ID3v2 writing |
| 354 | * proper checking for ASPI-TLEN frame validity in ID3v2 writing |
| 355 | * proper checking for COMR frame validity in ID3v2 writing |
| 356 | * http://www.geocities.co.jp/SiliconValley-Oakland/3664/index.html |
| 357 | * decode GEOB ID3v2 structure as encoded by RealJukebox, |
| 358 | decode NCON ID3v2 structure as encoded by MusicMatch |
| 359 | (probably won't happen - the formats are proprietary) |
| 360 | |
| 361 | |
| 362 | |
| 363 | Known Bugs/Issues in getID3() that may be fixed eventually |
| 364 | =========================================================================== |
| 365 | http://www.getid3.org/phpBB3/viewtopic.php?t=25 |
| 366 | |
| 367 | * Cannot determine bitrate for MPEG video with VBR video data |
| 368 | (need documentation) |
| 369 | * Interlace/progressive cannot be determined for MPEG video |
| 370 | (need documentation) |
| 371 | * MIDI playtime is sometimes inaccurate |
| 372 | * AAC-RAW mode files cannot be identified |
| 373 | * WavPack-RAW mode files cannot be identified |
| 374 | * mp4 files report lots of "Unknown QuickTime atom type" |
| 375 | (need documentation) |
| 376 | * Encrypted ASF/WMA/WMV files warn about "unhandled GUID |
| 377 | ASF_Content_Encryption_Object" |
| 378 | * Bitrate split between audio and video cannot be calculated for |
| 379 | NSV, only the total bitrate. (need documentation) |
| 380 | * All Ogg formats (Vorbis, OggFLAC, Speex) are affected by the |
| 381 | problem of large VorbisComments spanning multiple Ogg pages, but |
| 382 | but only OggVorbis files can be processed with vorbiscomment. |
| 383 | * The version of "head" supplied with Mac OS 10.2.8 (maybe other |
| 384 | versions too) does only understands a single option (-n) and |
| 385 | therefore fails. getID3 ignores this and returns wrong md5_data. |
| 386 | |
| 387 | |
| 388 | |
| 389 | Known Bugs/Issues in getID3() that cannot be fixed |
| 390 | -------------------------------------------------- |
| 391 | http://www.getid3.org/phpBB3/viewtopic.php?t=25 |
| 392 | |
| 393 | * 32-bit PHP installations only: |
| 394 | Files larger than 2GB cannot always be parsed fully by getID3() |
| 395 | due to limitations in the 32-bit PHP filesystem functions. |
| 396 | NOTE: Since v1.7.8b3 there is partial support for larger-than- |
| 397 | 2GB files, most of which will parse OK, as long as no critical |
| 398 | data is located beyond the 2GB offset. |
| 399 | Known will-work: |
| 400 | * all file formats on 64-bit PHP |
| 401 | * ZIP (format doesn't support files >2GB) |
| 402 | * FLAC (current encoders don't support files >2GB) |
| 403 | Known will-not-work: |
| 404 | * ID3v1 tags (always located at end-of-file) |
| 405 | * Lyrics3 tags (always located at end-of-file) |
| 406 | * APE tags (always located at end-of-file) |
| 407 | Maybe-will-work: |
| 408 | * Quicktime (will work if needed metadata is before 2GB offset, |
| 409 | that is if the file has been hinted/optimized for streaming) |
| 410 | * RIFF.WAV (should work fine, but gives warnings about not being |
| 411 | able to parse all chunks) |
| 412 | * RIFF.AVI (playtime will probably be wrong, is only based on |
| 413 | "movi" chunk that fits in the first 2GB, should issue error |
| 414 | to show that playtime is incorrect. Other data should be mostly |
| 415 | correct, assuming that data is constant throughout the file) |
| 416 | |
| 417 | |
| 418 | |
| 419 | Known Bugs/Issues in other programs |
| 420 | ----------------------------------- |
| 421 | http://www.getid3.org/phpBB3/viewtopic.php?t=25 |
| 422 | |
| 423 | * Windows Media Player (up to v11) and iTunes (up to v10+) do |
| 424 | not correctly handle ID3v2.3 tags with UTF-16BE+BOM |
| 425 | encoding (they assume the data is UTF-16LE+BOM and either |
| 426 | crash (WMP) or output Asian character set (iTunes) |
| 427 | * Winamp (up to v2.80 at least) does not support ID3v2.4 tags, |
| 428 | only ID3v2.3 |
| 429 | see: http://forums.winamp.com/showthread.php?postid=387524 |
| 430 | * Some versions of Helium2 (www.helium2.com) do not write |
| 431 | ID3v2.4-compliant Frame Sizes, even though the tag is marked |
| 432 | as ID3v2.4) (detected by getID3()) |
| 433 | * MP3ext V3.3.17 places a non-compliant padding string at the end |
| 434 | of the ID3v2 header. This is supposedly fixed in v3.4b21 but |
| 435 | only if you manually add a registry key. This fix is not yet |
| 436 | confirmed. (detected by getID3()) |
| 437 | * CDex v1.40 (fixed by v1.50b7) writes non-compliant Ogg comment |
| 438 | strings, supposed to be in the format "NAME=value" but actually |
| 439 | written just "value" (detected by getID3()) |
| 440 | * Oggenc 0.9-rc3 flags the encoded file as ABR whether it's |
| 441 | actually ABR or VBR. |
| 442 | * iTunes (versions "X v2.0.3", "v3.0.1" are known-guilty, probably |
| 443 | other versions are too) writes ID3v2.3 comment tags using a |
| 444 | frame name 'COM ' which is not valid for ID3v2.3+ (it's an |
| 445 | ID3v2.2-style frame name) (detected by getID3()) |
| 446 | * MP2enc does not encode mono CBR MP2 files properly (half speed |
| 447 | sound and double playtime) |
| 448 | * MP2enc does not encode mono VBR MP2 files properly (actually |
| 449 | encoded as stereo) |
| 450 | * tooLAME does not encode mono VBR MP2 files properly (actually |
| 451 | encoded as stereo) |
| 452 | * AACenc encodes files in VBR mode (actually ABR) even if CBR is |
| 453 | specified |
| 454 | * AAC/ADIF - bitrate_mode = cbr for vbr files |
| 455 | * LAME 3.90-3.92 prepends one frame of null data (space for the |
| 456 | LAME/VBR header, but it never gets written) when encoding in CBR |
| 457 | mode with the DLL |
| 458 | * Ahead Nero encodes TwinVQF with a DSIZ value (which is supposed |
| 459 | to be the filesize in bytes) of "0" for TwinVQF v1.0 and "1" for |
| 460 | TwinVQF v2.0 (detected by getID3()) |
| 461 | * Ahead Nero encodes TwinVQF files 1 second shorter than they |
| 462 | should be |
| 463 | * AAC-ADTS files are always actually encoded VBR, even if CBR mode |
| 464 | is specified (the CBR-mode switches on the encoder enable ABR |
| 465 | mode, not CBR as such, but it's not possible to tell the |
| 466 | difference between such ABR files and true VBR) |
| 467 | * STREAMINFO.audio_signature in OggFLAC is always null. "The reason |
| 468 | it's like that is because there is no seeking support in |
| 469 | libOggFLAC yet, so it has no way to go back and write the |
| 470 | computed sum after encoding. Seeking support in Ogg FLAC is the |
| 471 | #1 item for the next release." - Josh Coalson (FLAC developer) |
| 472 | NOTE: getID3() will calculate md5_data in a method similar to |
| 473 | other file formats, but that value cannot be compared to the |
| 474 | md5_data value from FLAC data in a FLAC file format. |
| 475 | * STREAMINFO.audio_signature is not calculated in FLAC v0.3.0 & |
| 476 | v0.4.0 - getID3() will calculate md5_data in a method similar to |
| 477 | other file formats, but that value cannot be compared to the |
| 478 | md5_data value from FLAC v0.5.0+ |
| 479 | * RioPort (various versions including 2.0 and 3.11) tags ID3v2 with |
| 480 | a WCOM frame that has no data portion |
| 481 | * Earlier versions of Coolplayer adds illegal ID3 tags to Ogg Vorbis |
| 482 | files, thus making them corrupt. |
| 483 | * Meracl ID3 Tag Writer v1.3.4 (and older) incorrectly truncates the |
| 484 | last byte of data from an MP3 file when appending a new ID3v1 tag. |
| 485 | (detected by getID3()) |
| 486 | * Lossless-Audio files encoded with and without the -noseek switch |
| 487 | do actually differ internally and therefore cannot match md5_data |
| 488 | * iTunes has been known to append a new ID3v1 tag on the end of an |
| 489 | existing ID3v1 tag when ID3v2 tag is also present |
| 490 | (detected by getID3()) |
| 491 | * MediaMonkey may write a blank RGAD ID3v2 frame but put actual |
| 492 | replay gain adjustments in a series of user-defined TXXX frames |
| 493 | (detected and handled by getID3() since v1.9.2) |
| 494 | |
| 495 | |
| 496 | |
| 497 | |
| 498 | Reference material: |
| 499 | =========================================================================== |
| 500 | |
| 501 | [www.id3.org material now mirrored at http://id3lib.sourceforge.net/id3/] |
| 502 | * http://www.id3.org/id3v2.4.0-structure.txt |
| 503 | * http://www.id3.org/id3v2.4.0-frames.txt |
| 504 | * http://www.id3.org/id3v2.4.0-changes.txt |
| 505 | * http://www.id3.org/id3v2.3.0.txt |
| 506 | * http://www.id3.org/id3v2-00.txt |
| 507 | * http://www.id3.org/mp3frame.html |
| 508 | * http://minnie.tuhs.org/pipermail/mp3encoder/2001-January/001800.html <mathewhendry@hotmail.com> |
| 509 | * http://www.dv.co.yu/mpgscript/mpeghdr.htm |
| 510 | * http://www.mp3-tech.org/programmer/frame_header.html |
| 511 | * http://users.belgacom.net/gc247244/extra/tag.html |
| 512 | * http://gabriel.mp3-tech.org/mp3infotag.html |
| 513 | * http://www.id3.org/iso4217.html |
| 514 | * http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-1.TXT |
| 515 | * http://www.xiph.org/ogg/vorbis/doc/framing.html |
| 516 | * http://www.xiph.org/ogg/vorbis/doc/v-comment.html |
| 517 | * http://leknor.com/code/php/class.ogg.php.txt |
| 518 | * http://www.id3.org/iso639-2.html |
| 519 | * http://www.id3.org/lyrics3.html |
| 520 | * http://www.id3.org/lyrics3200.html |
| 521 | * http://www.psc.edu/general/software/packages/ieee/ieee.html |
| 522 | * http://www.scri.fsu.edu/~jac/MAD3401/Backgrnd/ieee-expl.html |
| 523 | * http://www.scri.fsu.edu/~jac/MAD3401/Backgrnd/binary.html |
| 524 | * http://www.jmcgowan.com/avi.html |
| 525 | * http://www.wotsit.org/ |
| 526 | * http://www.herdsoft.com/ti/davincie/davp3xo2.htm |
| 527 | * http://www.mathdogs.com/vorbis-illuminated/bitstream-appendix.html |
| 528 | * "Standard MIDI File Format" by Dustin Caldwell (from www.wotsit.org) |
| 529 | * http://midistudio.com/Help/GMSpecs_Patches.htm |
| 530 | * http://www.xiph.org/archives/vorbis/200109/0459.html |
| 531 | * http://www.replaygain.org/ |
| 532 | * http://www.lossless-audio.com/ |
| 533 | * http://download.microsoft.com/download/winmediatech40/Doc/1.0/WIN98MeXP/EN-US/ASF_Specification_v.1.0.exe |
| 534 | * http://mediaxw.sourceforge.net/files/doc/Active%20Streaming%20Format%20(ASF)%201.0%20Specification.pdf |
| 535 | * http://www.uni-jena.de/~pfk/mpp/sv8/ (archived at http://www.hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/sv8/) |
| 536 | * http://jfaul.de/atl/ |
| 537 | * http://www.uni-jena.de/~pfk/mpp/ (archived at http://www.hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/) |
| 538 | * http://www.libpng.org/pub/png/spec/png-1.2-pdg.html |
| 539 | * http://www.real.com/devzone/library/creating/rmsdk/doc/rmff.htm |
| 540 | * http://www.fastgraph.com/help/bmp_os2_header_format.html |
| 541 | * http://netghost.narod.ru/gff/graphics/summary/os2bmp.htm |
| 542 | * http://flac.sourceforge.net/format.html |
| 543 | * http://www.research.att.com/projects/mpegaudio/mpeg2.html |
| 544 | * http://www.audiocoding.com/wiki/index.php?page=AAC |
| 545 | * http://libmpeg.org/mpeg4/doc/w2203tfs.pdf |
| 546 | * http://www.geocities.com/xhelmboyx/quicktime/formats/qtm-layout.txt |
| 547 | * http://developer.apple.com/techpubs/quicktime/qtdevdocs/RM/frameset.htm |
| 548 | * http://www.nullsoft.com/nsv/ |
| 549 | * http://www.wotsit.org/download.asp?f=iso9660 |
| 550 | * http://sandbox.mc.edu/~bennet/cs110/tc/tctod.html |
| 551 | * http://www.cdroller.com/htm/readdata.html |
| 552 | * http://www.speex.org/manual/node10.html |
| 553 | * http://www.harmony-central.com/Computer/Programming/aiff-file-format.doc |
| 554 | * http://www.faqs.org/rfcs/rfc2361.html |
| 555 | * http://ghido.shelter.ro/ |
| 556 | * http://www.ebu.ch/tech_t3285.pdf |
| 557 | * http://www.sr.se/utveckling/tu/bwf |
| 558 | * http://ftp.aessc.org/pub/aes46-2002.pdf |
| 559 | * http://cartchunk.org:8080/ |
| 560 | * http://www.broadcastpapers.com/radio/cartchunk01.htm |
| 561 | * http://www.hr/josip/DSP/AudioFile2.html |
| 562 | * http://home.attbi.com/~chris.bagwell/AudioFormats-11.html |
| 563 | * http://www.pure-mac.com/extkey.html |
| 564 | * http://cesnet.dl.sourceforge.net/sourceforge/bonkenc/bonk-binary-format-0.9.txt |
| 565 | * http://www.headbands.com/gspot/ |
| 566 | * http://www.openswf.org/spec/SWFfileformat.html |
| 567 | * http://j-faul.virtualave.net/ |
| 568 | * http://www.btinternet.com/~AnthonyJ/Atari/programming/avr_format.html |
| 569 | * http://cui.unige.ch/OSG/info/AudioFormats/ap11.html |
| 570 | * http://sswf.sourceforge.net/SWFalexref.html |
| 571 | * http://www.geocities.com/xhelmboyx/quicktime/formats/qti-layout.txt |
| 572 | * http://www-lehre.informatik.uni-osnabrueck.de/~fbstark/diplom/docs/swf/Flash_Uncovered.htm |
| 573 | * http://developer.apple.com/quicktime/icefloe/dispatch012.html |
| 574 | * http://www.csdn.net/Dev/Format/graphics/PCD.htm |
| 575 | * http://tta.iszf.irk.ru/ |
| 576 | * http://www.atsc.org/standards/a_52a.pdf |
| 577 | * http://www.alanwood.net/unicode/ |
| 578 | * http://www.freelists.org/archives/matroska-devel/07-2003/msg00010.html |
| 579 | * http://www.its.msstate.edu/net/real/reports/config/tags.stats |
| 580 | * http://homepages.slingshot.co.nz/~helmboy/quicktime/formats/qtm-layout.txt |
| 581 | * http://brennan.young.net/Comp/LiveStage/things.html |
| 582 | * http://www.multiweb.cz/twoinches/MP3inside.htm |
| 583 | * http://www.geocities.co.jp/SiliconValley-Oakland/3664/alittle.html#GenreExtended |
| 584 | * http://www.mactech.com/articles/mactech/Vol.06/06.01/SANENormalized/ |
| 585 | * http://www.unicode.org/unicode/faq/utf_bom.html |
| 586 | * http://tta.corecodec.org/?menu=format |
| 587 | * http://www.scvi.net/nsvformat.htm |
| 588 | * http://pda.etsi.org/pda/queryform.asp |
| 589 | * http://cpansearch.perl.org/src/RGIBSON/Audio-DSS-0.02/lib/Audio/DSS.pm |
| 590 | * http://trac.musepack.net/trac/wiki/SV8Specification |
| 591 | * http://wyday.com/cuesharp/specification.php |
| 592 | * http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Nikon.html |