Luckily, I have found a small project that will keep me fairly busy throughout this summer. As many of you have read in my previous post, I have been building a basic linux server. At first, I didn’t really know what I wanted to create with this extra machine. I was mainly just starting off and learning about how it works. Now that I have had more exposure to this whole idea, I have decided to create a basic media server. I have actually been working on this project for the last several days, and I am extremely happy with the results so far. To start off, I am creating a centralized place to store all of my digital movies. This has led to a lot of quality time running Handbrake, a small speed-bump in the long run though. I have decided to keep this server inaccessible to people outside of my private network, obviously, due to legal reasons. I am basically running an Apache webserver that allows access to all of my media. It took me a little while to understand how to properly set-up an Apache webserver, but I have it all buttoned down now. Apache is nice because it allows me to access the media on a variety of devices, it only requires a browser and quicktime capabilities to run, which pretty much all browsers support. So to access the media the user just needs to:
1. Open their browser.
2. Go to the internal ip-address of the media server.
3. Then select a movie from a list.
4. Sit back and relax; enjoy the movie.
There is one small thing that I was curious about though. How do I get this content on my AppleTV? I didn’t want to try some other services, due to the fact that the services break with ever new version of iTunes. Thankfully, when a user is able to send the video to the AppleTV via an iOS device. This pretty much makes the iOS device a remote that allows someone to select a movie via the browser, and watch it on the AppleTV. All from the Apache server.
The performance of the server has been more than I expected as well. When a single user watches a movie, the server runs at about 8-10%, which is pretty acceptable I might add. I have also tested scenarios where the server is sending out 4 movies at a time. The tests ran very well. RAM filled up fast, but flattened out at about 95% capacity, and the CPU load was right around 20%. I have read that Ubuntu is pretty aggressive when it comes to allocating memory, which is what I observed from the tests. I am looking into buying some more RAM and a larger hard drive soon, that will make things run a bit smoother in the future.
Just an update.
-Kyle




