Learn How to Install SMPlayer in Ubuntu

UbuntuEntertainmentOperating System

SMPlayer is a free media player for windows and Linux with built-in codecs, which will additionally play YouTube videos, search and down load subtitles, and entails other points like a thumbnail generator and audio and video filters.

Features

  • Help for Youtube. That you can search, play and down-load Youtube movies
  • Many video and audio filters are available
  • Thumbnail generator
  • Video equaliser
  • It has many Skins/Themes
  • It supports a couple of speed playback
  • It supports audio and subtitles delay adjustment

Installing SMPlayer

To install SMPlayer, add the following PPA on Ubuntu−

$sudo add-apt-repository ppa:rvm/smplayer

The sample output should be like this −

Packages for SMPlayer.
To install SMPlayer from this PPA, run these commands on a terminal:
sudo add-apt-repository ppa:rvm/smplayer
sudo apt-get update
sudo apt-get install smplayer smtube smplayer-themes smplayer-skins
More info: https://launchpad.net/~rvm/+archive/ubuntu/smplayer
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpeab9bvoh/secring.gpg' created
gpg: keyring `/tmp/tmpeab9bvoh/pubring.gpg' created
gpg: requesting key E4A4F4F4 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpeab9bvoh/trustdb.gpg: trustdb created
gpg: key E4A4F4F4: public key "Launchpad PPA named smplayer for rvm" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

Now update the packages by using the following command −

$sudo apt-get update

The sample output should be like this −

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:3 http://dl.google.com/linux/chrome/deb stable Release
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:5 http://ppa.launchpad.net/rvm/smplayer/ubuntu xenial InRelease [17.5 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:9 http://ppa.launchpad.net/rvm/smplayer/ubuntu xenial/main amd64 Packages [1,532 B]
Get:10 http://ppa.launchpad.net/rvm/smplayer/ubuntu xenial/main i386 Packages [1,532 B]
Get:11 http://ppa.launchpad.net/rvm/smplayer/ubuntu xenial/main Translation-en [5,100 B]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [68.2 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [302 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [43.1 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [19.4 kB]
.................................................................................................

To install SMplayer with skins, use the following command −

$ sudo apt-get install smplayer smplayer-themes smplayer-skins

The sample output should be like this −

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
esound-common libaudiofile1 libdirectfb-1.2-9 libenca0 libesd0 libgif7
libqt4-opengl libqtwebkit4 libsdl1.2debian libvorbisidec1 mplayer smtube
Suggested packages:
pulseaudio-esound-compat mplayer-doc netselect | fping
The following NEW packages will be installed:
esound-common libaudiofile1 libdirectfb-1.2-9 libenca0 libesd0 libgif7
libqt4-opengl libqtwebkit4 libsdl1.2debian libvorbisidec1 mplayer smplayer
smplayer-skins smplayer-themes smtube
0 upgraded, 15 newly installed, 0 to remove and 284 not upgraded.
Need to get 18.9 MB of archives.
After this operation, 66.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
.................................................................................

To open SMplayer, use the following command −

$ smplayer

The sample output should be like this −

img class="size-full wp-image-21712 aligncenter" src="/articles/images/smplayer.png" alt="Smp Player" width="600" height="532" sizes="(max-width: 680px) 100vw, 680px" />

To get more information about SMplayer, use the following command −

$ smplayer --help

The sample output should be like this −

This is SMPlayer v. 16.11.0 (revision 8242) running on Linux
Usage: smplayer [-minigui] [-defaultgui] [-mpcgui] [-config-path directory]
[-send-action action_name] [-actions action_list] [-close-at-end]
[-no-close-at-end] [-fullscreen] [-no-fullscreen] [-ontop] [-no-ontop] [-sub
subtitle_file] [-pos x y] [-size width height] [-add-to-playlist]
[-help|--help|-h|-?] [media] [media]...

-minigui: opens the mini gui instead of the default one.
-mpcgui: opens the mpc gui.
-defaultgui: opens the default gui.
-skingui: opens the gui with support for skins.
-config-path: specifies the directory where smplayer will store its
configuration files (smplayer.ini, smplayer_files.ini...)
-send-action: tries to make a connection to another running instance and
send to it the specified action. Example: -send-action
pause The rest of options (if any) will be ignored and the
application will exit. It will return 0 on success or -1 on
failure.
-actions: action_list is a list of actions separated by spaces. The
actions will be executed just after loading the file (if
any) in the same order you entered. For checkable actions
you can pass true or false as parameter. Example: -actions
"fullscreen compact true". Quotes are necessary in case you
pass more than one action.
-close-at-end: the main window will be closed when the file/playlist
finishes.
-no-close-at-end: the main window won't be closed when the file/playlist
finishes.
-fullscreen: the video will be played in fullscreen mode.
-no-fullscreen: the video will be played in window mode.
-ontop: sets the stay on top option to always.
-no-ontop: sets the stay on top option to never.
-sub: specifies the subtitle file to be loaded for the first
video.
-media-title: sets the media title for the first video.
-pos: specifies the coordinates where the main window will be
displayed.
-size: specifies the size of the main window.
-help: will show this message and then will exit.
-add-to-playlist: if there's another instance running, the media will be
added to that instance's playlist. If there's no other
instance, this option will be ignored and the files will be
opened in a new instance.
media: 'media' is any kind of file that SMPlayer can open. It can
be a local file, a DVD (e.g. dvd://1), an Internet stream
(e.g. mms://....) or a local playlist in format m3u or pls.

After this article, you will be able to understand how to install SMPlayer in Ubuntu. In our next articles, we will come up with more Linux based tricks and tips. Keep reading!

Source: SMPlayer Portal

raja
Published on 22-Jan-2020 07:09:50
Advertisements