I have been looking here for a way to convert al my ripped DVD's to an Ipod format on my Windows XP computer, but could not find anything suitable.
That's why I have created the "simple" BATCH file below that runs on a standard Windows XP installation. Perhaps this is of some use and/or inspiration to some of you.
Code: Select all
set INDIR=\My DVDs\
set OUTDIR=\My Ipod files\
set PRESET=iPod Low-Rez
set EXTRA=--markers --native-language nld -v
for /d /r "%INDIR%" %%i in (.) do if exist "%%~fi\video_ts." if NOT exist "%OUTDIR%%%~ni %PRESET%.m4v" TITLE Handbrake "%%~ni" preset "%PRESET%" & "handbrakecli" -i "%%~fi" -o "%OUTDIR%%%~ni %PRESET%.m4v" -Z "%PRESET%" %EXTRA% 2>>hb.log
- uses HandbrakeCLI to convert all VIDEO_TS directories (in the directory indicated by INDIR) into a .M4V file using the preset named in PRESET. EXTRA may contain "overrides" or additions to the built-in preset.
- places the .M4V files in the directory indicated by OUTDIR. Name of the .M4V files is the same as the name of the directory in INDIR thats contains the VIDEO_TS directory.
- skips the conversion of a VIDEO_TS directory if the .M4V file was already created in an earlier run.
- displays the currently converted DVD in the TITLE of the window
- logs the HandbrakeCLI output to file hb.log (read it with Wordpad)
Make sure the BATCH file is placed in a directory that also contains HandbrakeCLI.exe and cyg1win.dll. The version I use is 0.9.2.
Have fun, but as always : Use at you own risk.