[vorbis] batch files
Edgar Soldin
edgar at soldin.de
Mon Jan 12 05:06:01 PST 2004
Hi all,
I just did 2 batchfiles for encoding dropped files or folders on them. In case somebody is interested. They should work under NTbased Wins.
Have fun Ede
--
public class WhoDidIt{ // A comment. I love comments
private static Student sender;
public static void main (String[] foo){
sender = new Student("Digital Media");
sender.setName(new String[]{"Edgar", "Soldin"});
Address address = new Address();
address.setStreet("Stadtweg 119");
address.setSuburb("Ottersleben");
address.setZip(39116);
address.setCity("Magdeburg");
address.setCountry("Germany");
sender.setAddress(address);
sender.setMobilePhone(" +49(0)171-2782880 ");
sender.setWebSiteUrl(" http://www.soldin.de ");
sender.setEmail(" edgar at soldin.de ");
sender.setGender(true);
System.out.println(sender.toString());
}
}
@echo off
echo %*
echo
:encode
echo Process %1 now...
start /LOW /B /WAIT G:\_Programme\Audio\vorbis-tools-1.0.1\oggenc -q 8 "%~1"
shift
if "%~1"=="" (
goto eof
) else (
goto encode
)
:eof
pause
@echo off
:encode
echo Process %1 now...
for /R %1 %%i in (*.wav) do (
echo Process %%i now...
start /LOW /B /WAIT G:\_Programme\Audio\vorbis-tools-1.0.1\oggenc -q 8 "%%i"
)
shift
if "%~1"=="" (
goto eof
) else (
goto encode
)
<p>pause
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list