Mac Mini Media Center Project (Part 2)

Apple Keyboard & Trackpad

Encouraged by the results of my previous post I went forth and ordered a Mac Mini (2.4GHz Intel Core 2 Duo, 4GB 1066MHz DDR3 SDRAM, 320GB Harddrive) along with the Apple remote, wireless keyboard and wireless Magic Trackpad to see how play back looks on my T.V. I figured having a computer hooked up to my TV there would be times when I might want to use it like a computer. Surfing the web from the couch or having a place where guests can check their e-mail just seemed like the smart thing to do.

The Mac Mini I ordered was a custom build. Chances are this will be overkill for 90% of you. I would say from my experience of doing a project like this you can get away with the base model of the Mac Mini and be just fine.

When the mac mini came I found setup to be quite easy. I Took the computer out of it’s box and placed it on the stand under my T.V. Hooked up the power cord, HDMI cable and pressed the power button on the back of the computer. On it’s first boot-up I was asked if I had a wireless keyboard and mouse/trackpad and to turn them on. A few more clicks through the initial setup and I was good to go. My Mac mini was running fine and everything looked great on my TV. I did have to go into the system preferences and make minor adjustments to the display settings for my TV, but that was it.

First thing was first. I had some software to download.

COPY PROTECTION

After downloading and installing the VLC and Handbrake programs I put in the first DVD I wanted to encode. Ironman 2. Like the test movies I did earlier in the month I put the Ironman 2 DVD in my mac mini, launched Handbrake and pointed it to the DVD so it could do it’s initial scan of the movie data.

The first time I did this with another DVD on my laptop the process just took about a minute. On my Mac Mini with Ironman 2 it took almost 2 hours to complete. Something was not right here. When the scan was completed I reviewed the handbrake encoding settings. It was in this process I noticed something was wrong. No audio tracks were listed. If I told handbrake to encode this it would encode the movie without the audio. I went to Google for help and started searching around to see if other people had this problem. Sure enough they did. Ironman 2 has new/different copy protection on it preventing me from encoding the movie I owned.

Remember that what I am doing is perfectly legal. This is my media I bought and paid for. I am just putting it all on a drive so I can access it more easily.

Thanks to some forum posts over at the Handbrake site I was able to use a program called ‘Mac The Knife‘ and copy the DVD to my hard drive and then encode it with handbrake. (At the time of this post I have been considering switching from ‘Mac The Knife’ to ‘Ripit‘ A $25.00 peace of software that appears capable of ripping more copy protected DVDs then the free ‘Mac The Knife’.) The end result was an encoding of the movie for my mac mini. Since then I have come across a few other disk with copy protection like this. Mostly TV Shows.

ENCODING SETTINGS

Screenshot of Handbrake

After watching the Ironman 2 movie and comparing it to the DVD I kept seeing what is call artifacts on the screen. The default Handbrake compression I was using was not the cleanest and it was driving me a little crazy. I headed on over to the Handbrake forums and did some reading. It turns out you can make slight adjustments to the settings and see a huge difference in video quality. It is now to the point that I can’t tell the difference between the DVD and the encoded video. Which is what I was hopping for.

When you launch Handbrake you are presented with a pop out pane on the right side that has a number of preset suggested compressions. If you click on the ‘Apple TV’ preset and then go back over to the main window you are only going to have to adjust two settings. The first on is under the “Output settings”. You want to uncheck the box called “Large File Size”. Next, lower on the same window you’ll see a slider bar. You want to drag that slider to the right till the RF reads 19. That’s it.

If you don’t want to have to go back and adjust those settings each time you put in a DVD to encode, you can click on the “Presets” drop down menu on the finder bar and save this setting as a new preset. As you can see below it is near impossible to see the difference between the DVD and the encoded video.

The Movie: Ironman 2. Quality comparison image. Click to Enlarge.
The Movie: Dead or Alive. Quality comparison image. Click to Enlarge.

As I have been writing this post I have been encoding a lot of my DVDs. The encoding settings I have given you above will work for most of your DVDs as well, but not all of them. This is because most DVD are made using the NTSC standard. I do own DVDs that are made using the PAL (Phase Alternating Line) standard. When I try to encode a DVD that was made with the PAL standard the result is a movie that looks like it is shifting alternating lines. When you see it you will know what I mean.

To correct this problem and remove the “alternating lines” look of my encoded movies I once again visited the handbrake forums. The first steps are the same as above. Launch Handbrake and in the pop out pain on the right side that has a number of preset suggested compressions. If you click on the ‘Apple TV’ preset and then go back over to the main window you are only going to have to adjust two settings. The first on is under the “Output settings”. You want to uncheck the box called “Large File Size”. Next, lower on the same window you’ll see a slider bar. You want to drag that slider to the right till the RF reads 19. We are almost done. Click on the “Picture Settings” icon at the top of the program window. Switch over to “Filters” tab and click on the “Decomb” drop down menu and select “Default”. Every PAL movie and TV show I have encoded with this setting has looked great to me. Don’t forget to save this as a preset.

HOW TO ENCODE TV SHOW DVDs

Handbreak is a great program, but you still need to help it along it’s way. This is very evident went you are encoding TV Shows. When you have Handbreak scan a TV DVD like Firefly, handbrake is going to pick one file it thinks is the video file you want to encode. Normally it’s the file with the longest video on it. However a TV show DVD like Firefly can have up to 4 episodes on one DVD. By default Handbrake is going to try and find the one video file that is the longest and only encode that one file. This is not what we want. So how do we fix this?

This is where I use VLC a lot. Start off by Scanning the DVD with Handbrake. Once that task is completed launch VLC and start playing the first episode on the DVD. Once the episode is playing click on the “Playback” drop down menu on the Finder and highlight “Title”. This will show you which Title (or file) is playing. So you should be able to see that episode one of Firefly is using Title 2. You can now pause the show and go back to Handbrake and on the main window flick on the “title” drop down and select “2”. From main window chose what you want to name the encoded episode (something like Firefly 1) and click the icon at the top of the window named “Add to Queue”. Go back and repeat these steps for each episode on the DVD. Once done you can click the “Start” button and Handbrake will encode each episode on the DVD.

CLOSE CAPTION SECTIONS (Subtitles) Updated: 3.10.2012

Sometimes you will be a movie or TV show that has sections where the actors are speaking a whole other language. When you are watching this on a normal DVD player the captions for what the actors are saying will show up automagicly. When you encode the same movie or episode with Handbrake these cations are not automagicly burned in.

To have these captions or subtitles show up in the parts of the show they are supposed to click on the ‘Subtitles’ tab and then select ‘0-English’ underneath the ‘Track’. and burn your DVD as normal.

WHATS NEXT

With my new encoding settings setup I went forth and started to encode my DVD collection. In less than a month I had filled up the harddrive of my Mac Mini and was forced to stop encoding my movies. I had to order the Qnap NAS server before I could continue any more with this project.

In my up coming post “Mac Mini Media Center Project (part 3). I will be discussing the specs of the Qnap NAS server I ordered and how it’s been working out for me so far.

To Be Continued…

Mac Mini Media Center Project (Part 1)

My TV and DVDs Before Starting the Mac Mini Media Center Project

I own a lot of DVDs. We are talking nearly 500 at last count. It’s sick, I know. Sifting through them all to find the one movie I want to watch has become such a chore that I would rather just fire up my Playstation 3 (PS3) to access my Netflix account and stream something then dig for a DVD of a movie I actually want to watch. So, I have decided that the solution to my conundrum is to setup a Media Center PC. More specifically a Mac Mini media center attached to my T.V. with an interface that even my mother could use.

WHAT DO I WANT THE END RESULT TO BE?

  • An uncluttered home theater.
  • A small computer hooked up to my T.V.
  • Access to all my media and the internet.
  • The ability to back up all my computers
  • A new storage solution for my physical media.
  • An interface so easy my mother can use it.

RESEARCH

Like any project you should do research into it first. Which is what I did. With google as my guide I sought out other peoples experience with setting up a Mac Media Center. Here are a list of some sites I found that where helpful to me.

I also spoke with friends of mine who had done similar projects. It always helps to read, write, and talk to people about ideas you have. It helps flush out the details of what is trying to be accomplish.

All of these sites listed above where very helpful to me, but none where setup quite the way I wanted. Most of these talked about just using the Mac Mini or the Mac Mini with an external hard drive attached and honestly that probably is the solution for 90% of you out there. But I was looking for a setup with a little bit more free hard drive space for me to use. Particularly because I have several computers in my house and I want them all to be able to back up wirelessly to on location. I also enjoy editing home movies and having a place to store the massive video files I work with is important to me. I think I have come up with a solution that works as you will see.

LOGISTICS

One pressing question I had from the get go is; How much hard drive space am I going to need? 500 DVDs is a lot of movies and T.V. shows. So how can I get an idea of how much hard drive space I am going to need?

Most people building a Media Center PC are doing so to encode their DVDs onto a hard drive. If you where just to copy the DVD over to your hard drive your looking at something that takes up anywhere from 2 to 8 gigs of hard drive space. When you encode a DVD onto your hard drive you have the option of removing all the special features, menus, audio commentary, subtitles, and non-english audio tracks leaving you with just the movie. What this means is no more waiting through previews, FBI Warnings or other types of bullshit that is preventing you from watching the movie you want to watch. You just get the movie and your left with a much more manageable file size.

Handbrake Application Icon

One free peace of software I read about and that everyone pretty much agreed is the best DVD encoding tool is called HandBrake. Before dropping a single penny on my media center I could preform tests to make sure the video is going to look great and be a manageable file size. I downloaded Handbrake and picked a DVD off my shelf at random and encoded it. Using only HandBrake’s presets I found that encoding under the “High Profile” preset rendered out a 1.5 GB file. Playback of the DVD and the encoded movie showed hardly any noticeable difference. It certainly looked a lot better then any Netflix movie I had streamed in the past. If I take the 1.5 GB as an average and multiply that by 500 (the number of DVDs I own) The end result is 750 GB. A very manageable figure.

It’s a very manageable figure till you miss calculate TV shows like I did.

At the time of this post I have encoded several movies and TV shows using Handbrake. Something I over looked is that the average movie is anywhere from 1 and a half to 2 hours, give or take per DVD. Now lets take E.R. on DVD. The DVD for E.R. holds 4 episodes at about 1 hour each. You have 24 episodes a season and that is roughly 24 hours of video which ends up being a little under 1 gig an episode. It adds up! It was something I over looked when I did my initial estimation of how much hard drive space I would need. Don’t let that catch you off guard like it did me. Do the math right so you know how much hard drive space you are going to need to hold your DVD collection.

To Be Continued…

The Battle To Lose Weight

On January 10, 2011 I put myself on a diet. I have always struggled with my weight. Eating right and portion control have never been easy for me. Sometimes I blame it on having a lousy metabolism. Other times I blame it on healthy food is not convenient. The reality is I just didn’t want to do what it takes to make a huge life change that is required when you diet.

In the past all my diets have been half though out ideas that were doomed for failure right from the start. For example, at one time in my life I told myself that I would go to the GYM three times a week. Another time I told myself I would only eat dinner and if I ate less I would lose weight. Most recently I tried the Atkins diet which I did not research very well. I just knew that all I could eat was meat. The truth is all of these ideas worked. I did lose weight. On my version of the Atkins diet I went from 225 lbs (the most I have ever weighed) to 165 lbs and I held that for a year until -like all my past attempts- I fell off the wagon and put a lot of that weight right back on.

For the last six months I have desperately wanted to break this depressing cycle going from having cloths that fit to being embarrassed to walk into the office because my cloths where so tight on my body. I made a promise to myself at 2011 would be different. I would attack my weight loss with a solid game plan. One that could not fail. One that would stick with me well after I lost my excess baggage.

Toward the end of 2010 I started reading on the Internet about a book coming out. It was supposed to help you lose weight and keep it off. It would do this by teaching you want you can eat to lose weight and keep you from gaining it all back again. I figured would give it a shot.

So, in December of 2010 when the book was published I bought a copy to read on my Kindle. The book by the author Timothy Ferriss is entitled “The 4-Hour Body: An Uncommon Guide to Rapid-Fat Loss, Incredible Sex, and Becoming Superhuman”. I bought the book to learn how to lose weight the right way. The fact that it came with ideas to have incredible Sex and how to become superhuman was all just an extra bonus.

I finished reading the book just days before the new year. At the time I was in Washington State staying with family. I felt it would be rude to invoke a diet half way through a vacation that no one was expecting me to be doing. So, I decided it was best to start the diet upon my return to Juneau on January 9th.

When I got back on the 9th I went to the store and bought all the foods that the book suggested. Things like Chicken, Eggs, Grass fed Beef which I found at Jerry’s Meats. I also picked up several kinds of frozen vegetables, canned beans and salsa.

As you can tell the diet I chose in the 4 Hour Body is a high protein slow carb diet. It’s not the only diet option offered in the book, but it was the one I felt would work best for me. It also allows for one cheat day where you can eat whatever you want and as much as you want! The idea behind that is you need to spike your insulin level once a week to encourage fat loss.

At each of my normal meals I try to include something from each of the three kinds of foods suggested in the book. One protein, one vegetable and one kind of bean. On my cheat day ( I have chosen Saturdays) I can go out and eat whatever I want. For example last week I ate 3 eggs for breakfast, 2 buttermilk Pancakes (from The Sandpiper café), 2 20.oz Pepsi Throwbacks (The Throwbacks are made with real sugar), A Stake Wrap (From The Island Pub), and three slices of artichoke, garlic Pizza (also from The Island Pub).

I started this diet on January 10th. At the time I weighed 195 lbs. Since that date I have steadily lost weight and inches around my body. I have felt really confident about this diet and how it works. So confident in fact that On January 31st I decided to partake in the Juneau Empire’s Lose 2 Win contest.

With the Lose 2 Win contest I had to check in at a local GYM (Pavitt’s Health and Fitness) to get weighed and have my Photo taken. Once a week I will be going in for a weigh in so they can track my weight lost. I have tracked my weight loss since the January 10th, but doing something like this contest is just more motivation for me.

When the contest ends after 13 weeks. Prizes will be handed out to people who have lost so much weight. The biggest weight losers (a man and a women) will each win $1,000.00. I have no dreams of being the biggest weight loser. Just losing enough weight that I can look at myself in the mirror each morning and be happy with what I see.

Today is February 3rd and I weigh 180 lbs. That is a weight loss of 15 lb! I have also been tracking my measurements and have lost nearly 4 inches!

Below is a copy of my weight log.

  • 1/10/2011 – 195
  • 1/11/2011 – 192
  • 1/12/2011 – 190
  • 1/13/2011 – 190
  • 1/14/2011 – 189
  • 1/15/2011 – 188 (Cheat Day)
  • 1/16/2011 – 189
  • 1/17/2011 – 189
  • 1/18/2011 – 189
  • 1/19/2011 – 188
  • 1/20/2011 – 188
  • 1/21/2011 – 186
  • 1/22/2011 – 184 (Cheat Day)
  • 1/23/2011 – 190
  • 1/24/2011 – 189
  • 1/25/2011 – 186
  • 1/26/2011 – 185
  • 1/27/2011 – 185
  • 1/28/2011 – 184
  • 1/29/2011 – 184 (Cheat Day)
  • 1/30/2011 – 184
  • 1/31/2011 – 184
  • 2/1/2011 – 181
  • 2/2/2011 – 181
  • 2/3/2011 – 180

S0, as you can see things are progressing nicely. I highly recommend reading ‘The 4-Hour Body’. Just remember, before partaking in any diet you should always consult your doctor.