HydrogenAudio

Lossy Audio Compression => MP3 => MP3 - Tech => Topic started by: geeuhnfay on 2012-05-27 12:33:44

Title: What exactly is Free Format?
Post by: geeuhnfay on 2012-05-27 12:33:44
In dBpoweramp when converting files to mp3 it gives the options of vbr, cbr, abr, and also free format. What exactly is free format and how does it compare to the others?
Title: What exactly is Free Format?
Post by: Porcus on 2012-05-27 12:47:51
In dBpoweramp when converting files to mp3 it gives the options of vbr, cbr, abr, and also free format. What exactly is free format and how does it compare to the others?


The «free format» is a less strict specification, allowing for higher bit rates than 320. Which means that an «mp3 player» need not be able to read it. (For all that I know, it might work just fine though.)

It is hardly used anymore (was it ever?), and you are probably better off avoiding it: if you want bigger files than 320, then go lossless (about 900, depending on material).

If you want MP3, go VBR, which adjusts bitrate to complexity. Unless you have an old quirky mp3 player (some of them couldn't handle it, despite labeling themselves as «mp3 players»).
Title: What exactly is Free Format?
Post by: geeuhnfay on 2012-05-27 13:01:50
Thanks that clears it up, so I'm assuming it's the same as cbr if you set it to 320kbps?
Title: What exactly is Free Format?
Post by: [JAZ] on 2012-05-27 13:05:47
"Freeformat" mode of MP3 should not be an option to use inside a program. I guess dbpoweramp offers it thinking mostly with the experienced users.


* The quick reply:
freeformat is a CBR mode which is non-compatible with many players.

* The more complete reply:
The encoded layer 3 data (what is inside an MP3 file) is distributed in packets of fixed size once compressed (huffman encoding). There are only a few fixed sizes for these packets, which in turn determine the only possible CBR values ( i.e. 128, 160, 320..).
Freeformat, instead, does not use packets, but stores the info as a continuous stream.
Doing so offers several advantages:
- Higher than 320kbps bitrates (depending on the decoder/player, up to 640kbps).
- Do codec tweakings not worrying about bit demands. (I guess it was also used in the beginning before standarizing the format)

So in general, it is either a temporary storage (freeformat might not be decodeable with different decoders, so better not rely on it) or an option for developers.
Title: What exactly is Free Format?
Post by: geeuhnfay on 2012-05-27 13:22:48
Thanks again the compatibility is an issue with iTunes. I just tested it out so I guess I don't have to worry and just leave free format alone.
Title: What exactly is Free Format?
Post by: benski on 2012-05-27 18:05:05
Decoders are not required to support free format, it is an optional part of the MPEG Audio spec.  It is somewhat difficult to support, as the packet size must be "guessed" by looking for the next MPEG header.  In practice, few decoders support it.