In the Buttons forum there is a topic about encoding WAV to MP3: [Encode/Transcode selected WAV/MP3 files to MP3 using LAME)
<?xml version="1.0"?>
<button display="both" label_pos="right" separate="yes">
<label>Encode MP3</label>
<icon1>12</icon1>
<function type="batch">
<instruction>@set var = {dlgchoose|Select encoding quality:|VBR ~165 kbps (4 - medium)=-V 4 --vbr-new+VBR ~190 kbps (2 - standard)=-V 2 --vbr-new+VBR ~240 kbps (0 - extreme) =-V 0 --vbr-new+CBR 128 kbps=-b 128+CBR 160 kbps=-b 160+CBR 192 kbps=-b 192+CBR 320 kbps=-b 320}</instruction>
<instruction>C:\SpezProgramme\LAME\lame.exe "{$var}" {filepath$} {destpath$}{file$|ext=mp3}</instruction>
<instruction>Pause</instruction>
</function>
</button>
How can I achieve these improvements to this button:
-
Save the encoded/decoded/transcoded file automatically in the source directory (no asking for destination directory),
-
automatically ENCODE selected WAV files and DECODE selected MP3 files,
-
get this button in the context menu of WAV and MP3 files.