2013-07-12 4 views

Antwort

34

Ersetzen Sie einfach die D: mit Ihrem CD-Laufwerk (2 fett und kursiv Vorkommen):

@ECHO OFF 

    setlocal ENABLEDELAYEDEXPANSION 

    SET /a x=0 

    FOR /R D:\ %%G IN (*.cda) DO (CALL :SUB_VLC "%%G") 
    GOTO :eof 

    :SUB_VLC 
    call SET /a x=x+1 

    ECHO Transcoding %1 
    REM Here's where the actual transcoding/conversion happens. The next line 
    REM fires off a command to VLC.exe with the relevant arguments: 
    CALL "C:\Program Files\VideoLAN\VLC\vlc" -I http cdda:///D:/ --cdda-track=!x! :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access="file",mux=raw,dst="Track!x!.mp3"} vlc://quit 

    :eof
+2

sein sollte Wenn Sie eine 64-Bit-Windows ändern der CALL-Pfad von VLC zu: "C: \ Programme (x86) \ VideoLAN \ VLC \ vlc" –

+0

Es gibt 64 Bit VLC für 64 Bit Windows – Motes

+0

Das ist genial. Finden Sie heraus, wie Sie die Albuminformationen automatisch hinzufügen können, und dies wird der perfekte Batch sein! – ringstaff

Verwandte Themen