Advertisement
Guest User

DVDDemux.bat

a guest
Apr 10th, 2014
22
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mkdir "%1\DVDDemux"
  2. mkdir "%1\DVDSound"
  3. FOR %%i IN (%1\*.IFO) DO (
  4.     if not %%~ni==VIDEO_TS (
  5.         echo Process file %%i
  6.         mkdir "%1\DVDDemux\%%~ni"
  7.         echo Demux audio, video, celltimes, subtitles...
  8.         PgcDemux -m2v -aud -sub -cellt "%%i" "%1\DVDDemux\%%~ni"
  9.        
  10.         echo Convert audio to mp3 for Sony Vegas...
  11.         echo.
  12.         ffmpeg.exe -i "%1\DVDDemux\%%~ni\AudioFile_80.ac3" -ac 2 -c:a libmp3lame -b:a 192k "%1\DVDSound\%%~ni.mp3"
  13.     )
  14. )
Advertisement
RAW Paste Data Copied
Advertisement