认识 Clapper：一款外观时尚的 Linux 视频播放器，极简主义者适用
视频播放器
喜欢极简主义吗？你会喜欢 Clapper 的。


Clapper 是一个全新 [Linux 视频播放器](https://itsfoss.com/video-players-linux/)。实际上，它更多的是基于 GNOME 而不是 Linux。


它基于 GNOME 的 JavaScript 库和 GTK4 工具包构建，自然地融合在 GNOME 的桌面环境中。它使用 [GStreamer](https://gstreamer.freedesktop.org/) 作为媒体后端，使用 [OpenGL](https://www.opengl.org/) 进行渲染。


我喜欢极简主义的应用。虽然 VLC 是媒体播放器中的瑞士军刀，但我更喜欢 [MPV 播放器](https://itsfoss.com/mpv-video-player/)，因为它的界面时尚、简约。现在我想要坚持使用 Clapper 一段时间了。


### Clapper 视频播放器


![A screenshot of Clapper video player](/data/attachment/album/202107/31/220701m7l4irz27yby1dbb.png)


[Clapper 默认开启硬件加速](https://github.com/Rafostar/clapper/wiki/Hardware-acceleration)。它支持英特尔和 AMD 的 GPU，在 Xorg 和 Wayland 上都能工作。


[Clapper](https://github.com/Rafostar/clapper) 不使用传统的上部窗口栏。为你提供自动隐藏的偏好菜单、模式切换器和窗口控制按钮供等功能。这给了它一个时尚、简约的外观。


它有三种模式：


* 窗口模式：默认模式显示进度条和窗口控制。
* 浮动模式：隐藏进度条，播放器浮于其他应用程序的顶部，就像“[总是在顶部](https://itsfoss.com/always-on-top/)”或“画中画”模式。
* 全屏模式：播放器进入全屏，进度条变大，但它们都会自动隐藏起来


![Interface of Clapper video player with preference control and window modes](/data/attachment/album/202107/31/220703uxq4334rqkfh7cql.jpg)


Clapper 也有一个自适应的用户界面，可基于 Linux 的智能手机和平板电脑上使用。因此，如果你有自己的 Pine Phone 或 Librem5，你可以在它上面使用 Clapper。


它支持字幕，并可选择改变字体。然而，在我的测试中，字幕并不可用。也没有可以明确地在播放的视频中添加字幕的选项。这一点必须改进。


和 VLC 一样，如果你再次打开同一个视频文件，Clapper 也可以让你选择从最后一个时间点恢复播放。这是我喜欢的 VLC 中的一个 [方便的功能](https://itsfoss.com/simple-vlc-tips/)。


如果你有 URL，Clapper 也支持从互联网上播放视频。


这里的截图中，我正在 Clapper 中播放一个 YouTube 视频。这是一首由一位美丽的歌手和演员唱的优美歌曲。你能猜到这是哪首歌或哪部电影吗？


![Clapper playing a video from YouTube](/data/attachment/album/202107/31/220705hy8u8hj4ji4s3cdn.jpg)


### 在 Linux 上安装 Clapper


对 Arch 和 Manjaro 用户而言，Clapper 可在 AUR 中找到。这很稀疏平常，因为 AUR 包罗万象。


对于其他发行版，Clapper 官方提供了 [Flatpak 包](https://flathub.org/apps/details/com.github.rafostar.Clapper)。所以，请 [为你的发行版启用 Flatpak 支持](https://itsfoss.com/flatpak-guide/)，然后使用下面的命令来安装它：



```
flatpak install flathub com.github.rafostar.Clapper

```

安装后，只需在应用菜单中搜索它，或右击视频文件，选择用 Clapper 打开它。


Clapper 仍不是一个完美的视频播放器。然而，它有可能成为一个流行的 Linux 应用。


如果你使用它，请分享你的经验。如果你发现问题，请[通知开发者](https://github.com/Rafostar/clapper/issues)。




---


via: <https://itsfoss.com/clapper-video-player/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[turbokernel](https://github.com/turbokernel)


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


OK
Love minimalism? You’ll love Clapper.

Clapper is a new [video player for Linux](https://itsfoss.com/video-players-linux/). Actually, it’s more for GNOME than Linux.

Built on top of GNOME’s JavaScript library and GTK4 toolkit, it blends naturally in the GNOME desktop environment. It uses [GStreamer](https://gstreamer.freedesktop.org/) for media backend and [OpenGL](https://www.opengl.org/) for rendering.

I like application with minimalist approach. While VLC is the Swiss Knife of media players, I prefer [MPV player](https://itsfoss.com/mpv-video-player/) for the sleek, minimal interface. And now I think I am going to stick with Clapper for sometime.

## Clapper video player

![A screenshot of Clapper video player](https://itsfoss.com/content/images/wordpress/2021/07/clapper-screenshot-800x498.png)

[Clapper uses hardware acceleration](https://github.com/Rafostar/clapper/wiki/Hardware-acceleration) by default. It supports Intel and AMD GPUs and works on both Xorg and Wayland.

[Clapper](https://github.com/Rafostar/clapper) doesn’t use the traditional upper window bar. There are auto-hiding preference menu, mode changer and window control buttons for you to access a few features. This gives it a sleek, minimalist look.

It has three modes:

- Windowed mode: the default mode shows the progress bar and window control
- Floating mode: the progress bar is hidden and the player is floating on top of other applications like the ‘
[always on top](https://itsfoss.com/always-on-top/)‘ feature or ‘picture in picture’ mode - Fullscreen mode: Player goes full screen, progress bar is bigger but they all auto-hide

![Clapper video interface](https://itsfoss.com/content/images/wordpress/2021/07/clapper-video-player-interface-800x480.jpg)

Clapper also has an adaptive UI which can also be used on Linux-based smartphones and tablets. So if you have got yourself a Pine Phone or Librem5, you can use Clapper on it.

There is support for subtitles with option to change the font. However, the subtitles didn’t work in my testing. There is also no option to explicitly add subtitles to a playing video. This is something that must be improved.

Like VLC, Clapper also gives you the option to resume playback from the last point if you open the same video file again. One of the [handy features I love in VLC](https://itsfoss.com/simple-vlc-tips/).

Clapper supports playing videos from the internet as well if you provide the URL.

Here, in the screenshot, I am playing a YouTube video in Clapper. It is a beautiful song sung by a beautiful singer and actress. Can you guess which song or movie it is?

![Clapper playing youtube video](https://itsfoss.com/content/images/wordpress/2021/07/clapper-youtube-video-800x501.jpg)

## Install Clapper on Linux

Clapper is available in AUR for Arch and Manjaro users. That should not be a surprise for anyone. AUR has everything under the sun.

For other distributions, Clapper officially provides [Flatpak package](https://flathub.org/apps/details/com.github.rafostar.Clapper). So, please [enable Flatpak support for your distribution](https://itsfoss.com/flatpak-guide/) and then use the following command to install it:

`flatpak install flathub com.github.rafostar.Clapper`


Once installed, simply search for it in the application menu or right click on a video file and choose to open it with Clapper.

Clapper is far from being the perfect video player. However, it has potential to become a popular Linux application.

If you use it, please do share your experience. If you find bugs, please [notify the developer](https://github.com/Rafostar/clapper/issues).