ID3
ID3, mp3 file typically located in a number of the beginning or end of bytes, the additional information on the mp3 singer, title, album name, age, style, and other information, this information is called ID3 information ID3 information is divided into two versions, v1 and v2 version. Where: v1 version of the ID3 end of the file in mp3 128 bytes to three characters at the beginning of TAG, followed by song information. v2 version of the general at the beginning of the mp3, you can store lyrics, album pictures of the large capacity of information.
directory
ID3 ID3 tag ID3Tags About ID3 versions of standards define the invention of time schools increase the track number of the definition of defect ID3 tag header tag format ID3v1ID3V2ID3V2.3 overview of the frame reads ID3 ID3 Fun to play Let the music sensual taste transfer ID3 root of the selection of tools ID3 tags ID3 tag is ID3 About MP3 music file additional information in the songs, it can attach in the MP3 music of artists, and other types of information to facilitate the management of many songs. The lack of MP3 ID3 tag does not affect play, but if not, manage music files will be quite troublesome. If you're online download MP3, which has been written mostly default ID3 information. If you want to clear the reset, use WinAMP the ID3Tags addition, ID3 is ID3Tags, one of the Some places to Standards if not ID3, then one can only judge based on the file name of a song what it is, not to mention what even hear the song, its artist, album name you may not get back down, so to MP3 increase the built-in tag file is a matter of course. Interestingly, MP3 tag does not have an ISO international standard, ID3 is just a different version of the current near the de facto standard, no one forced the player or the coding process must support it. ID3 ID3 V1 version of the invention of time by Eric Kemp invented in 1996. ID3 V1 is a group attached to the back of music files, data, and its length is 128 bytes fixed. Genre definitions which define the schools of a total of 79 species, the popular Winamp player put it extended to 125, to the Noise from the Blues to the Dance Hall, is very rich in a lot of support ID3 editing software can see the list, but Domestic users do not seem to care about the tag, most people do not even know your own songs in the end belongs to which category. Defect content of a total of only 128 of these bytes, and is not cumbersome. As attached to the end of the file, so players do not have to consider its impact, even if the ID3 tags do not support the reduction will not affect the music - some of the very old, the player does have the time here playing noise or error . But mark the end of the file can also cause a problem, that is, if you have not read the end of the file, what information we can not see. Inside the hard drive and flash memory is not a problem of course, the songs, but if you directly via streaming media on the network listening, you will find that it had defects. Careful definition of increasing track number of people will notice ID3V1.0 definition does not include track number, so Michael Mutschler in 1997, has been improved, the introduction of version 1.1. Through the occupation of the last two bytes of memo fields, marked with a 00 bytes, another byte to the serial number can track number of the ID3 support. One byte of space for ID3 V1.1 supports up to 255 track serial number, taking into account the more than 256 track album is very unlikely that this improvement is still quite reasonable. ID3 ID3v1 ID3V1 format is relatively simple, it is the end of the file stored in MP3, with 16 hex editor to open a MP3 file to view its store at the end of the order of 128 bytes, the data structure is defined as:
ID3 format char Header [3]; / * tag header must be a ,],[any of its separate identity, such as less than 30 bytes of header information, use the ' 0' make up, or will result in erroneous information. Genre using the original code that the table is as follows:
ID3 format
/ * Standard genres * / 0 = Dance ; NewAge ; Soundtrack ;; 31 = ; 38 = 45 = ; 52 = ;; 59 = Cabaret ; Tribal ; ProgessiveRock Acoustic ;; 107 = ; 114 = 121 = Bass ; PolskPunk ChristianRock There are 4 versions of the popular player but usually only support version 3, both ID3v2.3. As recorded in the MP3 ID3V1 end of the file, ID3V2 had recorded in the MP3 file to the first installment. It is due to this reason, the operation of the ID3V2 ID3V1 slower than that. ID3V1 and ID3V2 structure than the structure is much more complex, but comprehensive than the former and can stretch and expand. Here introduce ID3V2.3. ID3V2.3 overview of all the labels for each ID3V2.3 a label head and a number of label head frame or an extension of the label component. On the track of information such as title, author, tags are all stored in a different frame, the expansion of labels and label the first frame is not necessary, but at least one tag for each tag frame. Label head and tag frame with MP3 files stored in the order first. Tag header in the file's first record of the order of 10 bytes of ID3V2.3 the head. Data structure is as follows: char Header [3]; / * must be ; / * minor version number; this version is recorded as 00 * / char Flag; / * store byte flag, this version defines only three, later detailed explanation * / char Size [4]; / * label size, frame and extended labels, including label head. (Not including the label header 10 bytes) * / 1. The general flag byte flag byte 0, is defined as follows: abc00000 a - indicates whether to use Unsynchronisation (do not know what the word meant, but could not find the dictionary generally do not set) b - that have extended the head, generally do not (at least no record of Winamp), it is generally not set c - indicates whether the test label (99.99% of the label are not testing the matter, so are generally not set) 2. label total size of four bytes,
nike air force 1, each byte of only seven, the highest bit is not used constant 0. Therefore, the following format 0xxxxxxx 0xxxxxxx 0xxxxxxx 0xxxxxxx to 0 when calculating the size removed by a 28-bit binary number, that is, label size (do not know why), calculated as follows: int total_size; total_size = Size [0] * 0x200000 + Size [1] * 0x4000 + Size [2] * 0x80 + Size [3] frame label each tab has a frame of 10 bytes of header and at least one byte of content is not composed of fixed length. They are also stored in the document order, and label head and the other labels have no special characters in the frame separated. Get a complete contents of the frame only to get content from the header size can read before, to pay attention when reading the size of other frames do not read the contents or header. Header is defined as follows: char FrameID [4]; / * identifies a frame with four characters, indicating that its contents are the commonly used later in table * / char Size [4]; / * frame size of the content, not including the header, not less than 1 * / char Flags [2]; / * store signs, only 6 are defined, explained in detail later * / 1. Frame ID identifies a frame with four characters, indicating the contents of a frame meaning of commonly used controls are as follows: TIT2 = content title that the title of the song, the same TPE1 = of TALB = album TRCK = track format: N / M where N is the first album the first N, M for the album CPC First M, N and M, said the figures for the ASCII code TYER = ASCII code is the age that type of direct digital TCON = COMM = Note that with the string format: use of natural language 2. the size of this algorithm can not tag header that trouble, all 8 bits of each byte with the following format xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx algorithm is as follows: int FSize; FSize = Size [0] * 0x1000000 + Size [ ,
air force one shoes,],[The following format: abc00000 ijk00000 a - label protection flags, setting aside that this frame b - file protection flags, setting aside that this frame c - read-only flag that this frame can not be set when the modified (but I did not find a software ignore this flag) i - compression flag, set when a byte code that kept the two BCD numbers j - Encryption flag (which MP3 files have not seen the label used encryption) k - set of flags, set Description This time frame and the other is a group of a frame is worth mentioning that winamp reads the save and the time frame content in the content with the addition of ' 0', and to calculate the byte size of the content in the frame . Appendix: the meaning of the frame identifies 4. Declared ID3v2 frames The following frames are declared in this draft. AENC Audio encryption APIC Attached picture COMM Comments COMR Commercial frame ENCR Encryption method registration EQUA Equalization ETCO Event timing codes GEOB General encapsulated object GRID Group identification registration IPLS Involved people list LINK Linked information MCDI Music CD identifier MLLT MPEG location lookup table OWNE Ownership frame PRIV Private frame PCNT Play counter POPM Popularimeter POSS Position synchronisation frame RBUF Recommended buffer size RVAD Relative volume adjustment RVRB Reverb SYLT Synchronized lyric / text SYTC Synchronized tempo codes TALB Album / Movie / Show title TBPM BPM (beats per minute) TCOM Composer TCON Content type TCOP Copyright message TDAT Date TDLY Playlist delay TENC Encoded by TEXT Lyricist / Text writer TFLT File type TIME Time TIT1 Content group description TIT2 Title / songname / content description TIT3 Subtitle / Description refinement TKEY Initial key TLAN Language (s) TLEN Length TMED Media type TOAL Original album / movie / show title TOFN Original filename TOLY Original lyricist (s) / text writer (s) TOPE Original artist (s) / performer ( s) TORY Original release year TOWN File owner / licensee TPE1 Lead performer (s) / Soloist (s) TPE2 Band / orchestra / accompaniment TPE3 Conductor / performer refinement TPE4 Interpreted, remixed, or otherwise modified by TPOS Part of a set TPUB Publisher TRCK Track number / Position in set TRDA Recording dates TRSN Internet radio station name TRSO Internet radio station owner TSIZ Size TSRC ISRC (international standard recording code) TSSE Software / Hardware and settings used for encoding TYER Year TXXX User defined text information frame UFID Unique file identifier USER Terms of use USLT Unsychronized lyric / text transcription WCOM Commercial information WCOP Copyright / Legal information WOAF Official audio file webpage WOAR Official artist / performer webpage WOAS Official audio source webpage WORS Official internet radio station homepage WPAY Payment WPUB Publishers official webpage WXXX User defined URL link frameID3 read mp3's id3 information is stored in the mp3 file of 128 bytes at the end of the following structure: type ID3struct = packed record ID: array [0 .. 2] of char title: array [0 .. 29] of char ; artist: array [0 .. 29] of char; album: array [0 .. 29} of char; year: array [0 .. 3] of char; comment: array [0 .. 29] of char; genre : byte; with a pointer to the corresponding location of the data read out, can read ID3 information: program showID3; {$ apptype console} var tempfile: file of byte; / / tempfile pointer, binary-type file i: integer; x: byte; begin assign (tempfile, '1. mp3 '); reset (tempfile); / / file association, reset seek (tempfile, (filesize (tempfile) -128)); / / pointer to 128 bytes from the end of the file writeln ( 'ID:'); for i: = 0 to 2 do begin read (tempfile, x); write (chr (x)); end; writeln; writeln ('title:'); for i: = 0 to 29 do begin read (tempfile, x); write (chr (x)); end; writeln; writeln ('artist:'); for i: = 0 to 29 do begin read (tempfile, x); write (chr (x) ); end; writeln; writeln ('album:'); for i: = 0 to 29 do begin read (tempfile, x); write (chr (x)); end; writeln; writeln ('year:'); for i: = 0 to 3 do begin read (tempfile,
air force 1 high, x); write (chr (x)); end; writeln; writeln ('comment:'); for i: = 0 to 29 do begin read (tempfile, x ); write (chr (x)); end; writeln; / / loop methods were used to read out each byte close (tempfile); end. Fun Fun ID3 ID3 sensual taste for music does not know you do not have the experience, some from the Internet to download MP3 music files Mingming Ming is 01,02 this number, but the play was able to show the correct name of the song, is not it wonderful? But it will not, take a look at this picture below, the player in not only the song name, also show the lyrics and the singer's picture, is not cool ah? In fact, this is ID3 in the dark to help, as long as reading this article, you can do, let us begin an unusual journey into the music ... .... What is the root of the ID3 and MP3 sound files in general different, in addition to audio information, it also contains the music artist name, album name, song title, notes and other additional information, we have additional information such as ID3 Tag, ID3 is tag. At first MP3 and can not save this information until 1996, a man called Eric Kemp made Studio3 software, which can last part of the MP3 file of 128 bytes of additional fixed small chunks of data, the information used to record music. Soon, MP3ext the turn of the markers Michael Mutschler extended and formally named as ID3, but also the use of annotation to record the last two bytes of the source CD and music, the version is set to ID3v1.1 . However, too many restrictions ID3v1 version, such as song name length is limited to 30 letters, the song title a little longer will be cut off, people a headache. In this case, it appears the upgrade version of ID3v2. It first 128 bytes of lifting restrictions on the length of each field is also a flexible variable, so the music can contain more abundant information, in addition to the song title, album name, artist, it can also save the lyrics,
nike air force one, equalizer settings, pictures and other information. ID3v2 design is more flexible, more scalable, and supports Unicode, so the information to support multi-language lyrics. ID3v2 even includes a file, so the future may come with video MP3 files so that you can not only listen, you can see. Microsoft's Windows Midia Player can be a good support for ID3v2, even in Windows XP, you do not open any player, as long as the storage of MP3 files into a folder, the system will read the ID3v2 information disaggregated to the document. For Windows XP folder on the MP3 music file support, see publication 11, 2004 Application of System column in the Selecting the right tool for the MP3 from the label I usually like to download MP3 songs, songs from the accumulation of much more to find very inconvenient, since we know the function of ID3 so great, why not look through it to manage it. We must first of its profits. First, download a number of ID3 editing software,
air force 1 shoes, through trial comparison, finalized with Tag & Rename. It is a very powerful media file tags editing and renaming tool, in addition to support a variety of label formats, it also has a unique feature, that is, check back from the file name tag information (ID3v2 below is mainly targeted version). Tag & Rename small file software version: 3.01 Software Size: 1789 KB Software Type: free software for platforms: Windows 9x/ME/2000/XP Download [font color = # 000000]: [/ font]
http://sccrc. onlinedown.net/down/HA_TR301_ZQ.zip first step: edit ID3 order to improve the efficiency, I first put on the hard drive as much as possible in accordance with the artist name, song separately stored in different folders, each by different artists and albums below were kept separate. Step Two: Start Tag & Rename, you can see the main interface is the label information bar at the top panel, bottom left is the folder window. An album, select a storage folder, Tag & Rename MP3 files will be read inside the window to the right, and shows the file name and the MP3 tag information. Press Alt 2 key on the keyboard to switch to ID3v2 mode. The third step: at this time to be divided into two situations: one is named MP3 files are random, each label field is blank, in short, there is no information available. In other cases, MP3 file name contains the name of song name or artist, such as (1) first case: this case can only be filled out by hand all the label information. Press F3 key to enter the name, click the So, you can bulk fill album, year, genre other items. Then fill out the song name and lyrics. As song titles and lyrics are unique to each song, so can not use volume method to fill. Press F5 key to open the tag editor, in the If you have the lyrics saved as a text file, through the following Other information, such as age, pictures of what,
nike air force one high, according to their own preferences to decide whether to add. All completed, click the bottom right corner of the Tips where to find lyrics? Baidu search engine famous lyrics search, just go to
http://mp3.baidu.com/, enter the title and select (2) The second case: this case, the workload will be much smaller, we can extract useful information in the file name against saved to tag out. Press F4 key to switch to the Here to illustrate this: If your song file name rule is the name), you can list the file name from the right, check out the track corresponding to the variable variable is .% 2. Fill out the right mask and click If the album, two songs have a completed label information, we can contain the two songs, copy the information to other songs. Is: first Ctrl A key to select all the files, and then click of the songs it contains the tag information highlighted, click the information to the left column, and then you want to copy to other file information in the column is selected, then click More Atlas Atlas entry Open Category: IT, documentation, information, mp3, data