====== Backup ======
===== makemkv =====
Wonderful for ecncrypted bluray http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224
===== mplayer =====
good for dvd protected with bad sectors
detect main feature
LANG=en dvdbackup -i /dev/sr0 -I | egrep -i -2 "^Main feature"
with Disney DVD play the disk with
mplayer -v dvdnav:// -dvd-device /dev/sr0 2>&1 | grep TITLE
without a title number, then select the main feature in the menu and look at
the debug output, you'll see which title is played, when the message
"switching to track xy" appears.
dump main feature (1 in this example) to vob file
mplayer dvdnav://1 -dvd-device /dev/sr0 -dumpstream -dumpfile movie.vob
mplayer dvd://1//dev/sr0 -dumpstream -dumpfile movie.vob
convert to matroska con MKVToolNix
mkvmerge -o movie.mkv movie.vob
oppure con avconv
avconv -fflags +genpts -i movie.vob -c:v copy -an movie.mkv
# o con ffmpeg
ffmpeg -i movie.vob -sameq movie.mkv
===== vlc =====
good for dvd with bad sectors
vlc dvdsimple:///dev/sr0#1 --sout #standard{access=file,mux=ts,dst=dvdout.mpg}" vlc://quit
===== dvdbackup =====
all DVD
dvdbackup -i /dev/sr0 -M –o dvd_structure
genisoimage -dvd-video -udf -o clean_dvd.iso dvd_structure
main feature
dvdbackup -i /dev/sr0 -F
cat VIDEO_TS/*.VOB > movie.vob
===== readdvd =====
readdvd -d /dev/sr0 -o filename.iso -s 8 -v
===== ddrescue =====
ddrescue –n –b 2048 /dev/sr0 output.iso
dvdbackup –M –i output.iso –o dvd_structure
genisoimage -dvd-video -udf -o clean_dvd.iso dvd_structure
===== tricks =====
Investigating the device mode pages with sdparm, I came up with the following to make it stop trying to read those blocks over and over again:
sdparm –set=RRC=0 /dev/sr0
Repair index and/or merge
mencoder -forceidx -o output.avi -oac copy -ovc copy input1.avi [input2.avi ...]