How to extract MPEG-2 video files from a DVD

This example uses the command-line version of mplayer. It will extract the titles without doing any transcoding or editing to them. Run the command…

mplayer -dumpstream -dumpfile /save/path/video.mpg dvd://1

If a DVD has multiple titles/videos, change the 1 to the number of the title you want.
If you get errors like…

Couldn't open DVD device: /dev/dvd
No stream found to handle url dvd://1

try adding in the option

-dvd-device /path/to/dvd

to the above command.

On Ubuntu the path is /dev/cdrom0
On Mac OS X the path is /Volumes/Name_of_DVD
You can also specify a path to a folder containing a DVD’s Video_TS folder somewhere on your drive.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: