I’ve written a little how-to before on how to stream music through your local network, but this time I’m writing about streaming all kind of media through the local network.
This how-to is meant to stream to the files from your computer to the ps3 (might work for xbox and wii, but I don’t have those, so I’m not sure). It goes without saying you can access them from other computers as well.
updated 27/08/08 It seems the current version has changed a bit, only minor stuff.
I’ve based this “how-to” on the directions given here, but as always I’ll make it a bit easier.
First we will need some software. The program we will be using is called “mediatomb”.
It’s in the hardy repo’s so installing it can be done using add/remove, synaptic and the terminal.
If you use gutsy or feisty, look here for installation notes.
I’ll give the terminal commands, they are faster and work with other distro’s (not all!).
1. Installation
Open up a terminal (applications -> accessories) and enter this:
sudo apt-get install mediatomb
2. Run mediatomb
In a terminal:
sudo mediatomb
After it is done spitting out lines, press “ctrl+c” to stop the program.
3. Changing some settings.
In a terminal:
sudo gedit ~/.mediatomb/config.xml
Somewhere in the middle of the document, you’ll see this line:
<protocolInfo extend="no"/>
with this line next to it.
<!– For PS3 support change to “yes” –>
Change that "no" to "yes".
Then look for this line:
<mappings> <extension-mimetype ignore-unknown="no">
Directly under that line, copy/paste this (use the "copy to clipboard" link!):
<map from="avi" to="video/x-divx"/>
<map from="divx" to="video/x-divx"/>
4. Start mediatomb
Again, in a terminal enter:
sudo mediatomb
It will give you a url (something like http://192.168.1.4:49155/), copy that into your browser.
Navigate to the files you want to share (like the home folder or folders in the home folder) using the left menu, and when you found a folder you would like to access from your ps3, press in + sign in the top right corner.
Press ok (you can select option to let it search for new files, that might be a good idea).
You're done, now you can access the files from your ps3. There will be a "mediatomb" mention in the audio, video and photo section of the ps3 menu.
5. Extra stuff
5a. Start mediatomb when you start your pc.
You computer has to be turned on and running mediatomb if you want to access the files from your ps3. So it might be a good idea to add mediatomb to your "sessions" so it will start when you boot your pc up.
Go to "system -> administration -> session" and add this:
- mediatomb
- mediatomb
- file server
5b. Encoding issues.
The ps3 is picky about which formats it will play. Have a look here (bottom of first post) for some things you can try.
Note: all thanks go to the poster of the orginal thread on the ubuntuforums.






38 Comments
April 28, 2008 at 9:19 pm
Thanks for the tutorial! Seems to work great, except that copy/pasting in your instructions makes the XML invalid because you have curly quotation marks in your example. You might want to enclose those in code tags.
Just a minor hitch, thought you might wanna know.
April 29, 2008 at 9:14 am
Oh, will change that.
May 2, 2008 at 10:59 am
Wonderful help. Thanx =)
May 9, 2008 at 12:55 pm
Hi there. I’m all new and shiny to this Ubuntu type stuff…the problem I have is that when I try and save the xml file it refuses to save and gives me the following message:
“You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.”
If I try signing on as the super user the config file appears blank and I can’t save it anyway…
Any ideas?? Any help much appreciated!
May 10, 2008 at 10:29 am
Open terminal and type:
“gksudo nautilus”.
Then save the file in the location you want.
May 12, 2008 at 1:35 pm
I followed the above instructions in full, on my ps3 I select the album, it reads ‘unsupported data’ when I go further it reads ‘the music cannot be played (8003A542).
Could it be that im not actually adding the files (mp3) correctly? I navigate to my Music folder, click the + sign next to the song title….nothing happens, the bar at the bottom of the page reads javascript:parent etc. Maybe I haven’t got java fully enabled or something.
Im running ubuntu 8.04
I’m new at this so any help would be appreciated
cheers
May 13, 2008 at 11:54 am
If it reads “unsupported data”, it means that the file format isn’t supported.
I only tested if for music using .mp3, and there weren’t any problems.
Make sure you are in the “audio” section in the ps3 menu.
If you navigate to your “Music” folder when you are in the “video” section of the ps3 menu, the music won’t play.
—
There are 2 plus signs, press the right one first, then press “set” and then press the left one.
You might have to this for each sub-folder too.
–
JavaScript has nothing to do with Java, so you’re good there.
May 17, 2008 at 6:01 pm
[...] those, so I??m not sure. It goes without saying you can access them from other computers as well.http://linuxowns.wordpress.com/2008/04/28/stream-media-from-ubuntu-to-your-ps3/Wii vs PS3 vs Xbox 360 – The Game ForumMar 16, 2008 … After four months of gray market sales, PR [...]
May 18, 2008 at 4:13 pm
[...] those, so I??m not sure. It goes without saying you can access them from other computers as well.http://linuxowns.wordpress.com/2008/04/28/stream-media-from-ubuntu-to-your-ps3/Shania Twain: Don&39t! Music VideoThe complete music video to Shania Twain&39s "Don&39t!" c [...]
June 5, 2008 at 9:34 pm
[...] upnp server from ubuntu Jump to Comments I have a mediatomb server running on my desktop and use it to stream content to my [...]
June 14, 2008 at 8:41 pm
[...] streaming video, audio and pics to ps3 Posted on Today at 03:49 PM. By the_xfactor_9999 Here is a link to a tut for streaming your files from your computer to your ps3 using mediatomb. I tried this with ubuntu and it works like a charm! Stream media from ubuntu to your ps3 Linux Owns [...]
July 9, 2008 at 7:03 pm
nice tutorial, works superb. Now streaming video!!!
thanxs
July 16, 2008 at 4:30 am
Life saver… Thanks!!!
August 29, 2008 at 1:17 pm
When i entered the ip adress http://192.168.0.2:49152/
into my firefox (i have ubuntu gutsy) it give me the message Page load error. I tried to go around this by entering mediatomb — add /home/mixo8114/Music yet it just gave me the same if I put just mediatomb. I tried to go ahead anyway on my PS3 but when i found Mediatomb I searched it, it had PC Directory only and that was empty. I did all the stuff you said to do in the XML file. I just don’t know what to do.
August 29, 2008 at 1:43 pm
colm:
So mediatomb is running, but you are unable to add stuff to it.
Try looking in “applications -> sound and video -> mediatomb” and look if that will launch the web interface.
–
I must not that I only tried mediatomb on Ubuntu 8.04.
I believe Gutsy comes with an older version, so that could be the problem.
Should you can’t get it to work, install the newest version from their website:
http://mediatomb.cc/pages/download#debian_ubuntu
October 21, 2008 at 12:13 am
This is great. I set it up with minimal issues, but now I have two mediatomb directories on the PS3. One of which is empty. Any advice?
October 21, 2008 at 7:48 pm
I just installed mediatomb on Ubuntu 8.10 and had the same issue.
I’m not sure why it’s doing that.
I’m going to look around and post the solution if I find one.
October 30, 2008 at 7:51 pm
[...] here for instructions. (to access a upnp server look [...]
November 5, 2008 at 10:25 pm
Hi,
I tried these instructions on ubuntu 8.10
I managed to run mediatomb and access it from my browser. However, my PS3 still shows no media servers were found.
Any idea why is that? Please help
November 6, 2008 at 11:07 am
I’ve used my article and adjusted it for 8.10, it worked fine for me.
–
I’m going to start by stating the obvious here, don’t think I presume you don’t know anything about pc’s, it could help other if it isn’t useful for you.
Are the computer and the ps3 on the same network?
Is upnp enabled in the router?
Do you have a firewall running that is blocking mediatomb?
Did you save the changes made to the config file, and are you sure you didn’t make any typo’s?
Is mediatomb running? (type “sudo mediatomb” if you aren’t sure).
If those aren’t the problem, ask on the mediatomb irc channel.
I think it’s irc.freenode.net #mediatomb.
November 6, 2008 at 5:19 pm
Hello Bill Goldberg,
Thank you for your reply and sorry for not giving all the needed ifo.
I have not installed any firewall over ubuntu so unless it comes by default I have no firewall there. Is there any way to check that out?
To answer your questions:
*Yes, my ubuntu box is on the same network with PS3. I am also able to ping my PS3 from my computer.
* upnp is enabled on my router. I also found an option for supporting xbox which I enabled as well.
* In regards to the firewall. I’m not really sure how to check that
* config.xml file is updated with all needed modifications. I also double checked possible typos…. all is good.
* mediatomb is running. as I mentioned I am able to access mediatomb from my web browser. I also managed to configure the scan mode and the recursive option…
what could it be that I missing? please help
November 11, 2008 at 4:35 pm
Hi, I would love to help but I’m not real sure what the problem is.
I’m going to have to “send” you to the mediatomb irc channel.
It’s on irc.freenode.net , the room is #mediatomb.
Search on this site for “ubuntu irc channel” to get a quick guide on how to use irc.
The help there is pretty good, just ask your question an wait for a reply.
–
Also this guide is meant for the Mediatomb version on Ubuntu 8.10, I’m not sure it will still work with Ubuntu 8.04.
And just to be sure, make sure you ps3 is fully updated.
November 26, 2008 at 9:58 am
[...] here for instructions. (to access a upnp server look [...]
December 1, 2008 at 3:28 am
Thanks so much for this mate!
December 20, 2008 at 4:17 pm
nice how too had it up and running in minutes on ubuntu 8.10
December 31, 2008 at 6:44 am
ok I did everything and on my ps3 I go to mediatomb and it has PC Directory and then it says there are no titles. Help!!!!
January 13, 2009 at 3:47 am
Great tutorial. Thanks so much.
I wish everything was that easy.
January 21, 2009 at 1:13 am
Excellent tutorial – one of the best I’ve read, actually. Everything worked on the first try!
January 27, 2009 at 9:06 pm
Thanks!, almost to easy =)
January 29, 2009 at 4:32 am
With PS3’s 2.60 firmware, I am able to see my mediatomb-hosted xvid movies again!
Yay!
F
January 30, 2009 at 5:48 am
WOW That was easy!! Everything worked right away. Thank you so much for the walkthrough. Cheers! – Adrian
March 1, 2009 at 10:37 am
As Linuxlainen, I also had trouble getting MediaTomb to show in the PS3 menu. The problem was that MediaTomb was connecting to the wrong IP address. Using the –ip option to pass the IP of my computer solved the problem, e.g.
“mediatomb –ip 192.168.2.101″.
March 5, 2009 at 10:29 am
Hi!
I havn’t tried your tutorial yet, but I want to know if this applies to Wireless connection as well.
Tx in advance.
April 28, 2009 at 6:50 pm
Hi, So im in the same boat as like the second or 3rd commentor, i have 2 media tomb programs in my PS3? how do i fix this?
April 28, 2009 at 8:04 pm
@ EG:
It doesn’t make a difference.
So, yes it will work.
But wifi is way slower than Ethernet, so streaming HD is out of the picture.
June 19, 2009 at 11:36 pm
You might want to mention for the Ubuntu 9.04 users that “sessions” is no longer nor is it located in Administration anymore.
It has been renamed to “Startup Aplications” and it is under “Preferences”.
June 21, 2009 at 7:56 pm
Works perfectly; streaming video actually works better than Windows media player share. Two things though is there a way to change the name on my box from MediaTomb to something else. Only reason i ask is because I plan on loading linux on some of the other networked computers and it gets a little confusing seeing 10 Media Tomb icons and not knowing what system your accessing.
Second thing would be I’m not seeing the Session option under administration to autostart mediatomb. Not a biggy i’ll find the answer elsewhere. Running Ubuntu 9.0.4
June 21, 2009 at 7:58 pm
Ignore my second thing; thanks Tamar; guess it helps to read all the other posts before commenting LOL