RC-Monster Forums

RC-Monster Forums (https://www.rc-monster.com/forum/index.php)
-   General Discussion (https://www.rc-monster.com/forum/forumdisplay.php?f=20)
-   -   Home Streaming Media Server (https://www.rc-monster.com/forum/showthread.php?t=30818)

BrianG 12.30.2011 02:57 PM

Home Streaming Media Server
 
I want to build a home media streaming server, but can't seem to find a free solution that'll give me what I'm looking for:

- Runs on Linux (preferably Ubuntu)

- Able to stream video and audio files.

- Accessible via computer/laptop (Win and Mac), smartphone, Wii, Xbox, etc. The Wii and Xbox is not required, but would be a plus.

- Able to transcode so the media can be played on any of the devices above.

- Able to mount and play DVD files in ISO format automatically.

- Able to automatically create/update media list as files are added to the library.

- Web browser interface to browse and play the media from the server to avoid having to install specific software on the devices.

Basically, I'm looking for an interface something like Netflix where you can browse for movies and play them directly in the web browser. This won't be available to anywhere outside my local LAN, so I don't have to worry about bandwidth issues. I just want to be able to have my media available anywhere in the house on any device.

VLC seems like the closest thing so far. But, I don't think it mounts DVD ISO files, and everytime I add media, I'd have to update the "playlist" on the server. It's browser interface doesn't look like it will do what I want either. I may have to play with this to be sure.

Opera Units also looks like a decent contender, but seems to require the Opera browser. I don't want to be tied to any specific software on the client - the server should be doing all the work.

brainanator 12.30.2011 11:25 PM

Wow, you really are asking for a lot with this one. Some day I want to set up a bad-ass system like what you're talking about so I'll be watching this thread. Sadly I don't have much to contribute...

bdebde 12.31.2011 03:28 AM

Why must it run on linux? The free part?

I am in process of trying to do the same, with my windows home server... starting to look as though one program won't do it all, but I can run multiple media servers, just need to find the right ones.

BrianG 12.31.2011 02:51 PM

Yeah, Linux because it's free. Otherwise I'd have to shell out another $140 for a "system builders" license of Win7 Pro.

I've done more research on this and just can't seem to find what I'm looking for. I can't be the only one that wants something like this?

Since I want the client devices to use a web interface via browser (which wouldn't require special client software), I suppose I could bite the bullet and get a Windows license. Then, I can install IIS, develop an ASP-driven site using the filesystem object to dynamically create the file listings. I could use Linux, Apache, and PHP to do the same, but I'm not nearly as proficient in PHP as I am in ASP.

Anyway, streaming MP3's should then be fairly simple, but the video streaming is still a challenge. Since all my videos are in ISO disc-image format, I'd have to find a way to automate the mounting of the image and stream it from the virtual disc. And then, two people want to stream videos at the same time, the system would have to be smart enough to "know" that one virtual drive is already mounted/in use, and use the next available virtual drive.

And I still don't know how to stream that video over HTTP protocol. I suppose I could stream the content using Flash (like YouTube), or Silverlight (like Netflix), but then I have to find something (preferably free or cheap) that does the transcoding.

skellyo 12.31.2011 06:41 PM

Not sure if it'll do anything with an ISO image, but you should check into FFMPEG for transcoding.

Thirdgen89GTA 01.01.2012 03:02 AM

I can help with this!
  • Runs on Linux (preferably Ubuntu)
  • Able to stream video and audio files.
  • Able to transcode so the media can be played on any of the devices above.
  • Able to mount and play DVD files in ISO format automatically.




There are several options available to you. However, there are some things that either aren't implimented yet, or aren't implimented well. This means you will have to run multiple background help apps or services to meet all yoru needs.

First off, we should start with a Hometheater PC, or mini PC.

Your best bet is to buy a Home Theater PC case that includes an IR Receiver. You'll also need a remote thats compatible with it. If I were you I'd look towards cases that are compatible with the Logitech Harmony line of remotes.

Next you'll need your OS. Since you want to run linux cause its free that puts some forks in the road.

You can use the maintained "Mythbuntu" system which is really just a version of Ubuntu that boots directly to a HTPC type interface. Mythbuntu has some codec incompatibilities due to licensing issues. But strangely Boxee and XBMC get around this despite both having their roots in Linux OSs.

The other option is to run a basic linux system and run a HTPC program like Boxee, XBMC, or another application like that on top of it.

Mythbuntu features/options/drawbacks
Good support for multiple Server/Client installs. It supports a backend server that handles all transcoding and file server duties. It can also play DVD.iso's stored on the file server. Because it supports a back-end and front-end setup you can use a powerful system to do all of the transcoding/serving and hide it in a closet if its noisy. You can then have a relatively weak front-end PC thats hooked up to your home theater. Since the actual transcoding (the most CPU intensive HTPC task) is handled onthe back-end server its just streamed to the client HTPC. I recommend a wired gigabit network as a standard! To transode HD video you will need some serious back-end hardware if you want to maintain good framerates and avoid audio/video sync issues. This also supports "apps" like Pandora/Last.FM/etc....

Mythbuntu is not as easy to setup as Boxee or XMBC though.

XBMC and Boxee type systems.
These are much simpler to setup. But they aren't nearly as configurable and they don't support back-end decoding. So the client PC has to be much more powerful. Out of the box though they will play nearly every format out there, and both include tons of applications. XBMC and Boxee will run on Windows/Ubuntu/Mac installs and can reference file servers via SMB/AFP/NFS protocols, or local content. It "installs" just like a normal application. They also have android and iPhone based apps that can act as remote controls over a WiFi connection.

That covers the basic HTPC type setup. Now onto your other requirements.
  • Able to automatically create/update media list as files are added to the library.
  • Web browser interface to browse and play the media from the server to avoid having to install specific software on the devices.

This is where it gets tricky because there is no "all-in-one" solution.

What you will need to do is install multiple "services" that run in the background to handle these types of tasks.

What you are looking for now is a webserver that can server up media content. You can look into the ORB software or Twonkey Media Server. The problem with both of these service apps is that they don't happily mesh with ANY existing media programs so their "ratings" and "smart playlists" don't transfer over. Aka if you rate a song, you will have to separately rate and create a similar playlist on another machine. This seems simple, until you get to massive libraries. Then it becomes a nightmare to keep ratings and playlists synchronised. They are also not free!

This is my setup at home, and it works pretty well and is easy to keep sync'd up.
  • 1 Linux PC running iTunes via WINE.
  • 1 Macbook Pro (considered the "Master" library for iTunes)
  • 1 MacMini hooked up to Home Theater via a DVI->HDMI converter and a SPDIF TOSlink cable. Video is passed through the DVI interface which is pin compatible to HDMI. But no audio passes through. For that i use the SPDIF link to transmit DD5.1 and PCM audio to the receiver.
  • External 2TB USB drive hooked up to MacMini.
  • The MacMini runs a paid app called "Connect360" which shares iTunes library content as well as smart playlists. The smartplaylists were the "killer feature" I wanted.

The Mac Mini hosts all Video files and has a duplcate of the iTunes library. The iTunes library that resides on my Macbook Pro is considered the Master library. Meaning if i want to rate a song, or create a smart playlist I do it on the Macbook Pro. It is the master simply because I use it more than any other PC I have. Whenever I make enough changes I run a bash script that will exactly duplicate the iTunes library from the Macbook Pro to the MacMini. The real way it works is it runs an Applescript that tells iTunes to quit if its open. Then it checks permissions, and finally it uses RSYNC to delete/copy files on the MacMini so its a perfect replica of the library that resides on my Macbook Pro. It runs fast, takes only 1 or 2 minutes to sync up the library.

Now that seems complicated, but its really not. I'll happily post up the script if anyone wants it.

Now, as for the MacMini's duties. Via the Connect360 helper application, it serves up the Video, iPhoto and Music libraries to all DNLA compliant devices (Xbox360, Playstation 3).
iTunes itself is set to "share" its library. Using the iTunes remote control appliation from an iOS device I can remotely control iTunes on the MacMini meaning I don't need to use the TV to play my music playlists, I just turn the Home Theater receiver on and set it to the input the Mini is hooked up to.
The MacMini also runs the Boxee application, which is set to run automatically at startup. This is the main video interface for the home theater. The Boxee application is configured to look at the iTunes library thats stored locally on the MacMini in /Users/%user%/Music/iTunes/ and it also is set to look at the USB 2TB external drive where i store ALL of the video files. Boxee can also play any DVD I put into the MacMini's drivebay. It can also play VIDEO_TS folders, and DVD iso files. Plays MKV, AVI and just about every video format out there.

So on the surface its actually really easy to use. But there are several services/applications running on a single machine that provide a single interface to the home theater.

Now here's were the iTunes libary sharing comes in. The iTunes program installed on my Linux machine via WINE looks on the network and finds the shared iTunes library hosted on the Mini. So I just connect to that and stream the music to the linux box when I want to play some music on the linux box. I also have a Mac Pro desktop that i use for video editing, ripping, encoding, photoshop...etc. If I have new movies, DVDs and such what I will do is connect to the shared folder on the USB2 drive hosted by the mac mini and simply copy the files over to the USB drive via the network. Boxee automatically recognises new files and adds them to its known library.

Now why is the Macbook Pro laptop my "Master" library? Because my iPhone is synced to the iTunes app on the laptop, and I have the laptop with me at work and at home. So i'm more likely to add music, create a playlist, or rate music on the laptop. So if I make any big changes i just use the script I wrote which will duplicate the iTunes library onto the mac mini. Here's a copy of the script. Its Stupidly simple. the script is saved and I can execute it by double clicking it from the MacMini desktop or I can invoke it from the command line via SSH from any PC on my network.

PHP Code:

osascript -'tell application "iTunes"' -"quit" -"end tell"
sudo chmod -R 777 /Users/william/Music
rsync 
-va --delete $user@$ipaddress:$sourcepath  $destinationpath
open 
-"/Applications/iTunes.app/" 

  • Line 1: closes iTunes if its open.
  • Line 2: modifies permissions of the destination so there aren't any errors when writing the files. I'm not too concerned with security on my local network.
  • Line 3: RSYNC will compare the source directory (Macbook Pro) with the destination director (MacMini) and then selectively delete files and copy new files from the Macbook Pro. If I delete a song on the Macbook Pro, RSYNC will delete that song on the MacMini. If I add a new song, it will copy it over. If I rename files it does the same. If I update album art or ratings it also duplicates those changes over on the MacMini. Its great because it doesn't wast time copying data that hasn't changed and already exists on the destination.
  • Line 4: re-opens iTunes on the MacMini.

rawfuls 01.01.2012 02:26 PM

Holy crap, BrianG will be a happy man on New Years Day!

BrianG 01.01.2012 03:28 PM

Wow thirdgen, that's a lot of info! Thanks! It'll take me a bit to digest that...

Thirdgen89GTA 01.04.2012 12:30 AM

Was thinking about this the other day. You pretty much want simplicity. XMBC makes a "live" distribution. Meaning its basically XBMC already setup on linux, runs straight off a DVD and can be installed.

http://xbmc.org/download/

If you already have the hardware you are going to run this on, just download the "live" iso from the xbmc site, burn it to DVD, then pop it in your computer and boot from it.

Some XBMC interface pics. Yes, it does look like this on your HDTV.

http://xbmc.org/wp-content/gallery/c...eenshot000.jpg

http://xbmc.org/wp-content/gallery/c...eenshot003.jpg

http://xbmc.org/wp-content/gallery/c...eenshot007.jpg

http://xbmc.org/wp-content/gallery/c...eenshot002.jpg

BrianG 01.06.2012 11:09 PM

Thirdgen:

Again, thanks for all that info. I've actually used XBMC before and it does look/work great... if I wanted the media server right near the TV. However, my server will be sitting in the basement out of sight. As I said, I'm looking for more of a true "server" topology where the user opens a web browser to the server's URL/IP address, selects the media they want to view/hear, and the server serves up the content in whatever way the device supports. Basically, a modified version of a Netflix-like service. For greatest compatibility, transcoding into Flash might be the easiest/best, and would require the least amount of client horsepower.

I'm still looking through the options you suggested though. There might be some command-line or developer API hooks that I can take advantage of in the way I want to run things.

Thirdgen89GTA 01.06.2012 11:13 PM

Quote:

Originally Posted by BrianG (Post 415968)
Thirdgen:

Again, thanks for all that info. I've actually used XBMC before and it does look/work great... if I wanted the media server right near the TV. What I'm envisioning is more of a true "server" topology where the user opens a web browser to the server's URL/IP address, selects the media they want to view/hear, and the server serves up the content in whatever way the device supports. Basically, a modified version of a Netflix-like service. For greatest compatibility, transcoding into Flash might be the easiest/best.

Check out Orb. I used it years ago. Basically it logs into a central server, and you can visit a webpage link and your entire media library is at hand.

Winamp had an implimentation of it running. Played everything.

Worked on my iphone, mac, pc, everywhere I had internet. In-house too.

bdebde 01.06.2012 11:19 PM

Have you looked at TVersity yet?

Yeah orb was the other I was thinking of but could not remember the name.

Thirdgen89GTA 01.06.2012 11:21 PM

Quote:

Originally Posted by bdebde (Post 415970)
Have you looked at TVersity yet?

Yeah orb was the other I was thinking of but could not remember the name.

There's another one I forgot about. That does the same thing as orb.

BrianG 01.15.2012 05:21 PM

A little update on this "project":

Well, after trying several solutions, it seems that either they don't offer exactly what I'm looking for, or seem to be cobbled-together workarounds and hacks. None of the solutions are wife-approved either (meaning: simple to use).

So, I've decided to just designate the "server" as a simple HTPC. On that note, I thought XBMC would be the ticket, but there are some gotchas that I didn't care for; 1) Using netflix is a bit of a pain (it simply calls up IE/silverlight but the browsing and usage isn't as user-friendly for family use), and 2) the whole interface isn't user-friendly enough for everyone. Sure, they could "get used to it", but that's not acceptable IMO.

So, I ended up tinkering with Windows Media Center and once I added a couple plug-ins to auto-mount ISO video files and install the netflix and internet TV plugins, it works swimmingly. The interface is fairly "pretty" and couldn't be easier to use, which should satisfy everyone (including my 3 year old).

And, I can still share the music folder and connect via SMB on my smartphone to listen to music where ever I want. I'll probably install IIS (web server) and MySQL (or SQL Express) on that box as well and use it for some home apps I want to build.

I started shopping around for the actual hardware, and figured on getting a base-system something like this, install Win7 Pro "system builders licence" ($140 for the full version), and slap in a TV Tuner Card (which includes a remote). I figure a quad-core ~3.0GHz CPU and 8GB DDD3 will have more than enough horsepower, and I'll partition a 1TB drive into ~100GB for the base OS and programs, and the other ~900GB for recorded DVR content. Later on, I may get a dedicated video card and install a couple of less taxing games on it as well - just to round it out. :smile:

And a bit later on, get a couple of 2TB drives, configure them as Raid1 (for data redundancy) and start ripping all the DVDs we have as ISO files, particularly the movies watched most often. I'll probably dump all the media (like pics and music) on there as well.

Unsullied_Spy 01.15.2012 06:52 PM

Quad core and 8 GB of RAM? Is this a media center or a F@H bot? :lol: I'm looking at doing something similar for a lower-power consumption alternative to running my gaming machine 24/7 as a file server and was going to run one of those little ~$30 Sempron CPUs unlocked to a dual core and 4GB of RAM. Doesn't need a whole lot of power, my 1.83GHz C2D in my laptop can run just about anything I need it to, and the Sempron will be faster once unlocked and should still run on very little power.

I haven't checked hard drive prices in a while, have they gone down? There was some serious flooding in Taiwan which caused HDD prices to spike, the 1.5TB WD Black I bought for $120 was nearly $400 last I checked...

BrianG 01.15.2012 07:07 PM

Yeah, 4-core and 8GB is a bit overkill for a HTPC, but since I plan to also use it as an intranet/data/SMB server and possibly for some lower-end games, the extra oomph might come in handy. Besides, the price difference between dual and quad cores isn't really that big, and has room for me to scale up its usage as things progress.

HDD prices are higher to be sure. But when you get those DIY packages at newegg, you get a discount which helps offset that. This is also why I won't get the 2x2TB drives for a while until the prices drop back down.

Unsullied_Spy 01.15.2012 07:15 PM

Good point. Big thing for me right now is energy consumption. My Quad Core system pulls around 120 watts just piddling around on the internet, my laptop does the same thing at 10-12 watts. It runs $30-$40 per month just to leave my gaming system idling, if I could bring that down to $3-$4 that's a pretty significant savings in my book.

What do you think about this kit:
http://www.newegg.com/Product/ComboB...t=Combo.752616

Should do HTPC, data, etc. for a handsome price point. Slap in some WD Caviar Green drives (unless you really need the speed of a 7200 RPM drive) and you're good to go. Home server for under $300 before OS isn't bad.

BrianG 01.15.2012 07:19 PM

That looks like a decent kit. Actually, if I wasn't looking for something with a bit more power, that would do nicely.

As far as power-consumption goes, I'm not too worried. We still have a CRT (gasp!) in the living room, so replacing that with a ~32" LED TV and the HTPC I'm looking at will have about the same net power usage. Actually, even better since we now use the Wii for netflix.

Unsullied_Spy 01.15.2012 07:23 PM

Check out some of the Barebones kits on TigerDirect. They've usually got some deals, granted there's a lot of mail in rebates, but if you shop around a bit you can score a nice computer for cheap. If you're on a budget and want a quad core the AMD X3s usually unlock to an X4 with a compatible motherboard.

BrianG 01.15.2012 07:49 PM

I've looked into TgerDirect before, but there's always other things I want to get at the same time which they don't carry, so I just end up going to Newegg who always have what I'm looking for at the same or better prices.

As far as O/C'ing or unlocking goes, I usually stay away from that for the most part for my main boxes. I value stability over anything, and I'd rather not take any chances that an O/C or other mod would compromise that.

Thirdgen89GTA 01.15.2012 10:34 PM

Quote:

Originally Posted by Unsullied_Spy (Post 416492)
Quad core and 8 GB of RAM? Is this a media center or a F@H bot? :lol: I'm looking at doing something similar for a lower-power consumption alternative to running my gaming machine 24/7 as a file server and was going to run one of those little ~$30 Sempron CPUs unlocked to a dual core and 4GB of RAM. Doesn't need a whole lot of power, my 1.83GHz C2D in my laptop can run just about anything I need it to, and the Sempron will be faster once unlocked and should still run on very little power.

I haven't checked hard drive prices in a while, have they gone down? There was some serious flooding in Taiwan which caused HDD prices to spike, the 1.5TB WD Black I bought for $120 was nearly $400 last I checked...

No, HD prices are still up. I just had to order about 10 HD's of each type as spares for work. Prices were still sky high.

BrianG 03.04.2012 10:53 PM

I thought I'd post an update on this.

First of all, I decided to make this more of an home theater media center that will sit next to the living room screen. But, I also want to have IIS running on it and transcode all the video for the web (home intranet, not public internet).

So, after shopping around for a good setup and came up with the following:
  • Case. There are some decent HTPC cases around, but I feel they tend to be too cramped. So, I picked up a regular black Lian-Li case. I did some minor mods to it already:

    • Removed all fan grilles to make it quieter (less air turbulence) and more free-flowing.

    • Cut a hole out of the motherboard tray to allow me to add/change the heatsink without having to remove the motherboard.

    • Re-routed the front-panel USB/audio cables under the drive carriage. In stock form, those wires were bent rather harshely.

    • I'm not sure if I will have it standing up or lying down (like a normal stereo component), so I added some rubber feet to one side so I can go either way.

    Picture 1 and picture 2 of the case showing the mods. Nothing special.

  • Motherboard. I opted for the P67 chipset, specifically the ASRock P67 EXTREME4 GEN3 mobo. I have an ASRock in my main rig and it works swimmingly. I am still a bit up in the air about the Z68 chipset. The only advantage to the Z68 is SSD caching (which I won't be using) and the ability to use Lucid Virtu (which would help video transcoding). But after reading about Virtu, it seems like it's still too new and needs to go through a revision or two to be truly ready for primetime. The P67 chipset is mature, so I expect fewer issues.

  • Processor. I don't need a lot of power when it's being used to watch a video or playing basic games, but since I do plan to do some video transcoding over the "web", I wanted something with some oomph. My main rig has an i5-2500k not overclocked and when I did some test video conversions, CPU usage was pretty high. So, I'm going to go with an i7-2600k since it has Hyperthreading. The extra 4 logical cores should help, and I may overclock it a little, depending on how much the CPU is being worked during transcoding.

  • Cooling. The case has a 120mm fan in the front and the rear. Like I said, I removed the fan grills for smoother airflow and less noise. For the CPU, I'll be using a COOLER MASTER GeminII S524 setup. I like this unit because it will help cool the CPU, RAM, and any other nearby components.

  • Memory. 16GB (4x4GB) of G.Skill DDR3 PC12800 RAM. Should be enough. :smile:

  • Video. Since we might play some games on this rig, I'm planning on a nVidia GTX560 video card. Not top-end, but should play any games I have at decent speed.

  • Power supply. After reading some reviews (especially at hardwaresecrets), I opted for a mere 650w supply, the OCZ ZS Series. I don't plan to use SLI, so it should be plenty (uses a single 12v rail rated for 46A).

  • TV Tuner card. I decided on a Hauppauge Win TVR-2250. It has dual tuners and hardware mpeg encoding to reduce CPU usage when recording shows.

  • Storage. The main drive is a 1TB SATA drive. I'll allocate ~500GB for recorded TV programs. I was going to spring for an SSD, but I really don't need super fast loading of programs or fast booting.

    For the media storage (DVD iso's and MP3s), I'm thinking a 3TB SATA drive which should be good for ~700 DVD5 iso's. I was going to do a 3TB RAID1 setup, but after thinking about it, I really don't need/want a real-time backup. Besides, if something electrical goes wrong, both drives could be wrecked. So, I opted for an external 3TB drive for emergency backup. I'll come up with an automated script to make sure the external and internal drives are synced.

  • DVD drive. We don't have/rent very many Blue-Ray discs, but just in case, I opted to get a BR drive. A bit more expensive, but it'll be there just in case.

  • OS. Going to use the OEM verison of Windows7 Professional 64-bit. It has IIS 6 built-in, so all I need to get the web service up and running is to download and configure MySQL for the database.


I already got the case, power supply, TV tuner card, and external 3TB drive, but am waiting for tax returns to get everything else. Plus, I notice prices on my Newegg wish list tend to drop by a few dollars daily, so hopefully prices will keep falling before I make the final purchase.

rawfuls 03.04.2012 11:18 PM

With that motherboard, you might as well overclock, as much as you can without gaining any temperature increases.

AS for the power, I'd go with something SeaSonic rebranded, mainly because I just love them so dearly.
I've heard a few OCZ flame-ups, but nothing huge.
Might be better suited with a ~550-600 Antec/Corsair/Seasonic/PC&C.. etc.

My opinions entirely.
Your HTPC is going to be a faster build than my main gaming rid... sad. :no:

Thirdgen89GTA 03.04.2012 11:20 PM

Quote:

Originally Posted by BrianG (Post 418833)
I thought I'd post an update on this.

First of all, I decided to make this more of an home theater media center that will sit next to the living room screen. But, I also want to have IIS running on it and transcode all the video for the web (home intranet, not public internet).

So, after shopping around for a good setup and came up with the following:
  • Case. There are some decent HTPC cases around, but I feel they tend to be too cramped. So, I picked up a regular black Lian-Li case. I did some minor mods to it already:

    • Removed all fan grilles to make it quieter (less air turbulence) and more free-flowing.

    • Cut a hole out of the motherboard tray to allow me to add/change the heatsink without having to remove the motherboard.

    • Re-routed the front-panel USB/audio cables under the drive carriage. In stock form, those wires were bent rather harshely.

    • I'm not sure if I will have it standing up or lying down (like a normal stereo component), so I added some rubber feet to one side so I can go either way.

    Picture 1 and picture 2 of the case showing the mods. Nothing special.

  • Motherboard. I opted for the P67 chipset, specifically the ASRock P67 EXTREME4 GEN3 mobo. I have an ASRock in my main rig and it works swimmingly. I am still a bit up in the air about the Z68 chipset. The only advantage to the Z68 is SSD caching (which I won't be using) and the ability to use Lucid Virtu (which would help video transcoding). But after reading about Virtu, it seems like it's still too new and needs to go through a revision or two to be truly ready for primetime. The P67 chipset is mature, so I expect fewer issues.

  • Processor. I don't need a lot of power when it's being used to watch a video or playing basic games, but since I do plan to do some video transcoding over the "web", I wanted something with some oomph. My main rig has an i5-2500k not overclocked and when I did some test video conversions, CPU usage was pretty high. So, I'm going to go with an i7-2600k since it has Hyperthreading. The extra 4 logical cores should help, and I may overclock it a little, depending on how much the CPU is being worked during transcoding.

  • Cooling. The case has a 120mm fan in the front and the rear. Like I said, I removed the fan grills for smoother airflow and less noise. For the CPU, I'll be using a COOLER MASTER GeminII S524 setup. I like this unit because it will help cool the CPU, RAM, and any other nearby components.

  • Memory. 16GB (4x4GB) of G.Skill DDR3 PC12800 RAM. Should be enough. :smile:

  • Video. Since we might play some games on this rig, I'm planning on a nVidia GTX560 video card. Not top-end, but should play any games I have at decent speed.

  • Power supply. After reading some reviews (especially at hardwaresecrets), I opted for a mere 650w supply, the OCZ ZS Series. I don't plan to use SLI, so it should be plenty (uses a single 12v rail rated for 46A).

  • TV Tuner card. I decided on a Hauppauge Win TVR-2250. It has dual tuners and hardware mpeg encoding to reduce CPU usage when recording shows.

  • Storage. The main drive is a 1TB SATA drive. I'll allocate ~500GB for recorded TV programs. I was going to spring for an SSD, but I really don't need super fast loading of programs or fast booting.

    For the media storage (DVD iso's and MP3s), I'm thinking a 3TB SATA drive which should be good for ~700 DVD5 iso's. I was going to do a 3TB RAID1 setup, but after thinking about it, I really don't need/want a real-time backup. Besides, if something electrical goes wrong, both drives could be wrecked. So, I opted for an external 3TB drive for emergency backup. I'll come up with an automated script to make sure the external and internal drives are synced.

  • DVD drive. We don't have/rent very many Blue-Ray discs, but just in case, I opted to get a BR drive. A bit more expensive, but it'll be there just in case.

  • OS. Going to use the OEM verison of Windows7 Professional 64-bit. It has IIS 6 built-in, so all I need to get the web service up and running is to download and configure MySQL for the database.


I already got the case, power supply, TV tuner card, and external 3TB drive, but am waiting for tax returns to get everything else. Plus, I notice prices on my Newegg wish list tend to drop by a few dollars daily, so hopefully prices will keep falling before I make the final purchase.

You should look into Robocopy, or RSync for the mirroring purposes.

For Rsync the command would be:
PHP Code:

rsync -va --delete $source $destination 

This would perfectly create a mirror of the drive onto the destination. It will also intelligently update the destination drive so you aren't copying files that are already there. I used this to mirror my photo library, iTunes, and Movies folders.

If you run a scheduled task, it could probably run the batch file containing RSync.

For Robocopy you would use this command:
PHP Code:

robocopy /zb /mir $source $destination 

/zb : copies all files in restartable backup mode.
/mir : mirrors source to destination, removes files that don't exist in source and updates altered files.

BrianG 03.04.2012 11:26 PM

Quote:

Originally Posted by rawfuls (Post 418834)
With that motherboard, you might as well overclock, as much as you can without gaining any temperature increases.

AS for the power, I'd go with something SeaSonic rebranded, mainly because I just love them so dearly.
I've heard a few OCZ flame-ups, but nothing huge.
Might be better suited with a ~550-600 Antec/Corsair/Seasonic/PC&C.. etc.

My opinions entirely.
Your HTPC is going to be a faster build than my main gaming rid... sad. :no:

Well, I did quite a bit of reading before I got the PS and the model I got tested very favorably and maintained good efficiency. Some others didn't do so well (when pushed, they would shut down or whatever).

And don't feel bad, the HTPC if going to be faster than my main rig as well. But since it will be used for so many things, I felt the power is necessary. About the overclocking: I may or may not. At least I got the hardware so I can if I want. If I do, it won't be extreme - maybe something like a 5% O/C just for a little extra power.


Quote:

Originally Posted by Thirdgen89GTA (Post 418835)
You should look into Robocopy, or RSync for the mirroring purposes.

For Rsync the command would be:
PHP Code:

rsync -va --delete $source $destination 

This would perfectly create a mirror of the drive onto the destination. It will also intelligently update the destination drive so you aren't copying files that are already there. I used this to mirror my photo library, iTunes, and Movies folders.

If you run a scheduled task, it could probably run the batch file containing RSync.

For Robocopy you would use this command:
PHP Code:

robocopy /zb //purge $source $destination 

/zb : copies all files in restartable backup mode.
/e : copies all files and sub-directories regardless of content
/purge : purges all files in the destination that no longer exist on the source.

Thanks, I'll keep those in mind. I've heard of Robocopy before but not Rsync. In the past, I just build my own batch files and schedule them as tasks. But it would be nice to have a more intelligent syncing function so I'm not copying things that haven't changed needlessly. My external drive uses USB3, but even so, transferring multi-GB takes a while.

I've already ripped around 70 DVDs, but man, this takes a while! I use DVDFab which is the easiest method I've found that rips only the main movies while being able to bypass all the encryption methods - event the newer ones. I used to use DVDDecryptor and DVDShrink, but they are getting long in the tooth and there are more and more DVDs they can't handle.

rawfuls 03.04.2012 11:29 PM

Quote:

Originally Posted by BrianG (Post 418836)
And don't feel bad, the HTPC if going to be faster than my main rig as well. But since it will be used for so many things, I felt the power is necessary. About the overclocking: I may or may not. At least I got the hardware so I can if I want. If I do, it won't be extreme - maybe something like a 5% O/C just for a little extra power.

Not in all cases!
In gaming, the i5-2500k is the clear winner over the 2700k.
But encoding, maybe not. :whistle:

BrianG 03.04.2012 11:33 PM

Quote:

Originally Posted by rawfuls (Post 418837)
Not in all cases!
In gaming, the i5-2500k is the clear winner over the 2700k.
But encoding, maybe not. :whistle:

Yeah, that's why my gaming rig uses the i5-2500k. Most games don't even use all 4 cores fully, so anything more is overkill. I was reading about someone who got one of the extreme 6 core (12 with HT) i7's to play Minecraft! My son plays that game on a Core 2 quad CPU and it barely hits the CPU. Talk about a waste of over $1000 for a CPU!

But, in video encoding, even those logical hyperthreading "cores" make a substantial difference, hence the choice.

_paralyzed_ 03.04.2012 11:51 PM

Quote:

Originally Posted by BrianG (Post 418833)
I can go either way.

:lol: Linc? Mr. Lincpimp? Bueller? Bueller?:whistle:


:intello:

BrianG 03.05.2012 12:54 AM

It's ok, you can go to bed now and let the grownups talk. :na:

TexasSP 03.05.2012 01:32 PM

Been quietly watching this thread as I have been contemplating a home media server myself. Been thinking of getting off cable for a while since almost everything I watch is via DVR and 99% of it available through the web. Also want to put my movie collection on hard drives so it's easier to pull up.

I think between Netflix, Amazon Prime, Hulu, and all the free crap on the web plus what I have in hand I am well covered in the media arena.

My only concern is that I put the time in effort getting it all setup then some genius comes out with an all in one package that does it better and cheaper. Not that I am seeing it on the near horizon though, just that nagging thought.

I assume you are still going with Windows Media Center Brian? Also which internet TV plugin are you using? I was looking at SecondRun.tv which looked very nice for although it costs 4 bucks and many are free.

Thirdgen89GTA 03.05.2012 02:01 PM

Quote:

Originally Posted by TexasSP (Post 418868)
Been quietly watching this thread as I have been contemplating a home media server myself. Been thinking of getting off cable for a while since almost everything I watch is via DVR and 99% of it available through the web. Also want to put my movie collection on hard drives so it's easier to pull up.

I think between Netflix, Amazon Prime, Hulu, and all the free crap on the web plus what I have in hand I am well covered in the media arena.

My only concern is that I put the time in effort getting it all setup then some genius comes out with an all in one package that does it better and cheaper. Not that I am seeing it on the near horizon though, just that nagging thought.

I assume you are still going with Windows Media Center Brian? Also which internet TV plugin are you using? I was looking at SecondRun.tv which looked very nice for although it costs 4 bucks and many are free.

Checkout a Boxee box.

http://www.boxee.tv/buy

I run the Boxee app as my HTPC app. Except instead of having the actual box, i run the app on a Mac Mini hooked up to the TV via HDMI and TOSlink. Boxee is great, there isn't really anything I've found that it can't play. It'll play a DVD5 ISO directly, MKV, AVI, MOV, MPG...on and on. It also has apps built in for Pandora, Spotify, Hulu, Vudu, Netflix....again on and on.

With the addition of a supported Tuner card it can also play TV over the air as well.

This same MacMini also runs 360connect to share my iTunes playlists (not just the music, but the smart playlists as well) to the Xbox 360. And I can use the Remote app on my iPhone to remotely control iTunes so I don't even have to turn on the TV or sit in front of it to control it. I can control my iTunes from anywhere in the house.

BrianG 03.05.2012 02:04 PM

Yes, I will be using Win7 Pro and Windows Media Server for the main app. The plugins necessary for Netflix, automatic DVD iso mounting, etc are all free, and they work seamlessly with MC. The prime goal for the main system is simplicity and ease of use for any non-techie member of the family.

I'm not sure what I'll be using for the "TV Guide" service, but I did some quick searches for free solutions and there are a few. It'll take some playing around to find the one that works the best. My wife has a Tivo in the bedroom and I hate it to be honest. The UI sucks and it's expensive.

For a basic media server, the hardware requirements aren't very high. A dual core CPU of any brand, integrated video, and 4GB of RAM would be more than sufficient (as long as the integrated video supports the native resolution of the HDTV you are using). The biggest expense is probably DVD storage at this point until drive prices drop. However, if you go with lower-end processing hardware, I would recommend getting a TV card with built-in hardware encoding so that recording TV shows won't hit the CPU nearly as much.

Unfortunately for me, adding the ability to play PC games on the HTPC, and transcoding video in the background in real-time over the LAN requires quite a bit more power. This is the part that is going to require the custom web application, database, etc.

When I get it all together, I plan to do it in stages and outline in simple terms how to do each depending on the user's goal. Then, once I get a workable transcoding method in place, I can even provide webserver/database installation instructions along with any scripts required for installing the database tables, stored procedures, etc.

I don't plan on ever exposing this system to the public web (being able to stream a video to my phone while at work isn't one of my goals), so there won't be any special router configurations or dynamic IP mapping (allows a home DHCP machine to be mapped to a externally available domain name) to do.

BrianG 03.05.2012 02:05 PM

Quote:

Originally Posted by Thirdgen89GTA (Post 418870)
Checkout a Boxee box.

http://www.boxee.tv/buy

I run the Boxee app as my HTPC app. Except instead of having the actual box, i run the app on a Mac Mini hooked up to the TV via HDMI and TOSlink. Boxee is great, there isn't really anything I've found that it can't play. It'll play a DVD5 ISO directly, MKV, AVI, MOV, MPG...on and on. It also has apps built in for Pandora, Spotify, Hulu, Vudu, Netflix....again on and on.

With the addition of a supported Tuner card it can also play TV over the air as well.

Something like this would definitely be the easiest and cheapest way to go.

padrino 03.05.2012 02:16 PM

Quote:

Originally Posted by Thirdgen89GTA (Post 418870)
Checkout a Boxee box.

http://www.boxee.tv/buy

I run the Boxee app as my HTPC app. Except instead of having the actual box, i run the app on a Mac Mini hooked up to the TV via HDMI and TOSlink. Boxee is great, there isn't really anything I've found that it can't play. It'll play a DVD5 ISO directly, MKV, AVI, MOV, MPG...on and on. It also has apps built in for Pandora, Spotify, Hulu, Vudu, Netflix....again on and on.

With the addition of a supported Tuner card it can also play TV over the air as well.

This same MacMini also runs 360connect to share my iTunes playlists (not just the music, but the smart playlists as well) to the Xbox 360. And I can use the Remote app on my iPhone to remotely control iTunes so I don't even have to turn on the TV or sit in front of it to control it. I can control my iTunes from anywhere in the house.

Great point, I do basically the same thing but use the program Boxee is built from, XBMC. It provides me more flexibility and a crisper UI and integration.

I have a 7" touchscreen HTPC cases for the media PCs running an i3 and fanless NVidia card, everything is networked and wired to an 18TB storage array in the basement.

TexasSP 03.05.2012 02:28 PM

Thanks for all the tips.

And agreed, storage is the big issue right now. Hoping the pricing comes back down more. It does seem to be a little better than what it jumped to due to the flooding though.

Thirdgen89GTA 03.05.2012 02:44 PM

Quote:

Originally Posted by TexasSP (Post 418875)
Thanks for all the tips.

And agreed, storage is the big issue right now. Hoping the pricing comes back down more. It does seem to be a little better than what it jumped to due to the flooding though.

Yeah, I did notice that prices have come down, but not all the way yet.

This WD 1TB Black edition drive used to be $99. Its still $140.

padrino 03.05.2012 02:49 PM

Quote:

Originally Posted by Thirdgen89GTA (Post 418877)
Yeah, I did notice that prices have come down, but not all the way yet.

This WD 1TB Black edition drive used to be $99. Its still $140.

Even worse are the 3TB drives, I bought 6 for $149/ea and now Newegg is pricing them at $300.

BrianG 03.05.2012 02:52 PM

Seagate's 3TB bare drives are $200. Oddly enough, their external 3TB drives can be had for ~$170 and they contain the same exact drive model as the bare drive. I've read a few places where people are getting the external version and ripping open the enclosure to get the drive.

Arct1k 03.06.2012 08:24 AM

Curious to see what comes up for the raspberry pi - It seems to be powerful enough to run unix and stream 1080p.

For $35 you cant go wrong.

BrianG 03.06.2012 10:41 AM

That Raspberry Pi seems an interesting device. Very small, inexpensive, and simple. I can see it being used as an internet device to connect TVs which don't have network functionality - something like a Roku but more versatile.


All times are GMT -4. The time now is 07:01 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.