SMPlayer是适用于Windows和Linux的带有内置编解码器的免费媒体播放器,它还可以播放YouTube视频,搜索和下载字幕,并包含缩略图生成器以及音频和视频过滤器等其他要点。
YouTube的帮助。您可以搜索,播放和下载Youtube电影
提供许多视频和音频过滤器
缩略图生成器
视频均衡器
它具有许多皮肤/主题
它支持几种速度播放
支持音频和字幕延迟调整
要安装SMPlayer,请在Ubuntu上添加以下PPA:
$sudo add-apt-repository ppa:rvm/smplayer
样本输出应该像这样-
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
现在使用以下命令更新软件包-
$sudo apt-get update
样本输出应该像这样-
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] .................................................................................................
要使用皮肤安装SMplayer,请使用以下命令-
$ sudo apt-get install smplayer smplayer-themes smplayer-skins
样本输出应该像这样-
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 .................................................................................
要打开SMplayer,请使用以下命令-
$ smplayer
样本输出应该像这样-
img class =“ size-full wp-image-21712 aligncenter” src =“ / articles / images / smplayer.png” alt =“ Smp Player” width =“ 600” height =“ 532” Size =“(最大宽度: 680px)100vw,680px“ />
要获取有关SMplayer的更多信息,请使用以下命令-
$ smplayer --help
样本输出应该像这样-
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.
在阅读完本文之后,您将能够了解如何在Ubuntu中安装SMPlayer。在我们的下一篇文章中,我们将提出更多基于Linux的技巧。继续阅读!
资料来源:SMPlayer门户