http://www.rarewares.org/files/mp3/lameDll3.96.1_MOD.zip
At first I though that the only difference was that this modified version takes all it's settings from an ini file instead of from the command line, but that doesn't explain why the modified version produces much smaller file sizes. On the test track I encoded at --preset medium, the normal version of lame (3.96.1) encodes at approx 160kpbs whereas the modified version only encodes ar 138kbps.
I appreciate the smaller file size but would love to know what settings have been altered to achieve this lower bit rate.
BTW. The ini file I'm using to encode at --preset medium with the modified encoder is as follows.
BTW. The ini file I'm using to encode at --preset medium with the modified encoder is as follows.
CODE
[lame_enc]
LamePreset=11
Scale=0.0
ExperimentalY=0
REM LamePreset is allocated using the following numbering scheme:
REM 1 = V9 - VBR_RH(Old) - ExperimentalY already set
REM 2 = V9 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 3 = V8 - VBR_RH(Old) - ExperimentalY already set
REM 4 = V8 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 5 = V7 - VBR_RH(Old) - ExperimentalY already set
REM 6 = V7 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 7 = V6 - VBR_RH(Old) - ExperimentalY already set
REM 8 = V6 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 9 = V5 - VBR_RH(Old) - ExperimentalY already set
REM 10 = V5 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 11 = V4 - VBR_RH(Old) - Preset MEDIUM - ExperimentalY already set
REM 12 = V4 - VBR_MTRH(New - FAST) - Preset MEDIUM FAST - ExperimentalY already set
REM 13 = V3 - VBR_RH(Old) - ExperimentalY already set
REM 14 = V3 - VBR_MTRH(New - FAST) - R3MIX - ExperimentalY already set
REM 15 = V2 - VBR_RH(Old) - Preset STANDARD
REM 16 = V2 - VBR_MTRH(New - FAST) - Preset STANDARD FAST
REM 17 = V1 - VBR_RH(Old)
REM 18 = V1 - VBR_MTRH(New - FAST)
REM 19 = V0 - VBR_RH(Old) - Preset EXTREME
REM 20 = V0 - VBR_MTRH(New - FAST) - Preset EXTREME FAST
REM 21 = 320 - Preset INSANE
REM
REM To change the preset used, edit the number following 'LamePreset='.
REM NOTE: Invalid numbers will be ignored, default is 'V2 VBR_RH - preset STANDARD'.
REM
REM Scale can be used to apply the ReplayGain factor to scale the samples
REM as floating point numbers within LAME before encoding.
REM Valid values are > 0.0 and less than 1.0, default = 0.0.
REM
REM ExperimentalY is used to toggle the switch ON or OFF. Set to 1 if you want
REM it changed to ON or OFF, depending whether it is already set.
REM If set to anything other than 1,it will be ignored.
REM NOTE: ONLY the FIRST 4 lines of this file are read and used.
LamePreset=11
Scale=0.0
ExperimentalY=0
REM LamePreset is allocated using the following numbering scheme:
REM 1 = V9 - VBR_RH(Old) - ExperimentalY already set
REM 2 = V9 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 3 = V8 - VBR_RH(Old) - ExperimentalY already set
REM 4 = V8 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 5 = V7 - VBR_RH(Old) - ExperimentalY already set
REM 6 = V7 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 7 = V6 - VBR_RH(Old) - ExperimentalY already set
REM 8 = V6 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 9 = V5 - VBR_RH(Old) - ExperimentalY already set
REM 10 = V5 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 11 = V4 - VBR_RH(Old) - Preset MEDIUM - ExperimentalY already set
REM 12 = V4 - VBR_MTRH(New - FAST) - Preset MEDIUM FAST - ExperimentalY already set
REM 13 = V3 - VBR_RH(Old) - ExperimentalY already set
REM 14 = V3 - VBR_MTRH(New - FAST) - R3MIX - ExperimentalY already set
REM 15 = V2 - VBR_RH(Old) - Preset STANDARD
REM 16 = V2 - VBR_MTRH(New - FAST) - Preset STANDARD FAST
REM 17 = V1 - VBR_RH(Old)
REM 18 = V1 - VBR_MTRH(New - FAST)
REM 19 = V0 - VBR_RH(Old) - Preset EXTREME
REM 20 = V0 - VBR_MTRH(New - FAST) - Preset EXTREME FAST
REM 21 = 320 - Preset INSANE
REM
REM To change the preset used, edit the number following 'LamePreset='.
REM NOTE: Invalid numbers will be ignored, default is 'V2 VBR_RH - preset STANDARD'.
REM
REM Scale can be used to apply the ReplayGain factor to scale the samples
REM as floating point numbers within LAME before encoding.
REM Valid values are > 0.0 and less than 1.0, default = 0.0.
REM
REM ExperimentalY is used to toggle the switch ON or OFF. Set to 1 if you want
REM it changed to ON or OFF, depending whether it is already set.
REM If set to anything other than 1,it will be ignored.
REM NOTE: ONLY the FIRST 4 lines of this file are read and used.
