How to Build Your Own Personal Netflix

Back in April, I wrote about our decision to update our antiquated home media setup with a Roku box and Plex software, among other pieces. The motivation was simple. As non-cable subscribers, we were looking to bring our multimedia setup into the 21st century. And with Plex specifically, we wanted to hedge against the varying variability of NetFlix titles as well as our own problematic bandwidth (the downside of living on an island). Thus, sogflix – our local NetFlix equivalent – was born.

After seeing it in action, a few people have asked how it’s done. So here’s what you need to know to duplicate it in your own home.

Ingredients

Here’s what I used to make it all work.

  • Handbrake (free)
  • Plex Media Server software (free)
  • Plex Media Server hardware (can be any Linux, Mac or PC hardware with the exception of the Apple TV)
  • Roku (XS, recommended b/c of its ethernet port – $75)
  • Storage Unit (RAID configured)
    1. Synology DS213 ($299.99)
    2. (2) Seagate Barracuda 7200 3 TB 7200RPM SATA ($127.99)
  • Ethernet cable
  • HDMI cable ($2.50 @ Monoprice)

Convert Your Media

The first step in building a digital library is, of course, digitizing the library. This is the most tedious and time consuming part of the process, depending on the hardware you have available. My workstation will convert a movie in about twenty minutes; my Thinkpad takes closer to two hours. It’s fairly easy to run as a background process, however, converting media while you work on more interesting subjects.

With the caveat that you should only convert movies that you are legally entitled to – consult your local laws – the simplest way to do this is via Handbrake. After a great deal of experimentation and help from a few Plex employees, I’ve come up with settings that Plex is able to serve and Roku is able to display. For the long version, see the site here. The short version for me is starting from the Handbrake defaults and doing the following:

  • Open picture settings and
    1. Turn Anamorphic from “Strict” to “Off”
    2. Set the Decomb filter to “Default.”
  • Make sure the framerate and video quality are set to constant, and set the latter to 17.
  • Use the following naming conventions:
    • Movies: Title (Year).*
    • TV: Show Title – s##e##.*

The output from this will be movies of somewhere between 1 to 3 GB per, depending on length. Just as an MP3 is a lossy copy of the original, the quality is almost certainly a compromise. I not able to tell the digital copy from the original DVD, however, so that seems sufficient.

Hardware Setup

  • Audio / Visual:
    Initially, I was content to use the analog audio/visual patch cable from the Roku to the TV. This is a workable solution if your TV is not HDMI capable. Upgrading to an HDMI cable, however, at a cost of $2.50 from Monoprice yielded immediate improvements in both formatting (menus fit the screen perfectly) and video quality (Plex movies were substantially improved).
  • Networking:
    If you have a pure 802.11n networking setup, you may be able to avoid hardwiring. In my case, my Mac Mini was old enough that its networking was 802.11g which proved to be insufficient, causing local movies to buffer as if they were being streamed. The solution in my case was connecting both the Mac Mini and the Roku physically to the access point (which in my case is actually the fourth in a chain of dd-wrt formatted WRT-310N Linksys routers). Once connected by ethernet cable, video loaded in a few seconds and required no buffering.
  • Storage:
    For non-technical users, set up of the Synology unit may be moderately challenging, but it’s manageable. Those reasonably familiar with storage should have no difficulty, with that the caveat that install media is packaged for Mac and Windows only. Install the hard drives into the chassis as intructed – you’ll need a screwdriver – and then follow the instructions on the software to install the base image on to the Synology, and format the drives. Once set up is complete, create separate directories for Movies and TV. I do not recommend music if you have a large collection (> 10K tracks). Plex struggled to add metadata for my music and performance suffered.

Media Transfer

With movies converted and the storage media prepared, copy the remaining movies to the media using the fastest mechanism possible. The DS212 supports USB 3.0, notably. Movies can all be located in the same directory. For TV, you’ll need to use a [Show Title] [Season #] directory structure, where [] designates a directory.

Plex Configuration

Install the Plex Media Server, available for download here for Linux, Mac and Windows. Once installed, run Plex and select the Media Manger. Within the Media Manager UI, create Movie and TV sections within Plex, pointing the sections at the directories you just created and populated with media. Before you click update to add metadata, you need to make one adjustment. To avoid Plex retrieving foreign movie posters for you media, click the “Metadata Agent Settings” at the top of the Plex Media Manager, then click “Freebase” under Movies. Drag MoviePosterDB to the top, then TheMovieDB behind it. Finally, click “Edit Section” at the bottom of the Media Manager and select “Freebase” as your primary metadata agent.

Then click update and Plex will retrieve a wealth of metadata – movie posters, actors, directors, genre, descriptions and more – for your video. Assuming it’s in one of the databases, of course.

Roku Configuration

Within Roku, add the Plex Channel. If your Plex Media server is running and on the same network as the Roku, it should autodiscover your server and you’re done: Plex Media will now be playable through your Roku. Enjoy! You now have your own personal Netflix.

About these ads

Comments

  1. John Doe says:

    Good overview. I’m going through the same process myself, except with Blu-ray content. It is a challenge trying to decide on quality vs disk space. It’s also fun trying to get a Roku 2 to use the mkv format natively without transcoding.

  2. Did you install Plex server on the Synology 212? I thought that wasn’t possible for that version of the synology as it’s not intel? http://forums.plexapp.com/index.php/topic/39775-instructions-on-how-to-install-plex-on-a-synology-ds212/

  3. Michael says:

    I installed Plex server in my DS212J, and add Plex Channel in my Roku 2(XS). After I copied a 1080P movie (.mkv) to Plex server, roku could find the movie but can’t directly play it. I reset with “Directly play w/fall back” in my Roku, it can play the movie wiouth sound. And it is terriable result. My roku connects my router (Belkin N750) with wireless; and DS212J connects my router with cable. Is there any problem? Thanks.

    • Unr3al21 says:

      Your hardware is not capable of Transcoding the .mkv at a 1080p res, therefore, you must convert the mkv to an alternative file format to allow the HD playback to be possible.

      Thanks Unr3al21

  4. NullyB says:

    I appreciate the tutorial, but it, and many others, lacks crucial (to me) details of subtitles. I would love to convert all my media to this kind of setup, but I always come into trouble with movies or tv shows that require subtitles in various languages.

Trackbacks

  1. […] Update: For specific implementation details including recommended hardware and costs, see the post here. […]

  2. […] here are two posts on how I built what we call sogflix – our local Netflix equivalent: “How to Build Your Own Personal Netflix” and “How I Rebuilt Our Entertainment System Using Plex and […]

  3. […] How to Build Your Own Personal Netflix → […]

  4. […] [P.S. Sorry for linking to a link post – You can jump straight to the end-referenced post here] […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: