SMPlayer：增强版的媒体播放器
媒体播放器
![SMPlayer default interface](/data/attachment/album/201812/19/174457nffi8ffybh111wuu.jpg)


当你要播放视频时，你会在[全新安装的 Ubuntu](https://itsfoss.com/things-to-do-after-installing-ubuntu-18-04/)，或其他许多发行版中，会注意到一个消息：


![](/data/attachment/album/201812/19/174458ek71ipkzwgwzz1fw.jpg)


*默认媒体播放器没有适合的编解码器*


这意味着系统上没有安装播放媒体的[所需编解码器](https://packages.ubuntu.com/trusty/ubuntu-restricted-extras)。现在，由于某些版权问题，某些基于 Linux 的操作系统无法在安装介质中预先打包编解码器。但是它们能让你只需点击即可下载和安装编解码器，或者你可以安装拥有所有媒体编解码器的媒体播放器。让我们了解一下 [SMPlayer](https://www.smplayer.info/)。


### 认识 SMPlayer：适用于 Linux 的更好的媒体播放器


SMPlayer 是一款自由开源媒体播放器，它基于强大的 [MPlayer](http://www.mplayerhq.hu/design7/news.html) 媒体引擎。SMPlayer 能够播放 avi、mp4、mkv、mpeg、mov、divx、h.264 以及其他任何主要媒体格式。锦上添花的是，它也可以播放 [YouTube](https://www.youtube.com/) 视频，并且无广告。


SMPlayer 是一个完整的媒体解决方案。它是跨平台的，因此可在所有操作系统上使用。如果你是双启动系统，则可以将其安装在 Windows 和 Linux 操作系统上，以便在两个系统上获得统一的体验。它还支持带触摸的可变形笔记本。


你也可以在 SMPlayer 上播放 YouTube。我知道每次复制粘贴视频 URL 并在外部播放器上播放是不切实际的。但是当你观看相对较长的视频时，SMPlayer 特别有用。SMPlayer 以相当好的质量播放 YouTube 视频，我觉得比在浏览器中播放得更好。通过在 SMPlayer 上播放较长的视频，你可以远离视频中间弹出的插播广告。


如果你在观看没有字幕的电影，你可以直接通过 SMPlayer 下载字幕。它集成了 [opensubtitles.org](https://www.opensubtitles.org/en/search)。所以，打开浏览器，搜索字幕，下载相应的字幕，解压缩，将它们放在视频文件夹中并将字幕连接到电影，这些都不需要！SMPlayer 会为你服务。


![Automatic subtitle download in SMPlayer](/data/attachment/album/201812/19/174459vqzdcioq7dp8kn0n.jpg)


SMPlayer 支持 30 多种语言，并可高度自定义。它还有应用主题和大量的图标集。


如果你觉得 SMPlayer 的默认界面看起来不太好，只需点击几下，它就可以看起来像这样：


![SMPlayer skin change](/data/attachment/album/201812/19/174501xrs637u9ur223m2m.jpg)


SMPlayer 为高级用户提供了许多工具和功能。它有均衡器、视频速度控制、宽高比和缩放控制、视频过滤器、屏幕截图等等。


总而言之，我真的很喜欢 SMPlayer。它在一个小巧轻量级的安装包中提供了很多功能。我认为它是 Linux PC 上必备的视频播放器。除了轻松播放所有媒体格式外，它还提供了大量的控制。


### 在 Linux 上安装 SMPlayer


SMPlayer 应该可在所有主要 Linux 发行版的软件中心获取。你可以搜索它并从那里安装它。


在 Ubuntu/ Linux Mint/ Elementary OS 上，你还可以通过在终端中运行以下命令来安装 SMPlayer



```
sudo apt install smplayer
```

或者，你可以在[这里](https://software.opensuse.org/download.html?project=home%3Asmplayerdev&package=smplayer)下载 Fedora、Arch Linux、OpenSUSE 和 Debian 的软件包。


### 总结


有很多像 VLC 媒体播放器那样成熟的播放器。SMPlayer 是拥有完整功能和插件优势的最佳产品之一。我认为它是[必备 Linux 应用](https://itsfoss.com/essential-linux-applications/)之一。


请尝试一下并在下面的评论栏与我们分享你的想法。




---


via: <https://itsfoss.com/smplayer/>


作者：[Aquil Roshan;Abhishek Prakash](https://itsfoss.com/author/aquil/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
One of the [things you’ll notice after a fresh install of Ubuntu](https://itsfoss.com/things-to-do-after-installing-ubuntu-18-04/), or pretty much any other Linux distribution, is this message when you try to play certain video files.

![](https://itsfoss.com/content/images/wordpress/2018/11/SMPlayer-warning.jpg?fit=800%2C450&ssl=1)

It means that the [codecs needed ](https://packages.ubuntu.com/trusty/ubuntu-restricted-extras)to play the media are not installed on the system. Now, due to some copyright issues, some Linux based operating systems cannot pre-pack the codecs in the installation media. But they do allow you to download and [install the codecs with just a click](https://itsfoss.com/install-media-codecs-ubuntu/), or you could just install a media player which has all the multimedia codecs, to begin with. Checkout [SMPlayer](https://www.smplayer.info/).

## Meet SMPlayer: A Better Media Player for Linux

SMPlayer is a free and open-source media player built on the powerful [MPlayer](http://www.mplayerhq.hu/design7/news.html) media engine. SMPlayer is capable of playing [YouTube](https://www.youtube.com/) videos too, ad-free.

![SMPlayer default interface](https://itsfoss.com/content/images/wordpress/2018/11/SMPlayer-coco.jpg?fit=800%2C450&ssl=1)

SMPlayer is a complete media solution. It is cross-platform, so available on all the operating systems. If you have a dual boot, you can install it on your Windows and Linux OS to get a uniform experience on both the systems. It also supports convertible laptops with touch support.

You can play YouTube on SMPlayer too. I know it’s impractical to copy-paste the video URL and play on an external player every time. But SMPlayer is particularly useful when you are watching comparatively lengthy videos. SMPlayer plays YouTube videos in a very good quality and I felt the videos play out much better than the in-browser videos. And by playing the lengthier videos on SMPlayer, you can stay clear of the mid-roll ads that pop up on the lengthier videos.

If you’re watching a movie which doesn’t have subtitles, You can directly download the subtitles through SMPlayer. It comes with [opensubtitles.org](https://www.opensubtitles.org/en/search) integration. So none of that, open the browser, search for subtitles, download the appropriate ones, unzip, place them in the video folder and connect the subtitles to the movie. No Sir! SMPlayer at your service.

![Automatic subtitle download in SMPlayer](https://itsfoss.com/content/images/wordpress/2018/11/SMPlayer-icon-packs.jpg?fit=800%2C450&ssl=1)

SMPlayer is available in more than 30 languages and it is highly customizable. It has both applications theming and a ton of icon sets in it.

If you feel that the default interface of SMPlayer doesn’t look good, in a few clicks you can make it look like this:

![SMPlayer skin change](https://itsfoss.com/content/images/wordpress/2018/11/SMPlayer-theme.jpg?fit=800%2C450&ssl=1)

SMPlayer comes with a lot of tools and features for the power users. It has an equalizer, video speed controls, aspect ratio and zoom controls, video filters, screenshot ripping and lot more.

All in all, I really liked SMPlayer. It has a lot to offer in a small and lightweight package. I think it is a must have video player on your Linux PC. Along with playing all the media formats easily it also provides a ton of power controls.

## Installing SMPlayer on Linux

SMPlayer should be available in the software center of all major Linux distributions. You can search for it and install it from there itself.

On Ubuntu/ Linux Mint/ Elementary OS, you can also install SMPlayer by running the following command in the terminal

sudo apt install smplayer

Alternatively, you can download the package for Fedora, Arch Linux, OpenSUSE and Debian [here.](https://software.opensuse.org/download.html?project=home%3Asmplayerdev&package=smplayer)

## Wrapping Up

There are a good number of full-fledged media players out there like the VLC media player. SMPlayer is one of the [best video players for Linux](https://itsfoss.com/video-players-linux/) with a full functionality and great add-on benefits. I’ll consider it one of the [must-have applications for Linux](https://itsfoss.com/essential-linux-applications/).

Do give it a try and share your thoughts with us in the comments section below.