Rip Video DVD that is not Finalized

From PaskvilWiki
Jump to: navigation, search

How to Rip Video-DVD that was not Finalized by the DVD Recorder

Suppose your DVD drive is visible as /dev/dvd block device on your computer.

List All Tracks on the DVD

You can use excellent dvd+rw-mediainfo to list content of almost any DVD, finalized or not.

$ dvd+rw-mediainfo /dev/dvd
... info about the drive and disk ...
READ DISC INFORMATION:
 Disc status:           appendable
 Number of Sessions:    1
 State of Last Session: incomplete
 "Next" Track:          1
 Number of Tracks:      8
READ TRACK INFORMATION[#1]:
 Track State:           reserved incremental
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:           12272*2KB
 Track Size:            12272*2KB
READ TRACK INFORMATION[#2]:
 Track State:           complete incremental
 Track Start Address:   12288*2KB
 Free Blocks:           0*2KB
 Track Size:            456984*2KB
 Last Recorded Address: 469271*2KB
... remaining tracks info ...

This disc cannot be generally read since its status is appendable, and it's last session is incomplete.

But as long as the tracks are complete incremental, they still can be accessed/ripped.

Rip a Track

Lets rip the second track.

$ dd bs=2048 skip=12288 count=456984 if=/dev/dvd of=/tmp/track2.vob
456984+0 records in
456984+0 records out
935903232 bytes (893 MB) copied, 424.368 seconds, 2.1 MB/s

That's it. The /tmp/track2.vob file is a VOB with the second track, which is pretty much just MPEG with header with timestamps.

You can ffmpeg it into MPEG using just -vcodec copy -acodec copy.