Help - Search - Members - Calendar
Full Version: --alt-preset - Can't find the specification
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
Jaester
I have searched and haven't found the actual specifications for the alt-presets. Can someone give some links to that or post them?

Jaester
john33
Download the source from Sourceforge, and you will find a file in libmp3lame called presets.c. You will find the current definitions within that file.
dreamliner77
I think he meant something more along the lines of this thread: http://www.hydrogenaudio.org/forums/index....=ST&f=15&t=3076
taken directly from the FAQ.
Jaester
For those who are also interested, as of 3.96:

CODE

   case V2: { /*STANDARD*/
       lame_set_VBR_q(gfp, 2);
       switch (lame_get_VBR(gfp)) {
       case vbr_rh: {
           SET_OPTION(VBR_min_bitrate_kbps, 128, 0); /*ideally, we should get rid of this*/

           SET_OPTION(short_threshold_lrm, 4.3f, -1);
           SET_OPTION(short_threshold_s, 25.0f, -1);
           SET_OPTION(quant_comp, 3, -1);
           SET_OPTION(quant_comp_short, 3, -1);
           SET_OPTION(psy_model, PSY_NSPSYTUNE, -1);
           lame_set_exp_nspsytune(gfp, lame_get_exp_nspsytune(gfp) | 2); /* safejoint */
           SET_OPTION(msfix, 1.38, -1);
           SET_OPTION(maskingadjust, .9, 0);
           SET_OPTION(maskingadjust_short, -1, 0);
           SET_OPTION(ATHlower, -1.5, 0);
           SET_OPTION(ATHcurve, 2, -1);
           /* modify sfb21 by 3.75 dB plus ns-treble=0                  */
           lame_set_exp_nspsytune(gfp, lame_get_exp_nspsytune(gfp) | (15 << 20));

           return preset;


I can understand the c code, but I still can't map it to command line options, anyone can help?
Liquid_Predator
I donīt think that --preset standard can be converted to command line parameters as this presets uses some coded tweaks that canīt be called by command line parameters.
Gabriel
QUOTE
I can understand the c code, but I still can't map it to command line options, anyone can help?


For preset standard (with 3.96):
"-V2"
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.