Rabu, 29 Februari 2012

The Mp3 Frame Layout

The frame consist of five parts; header, CRC (optional), side information, main data and ancillary data as shown beow


The Frame Format

Each frame consists of 1152 mono or stereo frequency-domain output samples.  It is divided into two granules of 576 samples each.  The granule is made up of 18 frequency lines * 32 subband blocks

 Frequency lines of frame compositions of MP3 in two audio channels   

 The size of the frame will depend on the bitrate and the sampling frequency.  It can be computed using the formula:

         [(144*bitrate)/sampling frequency] + padding [bytes]

A MP3 song with bit rate of 128kbps, sampling frequency of 44.1kHz and padding bytes set will have a frame size of  417, calculation;

 [(144*128000)/44100]+1 = 417.    

    

Tiada ulasan:

Catat Ulasan