MP3 file format


Free Download Mp4Gain
picture

MP3 file format

Mp3 file format
Mp3 file format

Introduction:
MP3 file format

Mp3 file format
Mp3 file format

1. Overview:
MP3 files are made up of frames, and frames are the smallest unit of MP3 files. The full name of MP3 must be MPEG1 Layer 3 audio files. MPEG
(Motion Picture Experts Group) translates into Chinese as Moving Picture Experts Group, and refers specifically to moving video and audio compression standards.
MPEG1 standard, also known as MPEG audio layer, which is divided into three layers based on compression quality and encoding complexity, namely,
Layer-1, Layer2 and Layer3, which correspond to the three sound files of MP1, MP2 and MP3 respectively, and use different
levels of audio files according to different purposes. The higher the MPEG audio encoding level, the more complex the encoder and the higher the compression ratio. The compression ratios of MP1 and MP2 are 4:1 and
6:1-8:1 respectively, while the compression ratio of MP3 is as high as 10:1-8:1. 12:1, meaning one minute of CD-quality music requires 10MB
of storage space without compression, but only about 1 MB after MP3 compression encoding. However, MP3 uses a lossy compression method for audio signals. To reduce
sound distortion, MP3 adopts “sensory coding technology”, that is, it first analyzes the frequency spectrum of audio files during encoding, and then uses filters to filter the
noise . levels. Then the remaining bits are spread and arranged by means of quantization, and finally an MP3 file with a higher compression ratio is formed, and the
compressed file can achieve a sound effect closer to the original sound source during playback.
2. The whole structure of
MP3 files: MP3 files are roughly divided into three parts: TAG_V2 (ID3V2), Frame, TAG_V1 (ID3V1)
ID3V2 contains information like author, composer, album, etc. The length is not fixed, which expands the information volume of ID3V1.
A series of frames, the number is determined by the size of the file and the length of the frame. The length of each frame of the
frame
may not be fixed or fixed, and is determined by the bitrate
.
Each table is divided into two parts: table header and data entity Header of data.
frame
Record the bit rate, sample rate, version and other information of mp3, and each frame is independent of each other The frame
ID3V1 contains information like author, composer, album, etc., and the length is 128BYTE . 3. MP3 FRAME format: each FRAME has a FRAMEHEADER frame header, the length is 4BYTE (32 bits), there may be two CRC check bytes after the frame header, the existence of these two bytes depends on the FRAMEHEADER information If bit 16 is 0, there is no checksum after the frame header, and if it is 1, there is a checksum. The checksum length is 2 bytes, followed by the FRAMEHEADER, followed by the frame entity data. The format is as follows: FRAMEHEADER CRC (free) MAIN_DATA 4 BYTE 0 OR 2 BYTE The length is calculated from frame header 1. The format of the FRAMEHEADER frame header is as follows: AAAAAAAA AAABCCD EEEEFFGH IIJJKLMM


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture