11 listopada 2015

Konwersja płyt CD-Audio za pomocą VLC – skrypt

Konwersja płyt CD-Audio za pomocą VLC – skrypt batch

@echo off
setlocal enabledelayedexpansion

REM -------------------
REM Set your VLC path and drive letter you want to copy!!!
REM -------------------
SET VLCPATH="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
REM -------------------

SET /a x=0

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

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 %VLCPATH% -I http cdda:///%DRIVELETTER%/ --cdda-track=!x! :sout=#transcode{vcodec=none,acodec=vorb,ab=128,channels=2,samplerate=44100}:std{access="file",mux=ogg,dst="Track!x!.ogg"} vlc://quit



TrackBack URL dla tej wiadomości:

Napisz komentarz