Difference between revisions of "Extract DVD"
From Maze's wiki
(Created page with 'This describes how to convert a DVD to mkv using: *x264 for video *ac3 for audio *any subtitles First write the video stream to the harddrive so the next steps will go faster. A…') |
|||
Line 17: | Line 17: | ||
<pre> | <pre> | ||
mencoder <title>.vob -ovc raw -o /dev/null -nosound -sid <sid> -vobsubout <title> | mencoder <title>.vob -ovc raw -o /dev/null -nosound -sid <sid> -vobsubout <title> | ||
+ | </pre> | ||
+ | |||
+ | Detect the amount to crop | ||
+ | <pre> | ||
+ | mplayer <title>.vob -vf cropdetect | ||
</pre> | </pre> |
Revision as of 07:27, 12 March 2012
This describes how to convert a DVD to mkv using:
- x264 for video
- ac3 for audio
- any subtitles
First write the video stream to the harddrive so the next steps will go faster. Also remember the aid and sid for audio and subtitles.
mplayer dvd://1 -v -dumpstream -dumpfile <title>.vob
Now extract audio from the stream. Just use AC3.
mplayer <title>.vob -aid <aid> -dumpaudio -dumpfile <title>.ac3
Now extract the subtitles from the stream.
mencoder <title>.vob -ovc raw -o /dev/null -nosound -sid <sid> -vobsubout <title>
Detect the amount to crop
mplayer <title>.vob -vf cropdetect