If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Install Mplayer in Ubuntu Dapper
You need to add the following lines to /etc/apt/sources.list file
gedit /etc/apt/sources.list
enter these two lines and save your file
deb http://archive.ubuntu.com/ubuntu dapper universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper universe multiverse
Install Mplayer in Ubuntu Edgy eft
You need to add the following lines to /etc/apt/sources.list file
gedit /etc/apt/sources.list
enter these two lines and save your file
deb http://archive.ubuntu.com/ubuntu edgy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy 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
Once you open the mplayer you should see the mplayer opened in the following screen
If you want to install Mplayer with plug-in for Mozilla Firefox run the following command
sudo apt-get install mozilla-mplayer
You may also be interested in...
September 30th, 2006 at 2:31 am
Would’t it be a better idea to install automatix, and then get mplayer with it, along with so much other goodness?
September 30th, 2006 at 9:38 am
There’s a problem: Ubuntu opts to turn the RTC max freq down to 64hz for compatibility reasons. This makes the video all laggy. To fix it, do this as root:
echo 1024 > /proc/sys/dev/rtc/max-user-freq
September 30th, 2006 at 10:07 am
thanks for your nice tip
September 30th, 2006 at 11:56 am
Thanks for this simple instruction, I have looked for many ways to make my Ubuntu run mp3 and other audio files.And
what you introduce is the way which is most efficient.Thank you very much,A friend from Chinese.
September 30th, 2006 at 5:45 pm
I know that installing Mplayer is very easy from a pre-built package, but I always find it to be a little buggy. Fullscreen is slow, and mplayerplug-in cuts off some of the video on the sides. Installing from source sounds intimidating, but Mplayer is easy. And the results are worth it.
October 8th, 2006 at 12:56 am
This aritcle is very helpful. Many thanks!
October 10th, 2006 at 2:35 pm
when I tried that command..
in my terminal i got the following lines after some time:
“Reading package lists… Done
W: GPG error: http://packages.freecontrib.org dapper Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F120156012B83718
W: You may want to run apt-get update to correct these problems
“
October 10th, 2006 at 8:25 pm
Hi arun,
The source list i have menctioned source list is totally different.If you are using source list f
http://packages.freecontrib.org you need to get the authorization key from that site or you can ignore this error
this error will occur when you try to access these packages without key.If you don’t want these source list
you can delete and try to run sudo apt-get upate
hope this help
October 18th, 2006 at 5:22 am
“Arunkumar C”, please see below to fix the error message:
http://packages.freecontrib.org/ubuntu/plf/
$ wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -
October 28th, 2006 at 7:59 am
I keep getting this message when trying to use your instructions to install on Edgy:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mplayer: Depends: libdvdread3 (>= 0.9.6) but it is not installable
Depends: libggi2 (>= 1:2.2.1) but it is not installable
E: Broken packages
how can I resolve this?
November 1st, 2006 at 11:00 pm
10 Responses to “Install Mplayer in Ubuntu Linux”
I am also getting the same error as Chris, the 10th reply in this topic when trying to install
Mplayer in Edgy Eft.
Any idea?
November 1st, 2006 at 11:09 pm
try to run the following command
sudo apt-get -f install
and reply if you are still getting the errors
November 4th, 2006 at 4:02 am
root@x3n:/etc/apt# sudo apt-get -f install mplayer
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mplayer: Depends: libdvdread3 (>= 0.9.6) but 0.9.4-5.1 is to be installed
Depends: libggi2 (>= 1:2.2.1) but 1:2.0.5-1.1ubuntu2 is to be installed
E: Broken packages
November 4th, 2006 at 9:51 am
try to run only the following command without mplayer and let me know
sudo apt-get -f install
this should try to install all the required dependencies and i have installed using this procedure without any problem
November 5th, 2006 at 9:13 pm
Please add universe to the line in /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu dapper universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper universe multiverse
libggi2 will be installed together with mplayer and everything is fine.
November 6th, 2006 at 10:00 am
Works great..
thanks robo..
Now I don’t have to boot win just to play wmv files
November 10th, 2006 at 7:23 am
Hi,
I followed your instructions to install Mplayer but hit a snag and get this message in the terminal window:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
tsingh@Cooper-Desktop:~/Desktop$ sudo apt-get install mplayer
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Any ideas?
November 10th, 2006 at 8:03 am
Hi Tejbir,
You have adept / synaptic or some other package manager open. You have to close them all.
thanks
November 12th, 2006 at 12:08 am
Thanks for the tip. That worked as I had Synaptic package manager open but when I proceeded to install I ran into this issue:
tsingh@Cooper-Desktop:~/Desktop$ sudo apt-get install mplayer
Password:
Reading package lists… Done
Building dependency tree… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mplayer: Depends: libggi2 (>= 1:2.0.5) but it is not installable
E: Broken packages
OK I read your comment on this issue above and ran the command: sudo apt-get -f install and this is what i got.
tsingh@Cooper-Desktop:~/Desktop$ sudo apt-get -f install
Reading package lists… Done
Building dependency tree… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Still the problem persists when I try to install Mplayer.
Any suggestions? In case it helps, I’m running Drapper Ubuntu.
Thanks.
December 28th, 2006 at 10:12 am
i installed the mplayer sucessfuly but i cant paly any vedios. mp3s woks fine but when there is a vedio file it gives an error. i also installed the skin but it also doesnt appear.
December 28th, 2006 at 12:23 pm
Am just trying to install some mp3 player without connecting the net onto my laptop… How do i
download the required mp3 package(*.deb) for my ubuntu dapper?
January 10th, 2007 at 5:46 pm
i don’t hav net conexion,i wanna mplayer 4 ubuntu6.06lts…any method..
January 12th, 2007 at 4:55 pm
While i started Mplayer… it gives me such an error!
[gl] Could not create GLX context!
MPlayer interrupted by signal 11 in module: decode_video
Can somebody help me plz!!!
January 20th, 2007 at 2:55 am
Why does this have to be such a forking project in Debian/Ubuntu?
It’s gravy in KDE.
January 20th, 2007 at 11:48 am
For VCD, I find that it’s better to use gxine. Otherwise even with Automatix, mplayer or Totem couldn’t play the .dat files off the CD. This is how I did it, if you’re interested:
http://alternativenayk.wordpress.com/2007/01/20/playing-vcds-on-ubuntu-linux-how-to/
January 26th, 2007 at 3:13 am
Can’t install mplayer in Ubuntu Dapper drake as says it requires liblame0>3.96. I compiled 3.97 from source successfully, and it still says the same. How can I resolve this?
January 30th, 2007 at 12:32 am
Just installed mplayer with GUI, mozilla plugin and skins on 6.10 Edgy.
No problem at all, mplayer/gmplayer runs fine on streaming mp3, ra (ram).
This PC was first installed with 6.10.
Have other PC which was firstly installed with 5.10, upgraded to 6.06 (LTS), then to 6.10.
On this one I’ve got problems a month ago; will try again tomorrow and report here.
Thanks for doing.
January 31st, 2007 at 6:14 pm
Running Edgy from Dist-Upgrade from dapper, working fine as far as I can tell- and unable to get mplayer- gmplayer-from cl- and even 1024 fix failed:
b21william@b21william-desktop:~$ sudo echo 1024 > /proc/sys/dev/rtc/max-user-freq
bash: /proc/sys/dev/rtc/max-user-freq: Permission denied
b21william@b21william-desktop:~$
Thanks,
William
January 31st, 2007 at 9:03 pm
@william
try the following
Do this with your favorite editor, mine is vim
sudo vi /etc/sysctl.conf
Add the following line at the end of the file
sys/dev/rtc/max-user-freq=1024
Then type
sudo /etc/init.d/sysctl reload
hope this helps
February 9th, 2007 at 6:08 pm
When I open Mplayer i get an error : error opening/initializing the selected video_out (-vo) device
February 23rd, 2007 at 10:26 pm
Leia este email
February 28th, 2007 at 1:46 am
I installed mplayer in Ubuntu Dapper - the install seemed to go fine, but whenever I try to play a DVD, I see that teh HD and the DVD drive show a lot of activity, but nothing comes up in the video window. When I bring up the system monitor, it says that the process gmplayer is “uniterruptible” I finally have to click on the close process button to shut it down, otherwise my system will just continue to show thwe disk and DVD activity lights forever. DVD’s play in MoviePlayer, so I know that the drive gets the data in. However, I am a pretty new noobie, and I’m not sure what to look for to figure this out. Mp3 files seem to play without a problem.
February 28th, 2007 at 6:41 am
@dave
Try to install Mplayer codecs from here after that it should work.
February 28th, 2007 at 9:55 pm
It is very helpful. Thanks
March 10th, 2007 at 12:21 am
I also am getting:
When I open Mplayer i get an error : error opening/initializing the selected video_out (-vo) device
After installing. If someone figures this out before I do please post. If not, I will try to come back and post answer. PS:I could not compile at all on my Ubuntu - either I do not have the right headers or I get a message that GCC cannot create executable. Any hints on that would be great also!
March 10th, 2007 at 12:45 am
Blessed are the French because they know pictures are more important than words!!!
Take a look at http://www.billyboylindien.com/blog/tutos/erreur-mplayer/
And keep in mind you can get to gmplayer preferences by right clicking on the control panel. The picture should tell you a lot but essentially choose the video tab and change you video preference to
xv X11/xv
March 10th, 2007 at 12:48 am
Oh, you need to do this for each user that will access gmplayer!
BTW — thanks for the article it was great to have gmplayer back again.
I am knew to Ubuntu but not to linux — so the compile thing is getting my goat —- Still willing to accept tips/hits/blasting’s….Whatever….But I am glad this article was hear!
March 18th, 2007 at 7:35 pm
Some people here might have authorization problems. I’m not sure what causes this, but you might be able to play video’s using right click (on the file you want to open) and then choosing “Open with…” “Other…” and than the command “sudo mplayer” and enabling “run in terminal”. This works fine on my computer, but it’s not how it’s supposed to work off course.
April 11th, 2007 at 2:05 am
Why can’t I get write access to the ’sources.list’ file? If I list the permissions, I get:
-rw-r–r– 1 root root 1732 2007-04-09 21:00 sources.list
How do I get ownership of this file?
April 14th, 2007 at 3:22 am
When I click the link above, the page refreshes and nothing else happens. How do I install Real Play 10 for UBUNTU? or Mplayer.
April 15th, 2007 at 9:25 pm
I’m having the same problem as CajunKen has, not having access or permission to save on the sources.list file
HELP
April 19th, 2007 at 4:58 am
nick dude,
type
chmod 777 /etc/apt/sources.list
this gives you the owner root and anyone else permission to mess with the file or you can log in as root and modify the file there.
April 23rd, 2007 at 4:46 am
Thanks Robo. That did the trick. I’m able to play quicktime files now.
August 22nd, 2007 at 2:51 pm
for slavic languages gksudo gedit /etc/mplayer/mplayer.conf
subcp=windows-1250
font=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
Nice tuto thx.