HydrogenAudio

Lossy Audio Compression => MP3 => MP3 - Tech => Topic started by: BFG on 2012-10-22 19:26:53

Title: Any plans for Freeformat VBR in LAME?
Post by: BFG on 2012-10-22 19:26:53
This is purely for curiosity's sake...off the top of my head I can't imagine any practical application for such a format.
Title: Any plans for Freeformat VBR in LAME?
Post by: lvqcl on 2012-10-22 19:34:12
Freeformat is always CBR.
Title: Any plans for Freeformat VBR in LAME?
Post by: benski on 2012-10-22 19:45:14
In theory, it could be VBR if it's packed inside another container format such as MP4, AVI, MKA, etc.  However, such a scheme would be non-standard and would require modifications to existing decoders to play properly
Title: Any plans for Freeformat VBR in LAME?
Post by: MostlyHarmless on 2012-10-22 20:57:31
In theory, it could be VBR if it's packed inside another container format such as MP4, AVI, MKA, etc.  However, such a scheme would be non-standard and would require modifications to existing decoders to play properly


Isn't it mp3 stream in mp4 container a standard? I thought so...

Title: Any plans for Freeformat VBR in LAME?
Post by: benski on 2012-10-22 22:51:48
In theory, it could be VBR if it's packed inside another container format such as MP4, AVI, MKA, etc.  However, such a scheme would be non-standard and would require modifications to existing decoders to play properly


Isn't it mp3 stream in mp4 container a standard? I thought so...


It is.  But for such a scheme to work, decoders would have to rely on the size stored for each "sample" (packet) in the MP4 mdat, rather than trying to parse it from the MP3 header.  I'm not aware of any MP3 decoder APIs that are capable of this, although it would be trivial to add.
Title: Any plans for Freeformat VBR in LAME?
Post by: slks on 2012-10-24 04:29:07
Newer codecs (AAC, Vorbis) are more robust in every way, they've got a better quality-to-filesize ratio. The only reason people still use MP3 is because it's compatible with everything and will play everywhere.

When you go to free-format, you've broken that compatibility, and there's no reason anymore to stay locked in to MP3. Might as well go to better codecs if you're going to break that compatibility. So there's very little incentive for anyone to improve upon freeformat encoding.

Besides, I've got some FLACs that weigh in at under 640 kb/s.