Help - Search - Members - Calendar
Full Version: "padding" and "xing header" especifications
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
ginoboy
user posted image

Hi, I want to know what is it for and what does it means the MP3 info below, that are showned in the picture , "padding" and "xing header" , because I have ripped it with "EAC" and with the "lame" and stay in that way, most part of MP3 have "padding" and I donīt know if itīs important . Waiting for an answer and a help , Thanks very much.
getID3()
The structure of an MP3 file is divided into frames which (based on various settings like bitrate, sample rate, etc) are a certain number of bytes in size. The number of bytes is calculated by:
CODE
FrameLengthInBytes = ((Coefficient * BitRate) / SampleRate) + Padding
so for example, the infamous 128kbps 44kHz MP3 calculates as:
CODE
417.959 = ((144 * 128000) / 44100)
Because we're talking about a number of bytes in a file, it can only be 417 or 418, so the way it works is that most frames are 418 bytes long, and about 5% of them are 417 bytes long, to give the overall average bitrate of exactly 128kbps. I'm not aware of any use of padding in a VBR file (I'm sure someone will explain if it is used).

So in terms of what padding means for your file - nothing really.

As for the Xing header, it's a header mostly used on VBR MP3 files that gives information like the average bitrate and length of the file. LAME extends this header and stores even more information in it, so you may also see it referred to as a LAME header. Fraunhofer VBR MP3s have a similar (but incompatible) header storing mostly the same information. VBR files without a header are much harder to work with so having them is a good thing (but they have no impact on audio quality).
ginoboy
Thank you for the information,

I am using the following lines of commands for rip the mp3:

CODE
--alt-preset extreme --add-id3v2 --pad-id3v2 --ta "%a" --tt "%t" --tl "%g" --ty "%y" --tn "%n" --tg "%m" %s %d -m s -q 0


or

CODE
--alt-preset cbr 192 --add-id3v2 --pad-id3v2 --ta "%a" --tt "%t" --tl "%g" --ty "%y" --tn "%n" --tg "%m" %s %d -m s -q 0


I want the maximum of quality, it doesn't matter if it will be long, time is not problem ..

I would like to know which the best configurations than I can use to obtain the best quality and also I wanted to know the difference between "stereo" and "joint stereo" and which is the best to use.

thanks..
Sebastian Mares
Do search for Stereo and Joint Stereo on Hydrogenaudio.

If you want the maximum of quality, go losslessly. If you want the maximum of MP3 quality, use --alt-preset standard, --alt-preset extreme or --alt-preset insane.
ginoboy
but the size of the mp3 matters =)

I wanted to know the best parameters that I can use so that during the code, I obtain the best result

without worrying with the time but seeking the size

are the lines of commands that I am using good?

tks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.