How-To: Turn Your Mac mini into a DVD Jukebox
Converting DVDs for QuickTime Playback
Having identified H.264 as our preferred codec for converted DVDs, we need a tool to convert our source material into MPEG4/H.264 goodness.
Given that H.264 is new on the scene, few such tools are available. QuickTime Player Pro can convert pretty much anything to anything else, but it won’t read a DVD’s VIDEO_TS files. FFMpegX is a video encoding chainsaw, but it requires a bit of work to set up and near-expert knowledge of formats and codecs. However, it can’t encode straight from a DVD platter; it needs MacTheRipper to first rip the VIDEO_TS files to your hard drive. Handbrake, by comparison, is designed for converting DVD content into either XviD or H.264 format, and it works with either VIDEO_TS files or the original platter. We lean toward simple and direct, and so Handbrake is our tool.
DVD Ripping with Handbrake
Installing Handbrake entails only a free download and a copying it to your Applications folder. When you start Handbrake, it asks for the source material; it detects an available DVD, or otherwise asks you for a VIDEO_TS file.
Configuration: Source and Destination Panes
- Title, Chapters
- File format, Codecs
- File
Using the Title and Chapters pull-down menus, select which portions of the DVD will be ripped to a file. You can rip just Pixar’s short films (usually on the second disk), or if you have a TV season DVD, grab each episode as a different file for easy access.
We want our media stored in the MPEG-4 (MP4 file) container format, with the H.264 video codec (AVC/H.264 Video / AAC Audio). Handbrake 0.7b3 defaults to MP4, but not to H.264. You have to select that each time.
Choose a file name and location for your converted video.
Configuration: Video Pane
- Framerate (fps)
- Encoder
- Quality
- Greyscale encoding
- 2-pass encoding
We leave the framerate at Default (Same as source). A lower framerate yields a smaller file, but the video quality clearly suffers as a result.
H.264 video currently only gives one option for encoder: x264.
Handbrake has three methods for determining how much video compression will be used. Target size (MB) lets you squeeze a movie down to an artibrary size, say to fit on a CD or a single-layer DVD. With this setting, the longer the movie, the more compression. Average bitrate (kbps) yields a uniform file size per unit of time, meaning that My Dinner with Andre uses the same disk space as Kill Bill: Vol 1. The third option, Constant quality, uses a variable bitrate; the movie takes more space where more things are happening, and less space when not much is going on. Constant quality sounds like just the ticket.
As a rule of thumb, a constant quality setting of 50% yields a movie in the 600-1000MB range; a 60% movie is twice as large as 50%, and 70% is twice as large as 60%. We use 50% quality for animation, television content, and video with simple visuals, but we spend the space on 60% for big cinematic films.
If you’re ripping a B&W movie, check the grayscale encoding to make sure that you don’t get color artifacts.
If you select either the Average bitrate or Target size (MB) options, you can then opt for two-pass encoding. As the name indicates, two-pass encoding takes two laps through the movie; the first pass gathers statistics on your video in order to maximize the final quality, while the second pass actualy writes bits down to the the disk. It improves output quality, but it doubles the encoding time. As Constant quality makes those decisions on the fly, we’re not concerned with final file size.
Configuration: Subtitle and Audio Panes
- Subtitle Language
- Audio Language 1, 2
Choose a subtitle language if you want it. Handbrake reads the subtitles off the DVD and renders them directly on the video. The subtitles are then a permanent part of the ripped video, and cannot be turned off.
Choose the audio languages and encoding settings. By default Handbrake rips audio at 128kbps AAC; we find this setting is rather good for most movies. If you’re ripping a concert DVD (or something else where sound quality is essential to the experience), consider using a higher bitrate such as 192kpbs. You can retain at most two audio tracks from the DVD—different languages, for example, or the normal track and the commentary.
Configuration: Picture Settings
The Picture Settings button allows you to take care of crop, scale, and de-interlace the source content.
- Size, Crop
- Deinterlace Picture
Handbrake does a splendid job of automatically cropping the video if needed—removing letterbox black bars, for instance. You can optionally scale the video’s dimensions to save size, or optimize for a particular display resolution, but we prefer to maintain as much content as possible and leave display decisions to the playback software.
Sometimes you want to deinterlace, sometimes not. See our interlace sidebar.
Picture settings is extremely handy if you’re trying to extract a single title or chapter on a DVD, as it offers a preview of the chapter or title you’re working on. (Those Pixar shorts on disk 2, for example, can be a challenge to track down) Take an educated guess at the title you’re looking for, then use Picture settings’ preview to verify if you’ve got the right one.
All settings in place, press rip and go to work or bed, the conversion to H.264 takes several hours for a feature-length DVD. With regular progress you’ll have no problem assembling a high-quality video collection on your mini.
Playback
We can no longer use Apple’s DVD Player for playback with H.264. Oddly enough, iTunes 4.8 added support for .mov and MPEG4 files. (Funny, that.) We’ll explore using iTunes via the television in a future article.

