Building a Linux Home Media Center
RomanianClimber writes "Tom Lynema assembles an Ubuntu-based Linux home media center. 'Like a lot of people nowadays, I have a growing collection of digital media. My digital media is stored on a home Linux server. Most of the digital media players available today do not support protocols to connect to a Linux server, which make them unsuitable for my use. I realized the best way to connect my digital media library with my home theatre was to build my own Linux home media center (LHMC).'"
Comment removed based on user account deletion
I run XPMCE -- yeah, yeah, it works and the WAF is 100%. We continue to try MythTV and various F/OSS programs about 3-4 times a year though.
But I think I might stop, soon. I already have a decent little file sharing network between myself and about 100 "close" friends. I think we could probably extend this to 1000 people and still keep intruders and others out. I have about a 10mbps pipe at home (beta) that should be available everywhere within a year. One of the providers wants to see it for $19.99 per month (as long as Congress stays out!)
So that leaves me with my subjust line: when will we not need a dedicated box anymore?
Bandwidth is almost free, compared to any previous bandwidth before it. 10mbps is just as fast as I can run to the video store and back (depending on the codec used and other parameters, but its close). If I keep maybe 10% of my content on my PC and share it with the 100 out there, I bet we'd have it covered pretty well even considering duplicates for backup. Maybe we need a protocol/program that takes BitTorrent and allows a network of users to safely share video/audio in a wide-area RAID configuration. The other day I lost a CD (AAC's actually, my car stereo supports it) that had about 1000 minutes of music on it. I run my AACs lower than 128kbps for the car. I had the entire set of albums downloaded from a friend in maybe an hour or so, I'd guess.
The future for me is a system similar to AKIMBO (but open source and needing very little in the way of complex hardware) -- a set top box, maybe 60-100gig hard drive, the ability to copy data to the unit from my workstation, and the ability to set it up in this wide area RAID configuration with my friends.
True "peer" to "peer" sharing of media, but no complexity needed that is the norm with an MCE -- you don't need terabytes of data, 2-4 tuner cards (my XPMCE has 4: 2 SD and 2 HD) as you can download the shows from BT or whoever else may have the data already, or even a DVD player.
What would this system be missing? (I just typed as I thought it up, FYI)
/dev/random
Right-o, why do we still care about Blu-Ray and HD-DVD as solutions like this become more the norm, and pay-for-rights media becomes more readily available for download?
hi mom!
The article spends about 95% of its words talking about how to get that specific hardware working under linux, and then one or two paragraphs actually talking about the interesting stuff - the software that he uses to run the media center. He even neglects to mention how he controls it.
... I'd like to see a decent article that actually covers ALL the aspects of setting up a media PC.
Isn't there front-ends to make this stuff easier than having a gnome desktop on the TV? What about remote control devices and infra-red support? Is there a nice way to navigate all the media?
These are the things I couldn't solve easily two years ago
Even better is the 400 disc DVD changer and a video patch panel with a remote control. That's ooh aaahhh. No PC required.
0xB315AA8D852DCD3F3DCA578FD2E0BF88
DLNA, the digital living network alliance, http://www.dlna.org/about is a group working on standards to make it streamlined for your TV to grab files off your windows server, linux server, mp3 player, et cetera. Basically makes all your devices share the media together. I know nothing about it other than the roughest overview, but if anyone else knows of it please comment.
slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
I've been running a linux home entertainment box for a couple years now. I use SuSE ( I think I have Suse 9.3 on there now) and a matrox video card with TV out. My sound I run directly into my stereo system. I use mplayer mostly to play my videos and I still use mp3blaster to play my tunes. Although I have a wireless mouse n keyboard hooked up to it, it's a pain because I still need to get up and turn on the monitor because the text is too hard for me to read on my TV.
The computer I've been using recently for this task has kind of been overkill so I was happy to find today the Mvix Multimedia Player. As far as I know it runs linux. Just needs a harddrive installed and it's ready to run. I'm thinking of replacing my computer with it so I can use my computer for other tasks (I can always find something). Anyone heard of Mvix before?
*DrugCheese rants*
from OreillyNetd ia/2005/06/22/myth_tv.htmld ia/2005/08/17/myth_tv.htmld ia/2005/11/02/myth-tv.htmld ia/2005/12/07/myth-tv.html
/ 27/linux_media_pc.html/ 29/mythtv_hacks.html
http://www.oreillynet.com/pub/a/oreilly/digitalme
http://www.oreillynet.com/pub/a/oreilly/digitalme
http://www.oreillynet.com/pub/a/oreilly/digitalme
http://www.oreillynet.com/pub/a/oreilly/digitalme
http://www.linuxdevcenter.com/pub/a/linux/2004/05
http://www.linuxdevcenter.com/pub/a/linux/2004/12
I also use ubuntu for a multimedia PC. Actually setting it up is nothing special. I'm using low end hardware, a 1000 MHz Duron, 512 MB RAM, an nVidia geforce4 ($30 new) with S-video output, and the onboard sound of the Asus A7N8X-X. This computer is in our living room and connected to a wired 100 Mbit network. I connected the video card and the sound to a home theatre reciever using S-video and RCA cables, respectively. Ubuntu detected and configured all of my hardware automatically. I downloaded the latest nvidia driver installer and ran it, it installed cleanly and I used their settings GUI to configure the TV output. Then, I had to restart X to get the TV output working. Next I installed mplayer and downloaded all the codecs from their website. All of my multimedia stuff is on my office computer, so I share it with the multimedia computer using NFS. This folder is accessed by an icon on the GNOME desktop, and nautilus file manager shows nice big preview thumbnails of movies, and also previes sounds when the cursor is held over the icon. I watch movies using mplayer (it's able to play everything I've thrown at it), and listen to music using Beep Media Player, gnome-cd, and for internet radio, Streamtuner is excellent for finding quality streams. The cheapo graphics card didn't come with a remote, but a wireless optical mouse ($15) works just as well on the couch cushion right beside me. Our DVD player is getting quite a coating of dust on it these days.
This is the most uninformative article yet on Slashdot. Other than the details of the workarounds for the different hardware on his system to work with linux (and what's new in that! LOL!), there's no information about what the interface is like, how does he control it using a TV-like remote, capture HDTV, view TV schedules, pause live tv, skip commercials automatically, etc.
/. Pity!
This is just another we can (try to) do it with Linux article. The guy should have at least tried using MythTV and told us the actual issues in setting that up.
Compared to the commercial products like Sage, BeyondTV, and of course Microsoft Windows Media Center Edition, this is a 5-year old's level of gratification. How easy it is to satisfy a Linux nerd - something as simple as streaming stuff off a different computer is enuf to get an article and be featured on
But where is the epic struggle in that?
Great minds think alike. However, as a True Linux User (TM) I've resorted to converting all my media into ASCII so I could view it in GNU nano by keeping my fingers on ^V. True, it's mostly porn and it takes a lot of my time but i feel my self-respect is worth it !!!
After a while, I don't even see the code. Just blonde, brunette, redhead.
-- This void intentionally left null.
I've built 3 mythTV based Linux boxes now, and I'm always interested in the different configurations. If he truly got this MSI box (which I've seen before), it would be nice to see if he got the LCD to do anything useful besides the time, and does the volume knob actually work. He also ignores the remote, and how he actually controls the thing on TV. Even with wireless, a keyboard and mouse on your TV are far inferior to a good UI with a remote control.
To the author: Go back and get some more specifics, then revisit your article. Linux people are devils, we're all about the details.
-- I have fans? Wow.
better documentation, easier MythTV integration, better hardware support. Had a great time putting together a Myth box with very modern hardware. Blogged about it too.
Now I can view the Goatse.ca link also provided by the author with my fresh home media center.
... Must have wrote this Linux.com article. I can't think of any reason such a brief and incomplete article would have made it to the front page. There are 100 better treatments of this subject out there, this is more of a discouragement than motivation to build one on your own.
My (admittedly old) 200 disc DVD changer is slow and annoying. I would much rather have my DVDs ripped onto a HTPC or streamed over the network from my fileserver.
So where are the pictures of the HTPC? What format is the media stored in? What movies does it have? How many movies does it have? How much does it cost to have a dedicated NFS server, a separate dedicated HTPC, a monitor for the NFS server and a second monitor for the HTPC? In what country can you afford to have 2 of everything? Is it supposed to play movies or just mount a filesystem over NFS? How many times have you set up NFS anyway?
True, it's mostly porn and it takes a lot of my time but i feel my self-respect is worth it !!!
Are you talking about the goatse as the submitter's link?
Okay, this is flipping hilarious. After the whole brouhaha, Slashdot listened to the tyranny of the majority and added nofollow on submitter links. Now we have glorious links like goatse instead. Awesome.
HDTV shouldn't need hardware encoding. For over-the-air HDTV (which is ATSC), the hardware just tunes in the ATSC digital stream and you've got already-encoded MPEG2 High Definition video. Just save the raw MPEG stream.
And there are cards under Linux that support this, like pchdtv.com's HD-3000 PCI card.
Now how well and convenient it is to actually get them working is another question. That's one of the drawbacks of open source.
Comment removed based on user account deletion
I have had a MythTV box running for a few months (after earlier unsuccessful attempts with freevo and older MythTV versions.
;)
;)
I boght a Hauppauge PVR350 card (analog TV) and used the "MythTV on Fedora" howto (google) and I was very satified with the results. So satisfied that I bought another Hauppauge PVR500 card so that I ended up with 3 tuners.
My setup is non-standard for two reasons:
1. My HTserver (HTSRV) is located in my server room. This considerably improves the WAF and keeps the living room nice and clean and quiet. I transport the A/V signals over CAT5 (using two baluns) to the point where the cable-TV enters the house. There a modulator mixes the signal with the regular cable channels so I can watch my MythTV HTserver's TV-Out anywhere in the house.
2. Now I needed a way of controlling my MythTV server from behind any of my TV sets. To solve that I used my SqueezeBoxes ( http://www.slimdevices.com/ ). I wrote a Slimserver plugin (Perl) that taps into LIRC and allows me to control the MythTV server with the remotes from the Squeezeboxes.
I'm thinking of replacing my living room audio system with a pair of powered speakers so that I'll end up with 'just' a TV, a small Squeezebox and two speakers. No 5.1 speaker setups for me, I just can't stand all that clutter.
There's another interesting project that I plan to look into. It uses Hauppauge's small and inexpensive $69 MediaMVP boxes (miniature diskless computers that run linux with Remotes and TV-Out) to build MythTV and SlimServer frontends:
http://mvpmc.sourceforge.net/idx.php?pg=main
This is nice because it allows you to watch different programs & recordings on different TV-sets, which my current setup doesn't allow you to do. Worth looking into if you're interested in a distributed media network rather than just a boring HTPC or HTSRV
X.
The Server
PC with big disk running linux (or windows if you prefer)
Install Apache
symlink media directories to default apache home directory
Done.
The Player(s)
An old laptop is what I use but you could of course use any pc, maybe a mac mini or whatever takes your fancy.
On the laptop I use firefox with the mplayer plugin - I had to disable local caching in the plugin otherwise it was a bit choppy.
So to play any content from the 'media server' I just browse to it with firefox and click to play.. (and select full screen mode for vids of course) Dead easy and effective enough for my needs.
You could make an interface to the media with perl/php if apache directory listings are not flash enough for you.. ;)
Note this solution would work equally with windows or anything else that runs apache on the server and a browser with media player plugin on the viewer.. which narrows it down to everything out there I think.
Using a laptop for viewing in my case means I can send video output to a tv or projector easily since a tv-out is built in and 'just works'.
The above assumes you have a home network of some kind setup.. and make sure your firewall doesn't allow the world to access your webserver.. ;)
You should get a Squeezebox. I think it meets all your requirements:
* Excellent sound quality. Supports MP3, WMA, FLAC, AAC, WAV and Ogg Vorbis.
* Analog, digital and digital/optical outputs. Analog quality is better than any sound card.
* The box is absolutely silent--no moving parts. You can keep your server in a different room from your listening area. You can use just about any existing/surplus computer as your server; there's no need to build a fanless machine.
* Completely controllable through its remote or from a web-based interface.
* Display is visible across the room.
* Takes about one second to come out of hibernation.
The downsides:
- Form factor--doesn't fit in a rack.
- The web-based interface is clunky.
The server software is open source and runs on Linux, Windows and Mac. There is a Squeezebox emulator called SoftSqueeze that you can use to try out the system before you buy anything.
I don't work for Slim Devices--just a satisfied customer.
If you want to put people off trying the very capable Linux MC distros and scare them into using Windows MCE, just point them to the article.
Conor "You're not married,you haven't got a girlfriend and you've never seen Star Trek? Good Lord!" - Patrick Stewart
I love it when people over-simplify and fail to actually investigate both sides of this issue. It is thinking like the above that almost stopped VCR's with the claim they'd be the end of movies and theatres, when in fact they ended up increasing the rate of movies, the money in the movie business, and the profit of movie companies. This was accomplished by the movie industry changing their business models to exploit the new technology, not fight it. It's even more futile to fight it now as the end users don't rely on third parties (e.g., VCR manufactures) being legally able to build the technology. The users can create the technology themselves whether legal or not, and do so in secret.
Radio was going to kill music production. Cable TV was going to kill networks. VCR was going to kill movies. P2P/filesharing is going to kill movies/music. Sound familiar? I have yet to see a single example of where such claims have ever proven right. (Yes, automobiles put carriage manufactures out of buiness, but that's replacing an old technology with a new one, not destroying the content creation business by changing the delivery technology.)