readme.txt 26 KB

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