MPlayer - Rip DVD to raw video

mplayer -dumpstream dvdnav://1 -nocache -dvd-device d: -dumpfile dvdout.mpg

With mencoder:

mencoder dvdnav://2 -nocache -oac copy -ovc copy -of mpeg -o dvdout.mpg