In this document will be explained how to make new presets for winLAME. This page is for LAME experts only. If you don't know about the internals of LAME, please use the standard presets that winLAME already has. They are already very good.
Presets are stored in winLAME in an XML file. The general format for the presets file looks like this:
<presets> <facility name="facility name"> <preset name="preset name"> <comment> preset comment visible in preset description </comment> <value name="value name">value</value> <value name="value name">value</value> [... more values ...] </preset> [... more presets ...] </facility> [... more facilities ...] </presets> |
If the file is not valid or wellformed, or doesn't meet the structure shown above, the presets page won't appear in winLAME. If there is no list of presets for a specific facility (=output module), the presets page doesn't show up either, since there's no need to show the page.
This is a list of available facilities:
Facility Name | Output Module |
lame | LAME mp3 Encoder |
oggvorbis | Ogg Vorbis Encoder |
wave | Wave Output |
aac | libfaac AAC Audio File Encoder |
Here is a list of possible values, descriptions and their default values for the LAME encoder:
Value Name | Description | Default Value |
noGap | when 1, LAME encodes multiple files as they were one, resulting in mp3 files that can be played back without gap. | 0 |
hideLameSettings | when 1, winLAME hides all settings pages for LAME | 0 |
Note that winLAME sometimes has other default values than the LAME command line tool.