I put together a quick gui script for ripping a couple dvd's with the HandbrakeCLI utility. Just change the settings at the top to match your setup. This converts the DVD's to m4v files.
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; DVD Ripper
; Utilizes the HandbrakeCLI found @
; http://handbrake.fr/
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Customize this section for your setup
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Handbrake := "C:\Program Files (x86)\Handbrake\HandBrakeCLI.exe"
DVDDrive1 := "D:\"
DVDDrive2 := "E:\"
SaveTo := "F:\Movies\"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Leave this section as-is
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
DVDDrive1Active = 0
DVDDrive2Active = 0
ifExist, % DVDDrive1 . "VIDEO_TS"
{
DVDDrive1Active = 1
}
ifExist, % DVDDrive2 . "VIDEO_TS"
{
DVDDrive2Active = 1
}
if(DVDDrive1Active = 1 && DVDDrive2Active = 1)
{
Gui, Add, Text,, Movie Name [%DVDDrive1%]:
Gui, Add, Text,, Movie Name [%DVDDrive2%]:
Gui, Add, Edit, vMovieName1 ym ; The ym option starts a new column of controls.
Gui, Add, Edit, vMovieName2
Gui, Add, Button, default, OK ; The label ButtonOK (if it exists) will be run when the button is pressed.
Gui, Show,, Handbrake DVD Queue
return ; End of auto-execute section. The script is idle until the user does something.
ButtonOK:
Gui, Submit ; Save the input from the user to each control's associated variable.
Run,%ComSpec% /c ""%Handbrake%" -i "%DVDDrive1%VIDEO_TS" -o "%SaveTo%%MovieName1%.m4v" -L -p -2 -T --preset="AppleTV" & "%Handbrake%" -i "%DVDDrive2%VIDEO_TS" -o "%SaveTo%%MovieName2%.m4v" -L -p -2 -T --preset="AppleTV""
ExitApp
GuiEscape:
GuiClose:
ExitApp
}
else if(DVDDrive1Active = 1)
{
InputBox, MovieName, Movie Name, Please enter the movie name., , 300, 120
if ErrorLevel
{
ExitApp
} else
{
Run,%ComSpec% /c ""%Handbrake%" -i "D:\VIDEO_TS" -o "%SaveTo%%MovieName%.m4v" -L -p -2 -T --preset="AppleTV""
ExitApp
}
}
else if(DVDDrive2Active = 1)
{
InputBox, MovieName, Movie Name, Please enter the movie name., , 300, 120
if ErrorLevel
{
ExitApp
} else
{
Run,%ComSpec% /c ""%Handbrake%" -i "%DVDDrive2%VIDEO_TS" -o "%SaveTo%%MovieName%.m4v" -L -p -2 -T --preset="AppleTV""
ExitApp
}
} else {
MsgBox, No DVDs are found.
ExitApp
}