Posts Tagged ‘Ubuntu 9.10’

PS3 as a Media Server

The PS3 is more than just a game console it is the controller for all of your home media. Ps3mediaservers.com will teach you how to utilize your PS3 to it’s full capacity.

Take a look at the PS3 media server guidethat will serve your data to the PS3 and the Media Server Comparison Chart.

There a huge amount of media server PS3 software out here we will help you make the right choices to pic out the best media server for ps3.

The best PS3 media server for you must run on your Linux, OSX, or Windows operating system. Media server software is becoming less complex to set up and much easier to use. There are also many free ps3 media servers out there for you to use.

Digital media servers are available  Linux, OSX, or Windows operating system. They are called DLNA servers.

Check out the full article at http://PS3MediaServers.com

Things Ubuntu forgot

I have had to install Ubuntu on a couple of machines and every time I do, I find somethings that I forgot to install. Of course, Ubuntu doesn’t come with all the codecs you need or DVD playback so I have written a little script that installs everything I need.  I have found most of the info all over the web and just put it into one script that I run post install. The script installs all the codecs I use and a lot of the programs I like.
#!/bin/sh
#ubuntu 9.10 add ons for playing anything

#add repos
sudo wget http://dl.dropbox.com/u/1402212/karmic.sources.list –output-document=/etc/apt/sources.list.d/full.list

#add keys
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2EBC26B60C5A2783 0DA7581859566E92 D739676F7613768D 43BB102C405A15CB 6AF0E1940624A220 2ED6BB6042C24D89 632D16BB0C713DA6 A6DCF7707EBC211F F9A2F76A9D1A0061 5A9BF3BB4E5E17B5 A040830F7FAC5991 FA3A1271 7FB8BEE0A1F196A8 0CC1223EE2314809 7889D725DA6DEEAA 28A8205077558DD0 2D79F61BE8D31A30 6E871C4A881574DE 66D5C734F6EFB904 DCF9F87B6DFBCBAE 2A8E3034D018A4CE F0876AC9 978228591BD3A65C 6298AD34413576CB FC6D7D9D009ED615 4FEC45DD06899068 2A423FD95416E75D

#update system before new addiotns are made
sudo apt-get -y update && sudo apt-get -y upgrade

#Installing vlc and mplayer (plays almost everything):
sudo apt-get -y install vlc mplayer

#Common codec packs
sudo apt-get -y install non-free-codecs libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg libmp4v2-0 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert mozilla-helix-player helix-player libmad0 libjpeg-progs libmpcdec3 libquicktime1 flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-dev

#Gstreammer 0.10
sudo apt-get -y install gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-pitfdll gstreamer0.10-sdl gstreamer0.10-plugins-bad-multiverse gstreamer0.10-schroedinger gstreamer0.10-plugins-ugly-multiverse totem-gstreamer

#More programs
sudo apt-get -y install gstreamer-dbus-media-service gstreamer-tools ubuntu-restricted-extras

#Enable dvd support
sudo aptitude -y install libdvdcss2 && sudo /usr/share/doc/libdvdread4/./install-css.sh

#dvd ripping and encoding
sudo apt-get -y install kino handbrake audacity

#compiz config
sudo apt-get -y install compizconfig-settings-manager

#Flash
sudo apt-get -y install gsfonts gsfonts-x11 flashplugin-nonfree

Or you can download the script here PostInstallExtras.sh.
Another thing I like to do is make sure all my Ubuntu installations have the same packages from machine to machine.
First you need to generate a package list file on your current machine.
dpkg –get-selections > selections.txt
Then move that file to the target machine with a jump drive or ssh or ftp or what ever way you can. Then run these commands on the target machine.
dpkg –set-selections < selections.txt
apt-get update
apt-get upgrade
That is all you have to do and both machines have the exact same packages on them.
Fell free to modify theses scripts as you like. They are just here for you to use or modify.

Ubuntu 9.10 to Xbox 360 Media Sharing

Like most people I have a couple TVs in my house. One of the TVs has the MythBox on it and the other has the Xbox 360. Now I keep all my movies on the MythBox (all legal backups of course). I wanted to play these on my Xbox on the other TV. I noticed that after the Xbox 360 dashboard update the Xbox saw my shared drive and I could browse to my media directories. When I tried to Play one of these I got some cryptic Microsoft error code. So I did a little research and found out that Xbox media streaming uses the DLNA protocol to receive content from a peer on a network. Great, does Linux have a DLNA protocol server, YES, it is called uShare.

Here are the easy steps to set it up.

sudo apt-get update
sudo apt-get install ushare

Configuration

Once finished, you’ll have uShare installed and ready for configuration. Out of the box, it won’t work for our purpose. You’ll need to edit /etc/ushare.conf to enable Xbox compatibility as well as define the standard port – 49200. Open /etc/ushare.conf as root and change the following lines:

USHARE_PORT=49200
USHARE_DIR=/path/to/your/media
ENABLE_XBOX=YES

Before these changes will take effect, you’ll need to restart ushare using its init script. However, an issue I’ve noticed is that the last line (’ENABLE_XBOX=YES’) does not always work. So before we restart uShare, we’ll need to make a small change to the init script that resides under /etc/init.d/ to force Xbox compatibility:

sudo vi /etc/init.d/ushare

and add the following line at the beginning of the script:

USHARE_OPTIONS=-x

This tells uShare to start with Xbox compatibility. Now restart uShare using the init script:

invoke-rc.d ushare restart

Now you are finished. You may need to restart the Xbox. Now navigate to ‘My Xbox’ and then select ‘Videos’ and finally you should see ‘uShare’ at the bottom (computer icon). Selecting that will connect to your Linux box and you’ll be able to browse your media just as you would on your PC.

When I tried to play a xvid file it said I needed a download to play this file. I sure it was the codec, but it was free and worked great. Now I have another TV with a HD feed that can Play all the movies on my Media server.

This works with versions of Ubuntu back to 8.10 and Fedora 9,10 1nd 11. For Fedora you have to use yum not apt-get.

Enjoy

Get Adobe Flash player