backup

Backup

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

good for dvd with bad sectors

vlc dvdsimple:///dev/sr0#1 --sout #standard{access=file,mux=ts,dst=dvdout.mpg}" vlc://quit

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 -d /dev/sr0 -o filename.iso -s 8 -v
ddres­cue –n –b 2048 /dev/sr0 output.iso
dvd­backup –M –i output.iso –o dvd_structure
genisoimage -dvd-video -udf -o clean_dvd.iso dvd_structure

Inves­ti­gat­ing the device mode pages with sdparm, I came up with the fol­low­ing to make it stop try­ing 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 ...]
  • backup.txt
  • Last modified: 2015/09/02 19:47
  • by scipio