How do I install Mplayer multimedia player on Ubuntu Linux operating systems using command line options?
The MPlayer supports a wide variety of multimedia file formats. It can also save all streamed content to a file. It is available in both command line and GUI front end format. You need to install the following packages:
- mplayer – movie player for Unix-like systems.
- mplayer-gui – GUI frontend to mplayer.
- mplayer2 – next generation movie player for Unix-like systems.
Install mplayer cli and gui
Open a terminal and type the following command:
$ sudo apt-get install mplayer mplayer-gui
A note about installing mplayer version 2
To install mplayer2, enter:
$ sudo apt-get install mplayer2
[sudo] password for nixcraft: Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: esound-common libaacs0 libaudiofile1 libbluray1 libesd0 libgif4 libvdpau1 Suggested packages: libbluray-bdj pulseaudio-esound-compat nvidia-vdpau-driver nvidia-vdpau-driver-ia32 vdpau-driver The following NEW packages will be installed: esound-common libaacs0 libaudiofile1 libbluray1 libesd0 libgif4 libvdpau1 mplayer2 0 upgraded, 8 newly installed, 0 to remove and 1 not upgraded. Need to get 1,626 kB of archives. After this operation, 4,365 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://in.archive.ubuntu.com/ubuntu/ precise/universe libaacs0 amd64 0.3.0-4 [38.6 kB] Get:2 http://in.archive.ubuntu.com/ubuntu/ precise/main libaudiofile1 amd64 0.3.3-2 [91.6 kB] Get:3 http://in.archive.ubuntu.com/ubuntu/ precise/universe libbluray1 amd64 1:0.2.1+git20111208.63e308d-3 [83.8 kB] Get:4 http://in.archive.ubuntu.com/ubuntu/ precise/main esound-common all 0.2.41-10build3 [9,972 B] Get:5 http://in.archive.ubuntu.com/ubuntu/ precise/main libesd0 amd64 0.2.41-10build3 [20.1 kB] Get:6 http://in.archive.ubuntu.com/ubuntu/ precise/main libgif4 amd64 4.1.6-9ubuntu1 [31.0 kB] Get:7 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libvdpau1 amd64 0.4.1-3ubuntu1.1 [31.1 kB] Get:8 http://in.archive.ubuntu.com/ubuntu/ precise-updates/universe mplayer2 amd64 2.0-426-gc32b3ed-2ubuntu0.1 [1,320 kB] Fetched 1,626 kB in 10s (155 kB/s) Selecting previously unselected package libaacs0. (Reading database ... 220569 files and directories currently installed.) Unpacking libaacs0 (from .../libaacs0_0.3.0-4_amd64.deb) ... Selecting previously unselected package libaudiofile1. Unpacking libaudiofile1 (from .../libaudiofile1_0.3.3-2_amd64.deb) ... Selecting previously unselected package libbluray1. Unpacking libbluray1 (from .../libbluray1_1%3a0.2.1+git20111208.63e308d-3_amd64.deb) ... Selecting previously unselected package esound-common. Unpacking esound-common (from .../esound-common_0.2.41-10build3_all.deb) ... Selecting previously unselected package libesd0. Unpacking libesd0 (from .../libesd0_0.2.41-10build3_amd64.deb) ... Selecting previously unselected package libgif4. Unpacking libgif4 (from .../libgif4_4.1.6-9ubuntu1_amd64.deb) ... Selecting previously unselected package libvdpau1. Unpacking libvdpau1 (from .../libvdpau1_0.4.1-3ubuntu1.1_amd64.deb) ... Selecting previously unselected package mplayer2. Unpacking mplayer2 (from .../mplayer2_2.0-426-gc32b3ed-2ubuntu0.1_amd64.deb) ... Processing triggers for man-db ... Setting up libaacs0 (0.3.0-4) ... Setting up libaudiofile1 (0.3.3-2) ... Setting up libbluray1 (1:0.2.1+git20111208.63e308d-3) ... Setting up esound-common (0.2.41-10build3) ... Setting up libesd0 (0.2.41-10build3) ... Setting up libgif4 (4.1.6-9ubuntu1) ... Setting up libvdpau1 (0.4.1-3ubuntu1.1) ... Setting up mplayer2 (2.0-426-gc32b3ed-2ubuntu0.1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place
A note about installing mplayer using GUI option
Open a Ubuntu Software Center (press Super and select Ubuntu Software Center), and type the following term in the search bar:
Click on the “Movie player for the Unix-like systems” > Click the “Install” button. You need to authenticate yourself to install the software when promoted:
You need to repeat the above steps to install Mplayer Media Player.
How do I use Mplayer software?
Use the command line option as follows:
mplayer file.mp3 mplayer tv-show.mp4 mplayer movie.avi mplayer home-video.mov
Alternatively, you can use GUI option > Press Windows (Super) key > Type mplayer in unity search bar and select the MPlayer Media Player:
Mplayer Multimedia Player will be luached as follows on screen > Select the Mplayer window > Right Click > and Select Open or CD/DVD to open media files: