This Blog is a supplement to my website. Please also visit: www.DavidCocke.com

Thursday, March 15, 2012

Ripping DVDs to iPad

A friend of mine recently asked me, "How do I copy my DVDs to my iPad?".  She is about to take a long trip with her young child and thought perhaps taking some movies on the iPad would help during the long flight.

This seemed like a reasonable request and to be honest I've also been curious how to do this as well.  Apple's iTunes and Windows Media Player make it a breeze to copy your audio CD's that you own to the computer but as I quickly learned, DVDs are a whole other animal.

There are probably hundreds of ways to do this, and this isn't meant to be a definitive guide, but rather to step you through a process that worked for me.  I'm not an expert on this topic.  Heck I can barely spell CODEC.  So please don't ask me how to rip your particular DVD to your particular device.  Odds are I won't know.

Ingredients
You will need the following items:


VLC, in my opinion, is the best Media Player on the planet.  I like it because it's lightweight and seems to play any audio or video format I've ever thrown at it.

At present I am running VLC version 1.1.11 and they recently released 2.0.  HandBrake (I'm running version 0.9.6), is the software that helps you convert your media from one format to another and seems to rely on VLC to help decode the copy-protection on most DVDs.  But I'm reading in the forums that VLC 2.0 breaks HandBrake.  This seems to primarily affect Apple Mac computers; not sure about Windows PCs.  But for our purposes, we'll just be using VLC to playback our media, and use HandBrake to convert from one file format to another as well as from one screen size to another.

MakeMKV is where the magic really happens.  It is able to decode many of the copy-protection schemes used on many DVDS and convert it to a format called MKV.  Ever heard of it?  Me neither.  MKV is the Matroska Multimedia Container.  I could direct you to the Wikipedia article (which is a good read), but instead let me suggest this explanation from the people who make MakeMKV: http://www.makemkv.com/aboutmkv/

One thing that excites me about the MKV format is that it seems to be becoming adopted by more and more software and hardware media players, and it is an open standard and not proprietary.  From what I've read, even the pay version of the Tivo Desktop supports MKV.  So I may finally have a reason to buy Tivo Desktop.  I don't have a DVD player anymore (except for the computer) and being able to watch my DVD collection on the Tivo is very appealing to me.

Problems using just VLC and HandBrake
Before we get started I wanted to mention this.  I did first try using just VLC and HandBrake, as that combination seemed to work for so many in the past.  It was because it didn't work that lead me down the path I did and forced me to learn more than I cared to know about this subject.  I wanted to mention it here because it might help someone else.

First off, HandBrake would not even detect some of my DVDs until I first played a little bit of it using the VLC Media Player.  This seems to have something to do with VLC setting some Regional Settings that HandBrake on its own cannot detect from my computer's DVD drive.

My other issue is that after I tried to rip the content from the DVD using HandBrake, below is the kind of result I ended up with:


Try Googling the symptom above.  How do you begin to describe it?  As it turns out this is because of the DRM (Digital Rights Management) copy-protection in use on the DVD.  In other words, HandBrake could not decode it.  I thought I was either doing something wrong or had the settings wrong.  I wasted a lot of time before I figured out it was DRM.

Overview of the Process

  • Insert DVD
  • Use MakeMKV and let it decode your DVD and learn the Titles and Chapters it contains and then convert the contents to MKV files on your hard drive.
  • Play a few of the MKV files to verify they work and decide what you want to keep or discard.
  • Use HandBrake to convert the MKV file(s) to an MP4 format with a size suitable for your iPad.
  • Add the movie to your iTunes Library
  • Add cover art in iTunes
  • Sync to your iPad

Using MakeMKV

Insert your DVD and open MakeMKV.  Click on the graphic as pictured below.


This step usually just takes a couple of minutes but I had one DVD that took 30 minutes.  This step is identifying the Titles and Chapters and appears to also be trying to figure out the encryption scheme.

When it is complete you are offered a screen like the one below.  You could take the time and just select the Titles, Chapters, or Audio tracks that you want, but since there is no preview, I suggest converting it all to the MKV format.  You can delete what you do not want later.


As you can see in the picture above, choose the Drive and Folder where you want to store the MKV files.  These will be quite large so choose a drive with plenty of space.  Then click the MakeMKV button to begin the process.  So far, every DVD I've done, this step takes about 15 minutes or less.  And this step isn't very CPU intensive.

Let's talk a bit about Titles and Chapters for those that may not know.  Some DVDs contain additional content besides the main movie.  This could be trailers for other movies, for example.  Typically each trailer as well as the main movie is considered a Title.  Then within a Title it is broken up into Chapters.

So after your MakeMKV conversion, open the folder you chose to see the results.  You will see an MKV file for each Title that was on your DVD.  The largest file size is likely the main movie, and the one you'll want to convert in the next step with HandBrake.


In my case, I don't want the Movie Trailers, so I just deleted the two smaller files.

Although it is not a required step, I highly recommend you play at least a portion of your movie file with VLC just to confirm it converted correctly.

Also, you can now remove your DVD disc from the drive.

Using HandBrake
Open HandBrake and from the Source pull-down button choose Folder, then point to the folder that contains your MKV file.


You will see HandBrake parse the folder and show you your Title and Chapters.


Now you will want to choose the Destination; what folder and file name you want this new file to be placed.  On the right-side of the screen choose iPad and HandBrake will select options for you that are appropriate to scale to fit the iPad screen.  By default HandBrake chooses the file extension of .M4V but I usually change it to .MP4 (my personal preference).  Either is fine.


I highly recommend you use the Preview button at the top.  The conversion process takes awhile and I'd hate to see you waste time by ending up with an unusable file.  

When you are ready, press the Start button at the top and go get some coffee.  This conversion process is very CPU intensive and will take some time.  This is where I'm so thankful to have such a fast machine. For example, on my Intel Core I7 machine with 16GB of memory it took 50 minutes to convert a movie that is 1 Hour and 52 minutes long.  And this is with all 8 CPU cores running full blast.


After your movie has been converted to MP4 format, I recommend you play a little of it using VLC.  Again, just to make sure it converted correctly.

Add the movie to iTunes Library
Open iTunes and then drag-and-drop your MP4 file (.mp4 or .m4v file extension).


If you've never done this before you can drag to the Movies folder, but your entire Library will be highlighted as you do it.  Don't worry, iTunes knows it is a movie file and will put in the Movies folder.

Add Covert Art
If you will Google the Title of your movie, I'm confident you will find a picture of the original cover artwork of your DVD.  Just save that picture file to your computer.  Then click on the Movies folder in iTunes and find you're movie.  Right-click on your movie and select Get Info. Choose the Artwork tab and choose Add.  Select the picture you desire.

Syncing to your iPad
Depending upon how you configured sync settings, your movies may not automatically transfer over to your iPad.  So connect your iPad via USB to your computer.  Then under devices, select your iPad on the left (1), then select Movies at the top (2), and place a check mark beside your movie Title (3).
  

Then click the Apply button at the bottom and it will sync to your iPad.  Enjoy.

What to do with the files?
Now that you're done, what do you do with the MKV and MP4 (or M4V) files?  That's up to you.  When you did the drag-and-drop to iTunes, it copied the file to your Library, so there isn't a need to keep the MP4 or M4V file.

I would recommend keeping the MKV file.  This way you'll have it in case you want to convert it for use on another device, like your phone.  In my case, I'll copy the MKV files to my laptop so I can enjoy them there.  And if/when I get Tivo Desktop, I'll play the MKV versions.

Final Thoughts
I am so grateful to all of the smart people out there that create and contribute to products like VLC, HandBrake, and MakeMKV.  And offer it for use at little or no cost.  MakeMKV is free to try, you just have to re-install every 30-60 days.  But it costs $50 (US) to register, and I plan on doing so just to show my support.

There are other commercial products that claim to do this but I'm finding they are more expensive and are basically doing the same steps above.  

7 comments:

  1. There is no artwork tab in iTunes anymore. At least version 10.6, they nixed it for movie files. I've been using iTunes 10.3 and that version has it.

    ReplyDelete
  2. Extremely helpful and definitive. thank you for sharing, I just got the new ipad from Bestbuy. you did a good job.

    ReplyDelete
  3. I really wanted to say thanks for this kind of post and I highly recommended it, thanks again for sharing such a wonderful post.

    ReplyDelete
  4. I really enjoyed going through your articles. That's true you know what you are talking about! Your site look is beautiful and easy to navigate. I've bookmarked it in my favorites.

    ReplyDelete
  5. hi guys, you really give me a favor. I have ripped my important DVD songs to my PC successfully .

    ReplyDelete
  6. the tutorial is helpful, your tutorial works well on my pc.

    ReplyDelete
  7. Great post! Been reading a lot about dvd duplication. Thanks for the info here!

    ReplyDelete