How To: Turn Your Linux Rig into a Streaming Media Center
These days, most people have at least one computer and a large collection of media files. The conventional practice for most people has always been to have redundant copies of their media collection on their various computers. While this system technically works, it is highly inefficient and creates the unnecessary task of keeping the media collection on each computer synchronized and up-to-date with the others. A far better solution is to keep all the media on one computer and stream it as needed to the other machines over the network.
Streaming technology has been around for over a decade and is something that most people are at least a little familiar with. (Youtube uses streaming flash-based video to work) In the past, playing large files over the internet was usually pointless due to the fact that the software of the time required the whole file to download (often on slow connections) before the media could be played. With streaming media, the remainder of a file is fetched as the first part it is being played, so there is no need to wait to get the whole thing before watching it. The video quality on early streaming media was often quite bad, (a trade-off between quality and speed was necessary when most people were stuck on dial-up) but with the near-ubiquitous availability of broadband in most urban and suburb areas today, high-quality streaming media has finally become practical.
We have assembled this guide to help you set up a cross-platform media streaming service using a Linux computer as a server. With our guide, you will be able to stream media to any other computer you own. Other guides on the subject discuss how to set up a Samba-based solution, but we feel that our solution is simpler and easier since you only have to install and configure one program instead of several. For this purpose, we use GNUMP3d. GNUMP3d is a program that makes media available through a web-based interface. Instead of using the Samba protocol, GNUMP3d uses ordinary HTTP to get the job done.
Preparation
This guide assumes that you have a Linux-based computer available and are ready to begin the installation process immediately. If this is not the case, you should set up a Linux-based environment to use. It doesn't really matter which distro you are using, but for the sake of simplicity, we are going to use Ubuntu in this demonstration since Ubuntu has a large following and the needed software is already in the repositories. If your distro does not have a pre-compiled package of GNUMP3d available, you will need to compile it yourself.
What you will need:
1. A web browser
2. Root or superuser access to the Linux system that is to be the media server
3. Access to the Ubuntu repositories through apt-get (or the GNUMP3d source code and any necessary compile tools)
4. One or more media players that can handle streaming media (Videolan, Amarok, and Totem with Gstreamer are recommended)
5. Some music and/or video files to test with
Installation and configuration
Installation of GNUMP3d is fairly simple and involves only a few steps. In this guide, we are going to assume that your movies and music are stored in your Linux home directory with the folder names Movies and Music, respectively.
1. Open a terminal. (run xterm or your favorite terminal application)
2. Run sudo apt-get install gnump3d if you are using Ubuntu 8.04 or earlier. If you are using 8.10, you have to install the package manually. If you are building from source, head on to the next step.
3. Provide your sudo or root password and let the package manager install GNUMP3d. If you are building from source, download the source tarball from the GNUMP3d website, untar, and compile it.
4. The installation process will create a folder called music in the system's var folder. Navigate to that folder by running cd /var/music
5. The time has come to populate the music folder with your media library. Although you could copy your movies and music folders to /var/music, there is a far better way. Linux has the ability to create symbolic links (symlinks) to other folders. The system is able to seamlessly follow these links. By creating symlinks to the Music and Movie folders in your home directory, you can leave your media library where it is and still make it available for streaming.
Since you did not personally create the /var/music folder, you are not able to copy files to it with your own user account. For this reason, you have to use sudo to make the links. Run sudo ln -s ~/Movies Movies and sudo ln -s ~/Music Music to make shortcuts to your music and movie folders. From that point on, anytime you add a file to your media collection, the file will automatically be made available for streaming.
![]()
sstop
February 03, 2012 at 8:34am
Very nice post.Very useful idea for Linux users like me
Servicing Stop Blog
![]()
espl06
January 30, 2012 at 4:00am
This is the right blog for anyone who wants to find out about this topic. This is definitely good for people into this sport. Lead Generation
![]()
espl06
January 28, 2012 at 2:32am
"For my line of business its definitely a necessity :)... not only does it protects the hardware but also makes it look attractive and hightech...
Nice article!! People like you make internet a learning place..""Lead Generation
"
![]()
espl06
January 30, 2012 at 1:40am
I hope you can continue this type of hard work to this site in future also..Because this blog is really very informative and it helps me lot. Lead Generation
![]()
espl06
January 15, 2012 at 10:44pm
Nice share. I think your blog should come up much higher in the search results than where it is showing up right now.wealth management
![]()
aso chudi
January 15, 2012 at 1:49am
I wanted to thank you for this great read I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.
![]()
espl06
January 14, 2012 at 5:27am
Yes, i agree with your idea . The prestation of the site is nice.Web site provides all relevent information . Thanks!!!! Lead Generation
![]()
MOSAROR
January 15, 2012 at 11:12pm
Hey this is great idea, good write-ups seamlessly entertain the reader and communicate the value of the deal. I can suggest this tips to my content writer. Thanks.
![]()
sahilgarg
January 13, 2012 at 10:18pm
I really increased my knowledge after read your post which will be beneficial for me.articles on health care
![]()
espl06
January 12, 2012 at 10:54am
India tours Geringer Global Travel are specialists in planning custom tour packages to India & beyond. They are very responsive and excellent in their service. India tours
![]()
joy
January 09, 2012 at 2:08am
This blog contains a lot of informative data and news which i first time read from here. Thanks for writing about this important topic.
![]()
Internet connection
January 06, 2012 at 11:03am
Hello there! You guys make this site entertaining and you still manage to keep it smart. I can’t wait to read more from you.
![]()
espl06
January 14, 2012 at 6:56am
I’m glad to search out your impressive manner of writing the post. Great information.Keep it up and thanks on your share! ! wealth managemant
![]()
sstop
January 05, 2012 at 9:35am
Ver useful article. Its a great news for media enthusiats that now they can create media on online
![]()
Restart
December 31, 2011 at 6:20am
These facts are amazing . I was searching for at least 5 weaks and i didn’t get the perfect answer. But after all i found from your site. thanks for posting such a interesting topic.
![]()
jeona
December 28, 2011 at 2:45am
That's wrong told I started reading this blog post I couldn't stop until I was done, while it wasn't just what I had been trying to find, was still a great read though.
![]()
bolod
December 27, 2011 at 2:37am
Hey this is great idea, good write-ups seamlessly entertain the reader and communicate the value of the deal. I can suggest this tips to my content writer. Thanks.
![]()
jeona
December 26, 2011 at 11:03pm
That's wrong told I started reading this blog post I couldn't stop until I was done, while it wasn't just what I had been trying to find, was still a great read though.
![]()
bolod
December 26, 2011 at 5:20am
When I first visit this site and try to look what this site talks about I was really amazed with.WOW!fantastic.You could have get new important and interesting topic to be discuss.Really feel great that I visit this site.
![]()
jeona
December 24, 2011 at 12:17am
Always inadvertently see things like this, I am very interested, unable to hold oneself back to share with the people around me have a look. I support your ideas, and I wish you make persistent efforts.
![]()
musafir
December 23, 2011 at 7:36am
I love to surf and my initial source for information is the blogs which have always helped me in my education. This blog is one of them.
![]()
willjamess81
August 01, 2011 at 3:58am
Turning it into a Streaming Media Center would be a great fun. Thanks for posting such a wonderful post. It was very interesting and unique. get rid of skin tags
![]()
jackhope
December 22, 2011 at 3:46am
Nice share. I think your blog should come up much higher in the search results than where it is showing up right now.
![]()
alishasmith28
August 11, 2011 at 9:27am
These days, most people have at least one computer and a large collection of media files.
admissions essay
![]()
lagai
January 08, 2012 at 12:09am
This is absolutely a commendable post indeed. You share splendid piece of information here. Thank you for attributing this informative post.
![]()
wilfordcimo
June 01, 2011 at 8:03pm
Nicve blog.. Thanks for the efforts.. I found it very interesting. inhairit
![]()
jeona
January 01, 2012 at 10:49pm
The article that you have been shared is very awesome. This is a very nice compilation, possibly the best on the web. Hope to see more useful information from this site...
![]()
kristopher tuder
July 24, 2011 at 10:36pm
Thanks for this post..I really enjoyed reading it..catering equipment supplies
![]()
jenny07
January 08, 2011 at 12:40am
Nice share. I think your blog should come up much higher in the search results than where it is showing up right now.
Singapore SEO
http://www.singaporeseo.org/
![]()
tomake
January 10, 2012 at 11:19pm
I hate blogs with ads and publicity thing, a good blog is to inspire people and happy, make life more rich and wonderful, let more open perspective.
![]()
Term Papers
December 13, 2010 at 3:38am
Great Idea that How can we turn Linux Rig in to stream media center, It's a great information for me, I am a new user of Linux Windows, And I dont have any idea about that, But I am sure this post will be very help ful for me While I am using Linux , Thanks
http://www.researchtermpapers.com
![]()
tomake
January 08, 2012 at 11:47pm
Its amazing, looking at the time and effort you put into your blog and detailed information you provide. I'll bookmark your blog and visit it weekly for your new posts.
![]()
jenny07
December 03, 2010 at 3:13am
This post was very nicely written, and it also contains a lot of useful facts.I enjoyed your professional manner of writing the post. Thanks, you have made it easy for me to understand..
Stakeholder Management Software
http://www.aimediacomms.com/
![]()
Larah
October 15, 2010 at 2:53am
New information is always great but if it is also interesting than I best what can be happen.
<a href="http://www.bookwormlab.com/" rel="nofollow">Buy Essay Papers</a>
![]()
Julia Meth
October 14, 2010 at 2:32am
Pentium II was launched with 533 MHz... and Pentium was the old one with max 233 MHz that was the big difference... Custom Dissertation Writing
![]()
Julia Meth
October 14, 2010 at 2:10am
I did not know this simple fact before, thanks to will kraft for guiding me. Now I am enjoying this feature with no cost... Dissertation Writing Services
![]()
wrangler
October 13, 2010 at 4:02am
Really enjoyed your comments--I am a satisfied customer. Years ago I wrote you when my friend Jack Nielson died to let you know that you were going to probably get a lot of orders for his CD.
You wrote me a nice email back!!!!
![]()
dwhelpuk
May 14, 2010 at 6:34am
Wonderful article, thanks for putting this together! "This is
obviously one great post. Thanks for the valuable information and
insights you have so provided here. Keep it up!" Dissertation Help |
Custom
Dissertation
![]()
pariuri sportive
March 08, 2010 at 1:13am
Good post and a fantastic read. You have raised some valid points. Table online Great work, keep it up. I love returning back to this site and reading the quality content you always have on offer.
![]()
josephrivers
February 24, 2010 at 3:31am
This is a good idea as I have a ton of media files (particularly videos) on my PC. I could focus my files on one and my documents for the paper writing service company when I write my essay for them without sacrificing performance. Thanks for the tip.
![]()
mindspring
January 08, 2010 at 10:17am
Sounds cool and all but having a full linux distro installed seems like overkill. FreeNAS is a really good option for sharing media with a whole bunch of devices. The web interface is pretty slick and straight forward as well. I just took an old Dell machine with a few cheap SATA 1TB drives and now I stream high quality movies to my xbox and listen to my music at work via DAAP. Good stuff. :)
![]()
EmilyAv35
December 29, 2009 at 1:37am
Your very good stuff referring to this post sould be a ground for thesis writing service and for some buy dissertation service and be used at thesis example.
![]()
Evie23Md
December 27, 2009 at 5:58pm
Even buy thesis services couldn’t make such kind of the finest dissertation thesis about this topic and possibly, you work especially for dissertation writing services. In that case we could buy a thesis from your organization straight off.
![]()
ThermoGel
February 18, 2009 at 7:37pm
Fuppes is a free open source media server for linux. It is all commad line and works good on my headless Ubuntu server. It is kind of a pain to set up, but works with my xbox 360. Fuppes will even transcode video and music.
![]()
horzo
February 18, 2009 at 12:29pm
Sorry, but a Linux-based media streamer that requires a GUI just isn't that interesting. It would be nice to see open-source streaming software manageble through a simple Bash shell.
There's Twonky Media, but they want money for it.
![]()
twiggyz
February 19, 2009 at 7:03am
I just tried this is in connection with one of those freebie watch tv online services and it works quite well. I was just going to throw away and let my old P1 with like 500mhz just rust but this is so much better.
I want to get a few monitors and turn them into a multiscreen - can probably pick some vga monitors for cheap ..will probably look on new egg or something for them.
![]()
Forty_Caliber
April 09, 2009 at 1:33pm
Pentiums were never released in 500 MHz flavors.
Pentium II's were near the end, but Pentium III's got there first.















