| View previous topic :: View next topic |
| Author |
Message |
BenjaminW
Joined: 06 Jan 2007 Posts: 17
|
| anchor | Posted: Sat Jan 06, 2007 7:16 am Post subject: Encode/Transcode selected WAV/MP3 files to MP3 using LAME |
|
|
Use this button definition to easily encode/transcode wave or mp3 files to mp3 using LAME encoder (free). Please change the path to lame.exe according to your installation. Hitting the button will encode all selected files to the destination folder.
<?xml version="1.0"?>
<button display="both" effect="gray">
<guid>{9CE8D1E0-DEB3-4709-9212-D79474B8754B}</guid>
<label>Encode MP3 (to destination) - Quality: VBR 4</label>
<icon1>12</icon1>
<function type="batch">
<instruction>"C:\__CHANGEME__\lame.exe" -V 4 --vbr-new {filepath$} {destpath$}{file$|ext=mp3}</instruction>
<instruction>pause</instruction>
</function>
</button>
|
Hope this is interesting for you. Please give feedback.
LAME can be downloaded from several sources (ask google!). Official site: http://lame.sourceforge.net/index.php
|
|
| Back to top |
|
 |
BenjaminW
Joined: 06 Jan 2007 Posts: 17
|
| anchor | Posted: Thu Jan 11, 2007 9:01 am Post subject: Vice versa |
|
|
For decoding a MP3 File to WAVE you can use LAME, too:
<?xml version="1.0"?>
<button display="both" effect="gray">
<guid>{9CE8D1E0-DEB3-4709-9212-D79474B8754B}</guid>
<label>MP3 Dekodieren</label>
<icon1>12</icon1>
<function type="batch">
<instruction>"C:\__CHANGEME__\lame.exe" --decode {filepath$} {destpath$}{file$|ext=wav}</instruction>
<instruction>pause</instruction>
</function>
</button>
|
See the documentation of LAME for other command line options (quality, ID3-Tags, etc.).
|
|
| Back to top |
|
 |
BenjaminW
Joined: 06 Jan 2007 Posts: 17
|
|
| Back to top |
|
 |
leo Admin

Joined: 07 Nov 2004 Posts: 13645 Location: London, UK [Windows 7 x64]
|
|
| Back to top |
|
 |
Sasa
Joined: 27 Aug 2006 Posts: 498 Location: Germany, somewhere between Bonn and Cologne
|
| anchor | Posted: Thu Jul 12, 2007 8:26 am Post subject: |
|
|
Final button:
This will encode files from source to destination. The selected encoding quality will be used for all files!
<?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>____ENTER_PATH___\lame.exe "{$var}" {filepath$} {destpath$}{file$|ext=mp3}</instruction>
<instruction>Pause</instruction>
</function>
</button> |
|
|
| Back to top |
|
 |
BenjaminW
Joined: 06 Jan 2007 Posts: 17
|
| anchor | Posted: Thu Jul 26, 2007 12:43 am Post subject: |
|
|
Very neat!
That is cleaning up my MP3 encoding menu a lot
|
|
| Back to top |
|
 |
Devilder
Joined: 19 May 2007 Posts: 231
|
| anchor | Posted: Sun Jul 29, 2007 7:12 am Post subject: |
|
|
I like this feature a lot, but just some questions....
Encoding MP3 to WAV will not getter better quality.
Reencoding an MP3 to MP3 using Lame would IIRC lower the quality even more.
|
|
| Back to top |
|
 |
Sasa
Joined: 27 Aug 2006 Posts: 498 Location: Germany, somewhere between Bonn and Cologne
|
| anchor | Posted: Sun Jul 29, 2007 10:37 am Post subject: |
|
|
| Devilder wrote: | I like this feature a lot, but just some questions....
Encoding MP3 to WAV will not getter better quality.
Reencoding an MP3 to MP3 using Lame would IIRC lower the quality even more.
 |
1. Decoding MP3 back to WAV will NOT bring you back original quality (MP3 is compressed audio and not lossless - you will always get the quality of the MP3 when decoding)
2. You shouldn't re-encode a MP3 (this means loosing more quality as the source-mp3). Except you want to save space on a MP3-Player for example (I always re-encode higher quality MP3 to VBR 160 (LAME Preset 4) for my player).
Also LAME will bring you best results with VBR Preset 2 (~190kbps). At CBR 320kbps you won't hear a difference between MP3 and WAV.
|
|
| Back to top |
|
 |
|
| View previous topic :: View next topic |