Help - Search - Members - Calendar
Full Version: Why Vbr Tags For --alt-preset Cbr X
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - Tech
JensRex
I never really used --alt-preset cbr until the other day when I encoded an audio track for a DVD rip.

I analyzed the file with Encspot, and couldn't help wondering why LAME had added both Xing and LAME VBR tags to the file ph34r.gif.

It doesn't make much sense to me. I encoded again with -t and all was good.

Explain to me...
john33
Not so much an explanation, but clearly someone made a conscious decision on this:
CODE

   /* for CBR, we will write an "info" tag. */
   //    if ((gfp->VBR == vbr_off))
   //  gfp->bWriteVbrTag = 0;

Extracted from lame.c code.
JensRex
Can't really figure out the code, but I still wonder what's the purpose of this.
john33
The 2 '//' effectively delete the 2 lines of code that would have prevented the writing of the tags. The tags were/are written by default unless switched off. So now, they're always written.
robert
the LAME tag provides some useful information even in CBR case, like replay gain values. http://users.belgacom.net/gc247244/extra/tag.html
Gabriel
Well, you can consider this as an info tag and not a vbr tag. It is there because it includes a lot of information, like parameters used, encoder delay (allowing true gapless if there is support on the decoder side),...
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-2009 Invision Power Services, Inc.