How to rip a DVD using mencoder; get utility.sh from this post My delicious rip links #!/bin/bash . utility.sh function printUsage { echo "Usage: $0 [-d dvd-device] [-t title-number] [-l language] [-o output-file-name-without-ext] [-c crop-value] [-b bitrate] [-a audio-codec] [-e audio-encoding-options] [-v volume-gain-for-lavc] [-p additional-parameters]" echo "-t can be passed more times to rip