Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) in Ubuntu 8.04 (Hardy Heron)
Sponsored Link
Install Mplayer in Ubuntu Hardy Heron
You need to add the following lines to /etc/apt/sources.list file or you need to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file
sudo gedit /etc/apt/sources.list
Make sure you have the following two lines save and exit your file
deb http://archive.ubuntu.com/ubuntu hardy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hardy universe multiverse
Now you need to run the following command to update the source list
sudo apt-get update
Install mplayer using the following command
sudo apt-get install mplayer
if you want to open mplayer just type
gmplayer
or
You can Open from Applications—>Sound&Video—> Mplayer Movie Player
Install libdvdcss2 and w32 video codecs in Ubuntu 8.04 (Hardy Heron)
Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories due to licensing and legal restrictions.
For Ubuntu 8.04 (Hardy Heron) Users run the following command
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
Then, add the GPG Key using the following commands
sudo apt-get update
sudo apt-get install medibuntu-keyring
sudo apt-get update
For i386 Users install Codecs using the following command
sudo apt-get install w32codecs libdvdcss2
For amd64 Users install Codecs using the following command
sudo apt-get install w64codecs libdvdcss2
Using above download locations you can install most of the mutimedia codecs for ubuntu.
Mplayer Plugin for Firefox
If you want to install Mplayer with plug-in for Mozilla Firefox run the following command
sudo apt-get install mozilla-mplayer
Seems to install fine, but when I try and play streams from the BBC Radio Player I get very loud distorted sound. Any ideas?
I get weird sounds when listening to BBC player too, using helix plugin. Have seen other people with the same problem, don’t think anyone’s fixed it yet.
Update:
Got BBC Plyer working by the following:
sudo apt-get remove –purge totem-mozilla
sudo apt-get install mozilla-mplayer
then installing codecs as above:
sudo apt-get install w32codecs libdvdcss2
I haven’t been able to get BBC listen again files to play at all.
I’m running Hardy Heron and am using Firefox. I double click on the usual ‘listen again’ button and a box appears giving me the option of opening the .ram file with any of my media players. I choose one, click ok and then nothing at all happens.
I’ve done all the medibuntu malarkey in the terminal and installed the ubdates, but still nothing. Does anyone know what I’m doing wrong?
thanks for the info i probably would nver have known about medibuntu and other software it offers acroread and google earth if it wasnt for you thanks!!!!
Bibliophile: .ram is a proprietary RealPlayer format. I don’t know if it exists for linux or not? But realplayer is the only software that will open it, at least, that’s what I’ve found.
it seemed fine when i installed but when i play .avi stuff it only plays the sound. No images. what may i do?
Comprei um micro PC com sistema Ubuntu Linux, não consigo ler meus dvds que utilizava em outro micro com sistema Windows, pede codecs para abertura destes dvds. Como resolver???
Hey thanks for the info.! I got the same sound problem? what’s the exact solution?
Hi, I am new to Ubuntu… And I must admit that, I really like Ubuntu. But I have a few problems with it.
I installed Ubuntu on my system yesterday, and when I tried playing an mp3/audio , it showed that I need to instal some codecs.
I have gone through this website, but i could not understand how to instal the codecs.
Is it only through commands or do i need to download and instal a codec, as we do it in Windows XP?
Can you please tell me how to go about this?
@rohit
This is simple and easy way you can install multimedia codecs.Try this procedure and let us know if you have any problem.
Hi, Thanks for quick response. I tried installing vlc player ystrdy, but could not do it.
Could you please tell, whether an internet connection is required for installing any softwares / applications in Ubuntu?
If its not required, could you please tell me, how to instal vlc.. and also how to get the sound working on the Ubuntu?
And also, I am using a broadband connection ( Reliance ), but I could not connect to the internet at all. Its a wired connection. COuld you please tell me, what are the steps to connect to the internet, and what changes should I make. I am in India, and use Reliance broadband connection.
And also, I was playing around with Ubuntu, and finally I noticed that my ” shutdown” option is missing. I now have only 5 options ( lock,hibernate,standby,switch user and log off ) — Could you please tell me, how to get that option back?
i have sound but no video…..
Thanks! I recently had another automatic update and was unable to play my local radiostreamer radio station with Mplayer or Amarok. Although I have been a Ubuntu user for over two years, updates like this sometime throw me for a loop. Don’t know why the updates have to change other settings I have already had. Thanks for your instructions. They worked perfectly!
How do you make mplayer the default player? Totem is the current default. If I use
sudo apt-get remove
-–
purge totem-mozillasudo apt-get install mozilla-mplayer
Do you think that will work?
@simone
The above commands should work
I m exhausted!!
unable to ply any avi movie, with any player: i tried Mplayer, VLC, Realplay, totem..
i v followed all the steps above
i also tried theses steps from 1 to 6 : http://ubuntuforums.org/showthread.php?t=786095&highlight=codecs+avi
i tried other i don’t even remember!!
plz help thx
ubuntu 8.04
Thanks for the advice on setting up Mediaplayer.
I fully understand the ideals of not including or supporting Proprietary software. However, I know a lot of people who would like to abandon Windows or at least try Linux as a dual boot setup, but they would not have a clue how to add support for Realplayer or mplayer audio/video streaming in Firefox.
Try these 2 sites: bbc.co.uk/radio (Listen live OR their iPlayer)
Also rte.ie – Try their streaming news clips and radio.
There’s no way a novice could understand how to install all these codecs. Please, Ubuntu, Fedora and other distros – you should include a HOWTO for this alone in order to attract new users.
JB
Dear Sr. John Bonner
The problem using proprietary codecs is exact this. For exemple, Microsoft does not allow the use of any codecs in othe system but Microsoft. More you use MS proprietary codecs, more you are tight to MS. What Mplayer does is to go undergroud laws so we cam play MS proprietary videos/audio with ower Linux machines.
But why using Linux and get all this problem if using windows could resolve it? Becouse MS Windows Vista pack back here in Brazil is about 2 times the avarage month payment of my cowntry, and I prefer using hacked codecs to play MS video/audio than use a complete pirate operational system.
Thanks for the snippets, this sort of information is always useful when you’re rebuilding a box.
thanks for share!
After
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
you migh also need to :
sudo chmod go+r /etc/apt/sources.list.d/medibuntu.list
otherwise adept_notifier will keep notify of “1 update available” only to tell you there are none available after downloading the package list
hey i m using ubuntu 8.04 and i want the codacs of media playrs so please provide me the link for direct download the codacs
try this tutorial http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-in-ubuntu-804-hardy-heron.html
HOW TO PLAY DVD IN UNDER UBUNTU