Help - Search - Members - Calendar
Full Version: lame batch encode...
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
n68
ciao..



yes. sorry for asking this..

a m8. of mine have just started to encode with lame
for vid. purpose.. (don`t ask.. huh.gif ) then he joins the stuff in premiere.

he insist in using command line.. huh.gif but is stuck
on batch prosses a dir. with lame

she can`t see any command for that inn lame..

is there one.. or doesn`t lame support it from cmd..


smile.gif
Gabriel
Lame does not support that.

Instead of using Lame to batch process a directory, you have to use a batch to batch process Lame in a directory.
n68
gday..


can you give me an example..
(sorry.. to long a time with gui`s.. ohmy.gif )


blink.gif
smile.gif
gharris999
Put these commands in a file named something like "encodedir.cmd" :

----------------------------------
@echo off
rem WinXP CMD file to encode all WAV files in a folder to MP3s via LAME.EXE..
rem Make sure this cmd file resides in the same folder as LAME.EXE.
rem
rem The argument to this cmd file should be the full path to the folder containing the WAV files.

rem Display our arguments..
echo Full Arg: %1
echo Drive: "%~d1"
echo Path: "%~p1"
echo Name: "%~n1"
echo Ext: "%~x1"
rem Change to arg drive and path
%~d1
cd "%1"
cd

rem Encode with Lame..
for %%z in (*.wav) do "%~dp0lame.exe" --preset standard "%%z" "%%~nz.mp3"

pause

:end
-------------------------------

..then put that file (encodedir.cmd) into the same folder as LAME.EXE. You can then create a shortcut to encodedir.cmd and put it on the desktop. Then, you can drag and drop directories with WAV files in them onto that shortcut to encode the whole directory.
n68
ciao..

TnX..gharris.. works as a sharm..

btw.. this is actually the first time i try --preset..
instead of --alt -preset.. am running 95.1..
and there is huge speed..

grand..


smile.gif
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.