[CALUG] Creating .MKV files from DVD

Rajiv Gunja opn.src.rocks at gmail.com
Sat Jan 17 13:53:27 EST 2009


There was a question put across to convert DVD to a single file container
with Chapters.

This is the method I use to put my DVDs on my Popcorn media player.

01. Use k9copy to create a 4.4 GB ISO image from the original disk (GUI
program)

02. Create VOB from this ISO:
a. List the contents of the DVD to find out which title to extract. (lsdvd)
$ lsdvd -a -n -c -s -v /Media/DVD-Rip/Data/HPCOS.iso  | grep Title
Disc Title: HP_AND_THE_CHAMBER_OF_SECRETS
*Title: 01, Length: 02:40:47.243 Chapters: 37, Cells: 38, Audio streams: 03,
Subpictures: 03*
Title: 02, Length: 00:00:22.010 Chapters: 01, Cells: 02, Audio streams: 03,
Subpictures: 03
Title: 03, Length: 00:00:12.000 Chapters: 01, Cells: 01, Audio streams: 03,
Subpictures: 03
Title: 04, Length: 00:00:29.320 Chapters: 01, Cells: 01, Audio streams: 03,
Subpictures: 03
Title: 05, Length: 00:00:32.033 Chapters: 01, Cells: 01, Audio streams: 03,
Subpictures: 03
Title: 06, Length: 00:02:13.000 Chapters: 01, Cells: 01, Audio streams: 03,
Subpictures: 03
Title: 07, Length: 00:01:56.000 Chapters: 01, Cells: 01, Audio streams: 03,
Subpictures: 03

Here we want to extra Title 01

b. Use mplayer to create the vob: (Here 01 after dvd:// is the title we are
extracting)
mplayer dvd://01 -dvd-device ./HPCOS.iso -dumpstream -dumpfile HPCOS-01.vob

c. List the Chapters on the DVD and save it to a file: (Here 01 after -t  is
the title we are extracting)
dvdxchap -v -t 01 HPCOS.iso > HPCOS.chapters

03. Create the .MKV file from the vob container:
mkvmerge -o HPCOS.mkv --title "Harry.Potter-Chamber.Of.Secrets" --chapters
HPCOS.chapters HPCOS-01.vob --default-track 2

I have chosen track "2" as my default as the default track on the vob is
Spanish or French. I had to play the vob file using VLC to determine this.

Creating the ISO file took about 30 minutes. VOB and MKV took about 25
minutes. So within a hour, I was able to get this done.

I tried out handbrake, which was mentioned in our meeting, but it seemed to
take forever and I was not able to verify what it was doing in the
background.

Hope this helps. Let me know if you have any questions. Thanks

-GGR

--
Rajiv G Gunja
Blog: http://ossrocks.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.unknownlamer.org/pipermail/calug/attachments/20090117/2c6c9877/attachment.htm 


More information about the CALUG mailing list