Wednesday, January 11, 2017

Backing Up DVDs

Needed to back up some DVDs and the following process worked nicely (for a system that I only had command line access to):

Install Process Dependencies:

apt-get install libdvd-pkg
apt-get install vobcopy
apt-get install handbrake-cli

mount /dev/cdrom /mnt/cdrom
vobcopy -l -o /vob/dir -i /VIDEO_TS/ -M

HandBrakeCLI -i /vob/dir/<file>.vob -t 0 (to check vob file contents)
HandBrakeCLI -i /vob/dir/<file>.vob -o movie.mp4 -e x264 -q 20 -B 160 -t 1 -5 -O -m
umount /mnt/cdrom

Reference for HandBrakeCLI commands: