A GNOME media player built using GJS with GTK4 toolkit. The media player uses GStreamer as a media backend and renders everything via OpenGL.
- Hardware acceleration
- Floating mode
- Adaptive UI
- Playlist from file
- Chapters on progress bar
- MPRIS support
Installation from Flatpak
Flatpak package includes all required dependencies and codecs.
Additionally it also has a few patches, thus some functionalities work better (or are only available) in
Flatpak version (until my changes are accepted upstream). List of patches used in this version can be found here.
Important: If you have been using the Flatpak package from my custom 3rd party repo, please remove it and replace your installation with version from Flathub. That repository will not be maintained any longer. Thank you for understanding.
The pkgs folder in this repository contains build scripts for various package formats. You can use them to build package yourself or download one of pre-built packages:
Debian, Fedora & openSUSE
Pre-built packages are available in my repo (see status).
Those are automatically built on each git commit, and are thus considered unstable.
You can get Clapper from the AUR:
Installation from source code
meson builddir --prefix=/usr/local sudo meson install -C builddir
Q: Does using
GJS negatively impact video performance?
A: Absolutely not.
GJS is only used to put together the GUI during startup.
It has nothing to do with video rendering. All
GStreamer libraries are in C.
Even the custom video widget that I prepared for this player (based on original
GTK3 implementation) is compiled C code.
All of these libs are acting “on their own” and no function calls from
GJS related to video decoding and rendering are performed during playback.
Q: What settings should I set to maximize performance?
A: As of now, player works best on
Wayland users can try enabling highly experimental
vah264dec plugin for improved performance (this plugin does not work on
Xorg right now) for standard (8-bit)
It can be enabled from inside the player preferences dialog inside
Advanced -> GStreamer tab using the customizable
Plugin Ranking feature.
Since the whole app is rendered using your GPU, users of VERY weak GPUs might want to disable the “render window shadows” option to have more GPU power available for non-fullscreen video rendering.
Feel free to ask me any questions. Come and talk on Matrix: #clapper-player:matrix.org
Many thanks to sp1ritCS for creating and maintaining package build files. Big thanks to bridadan and Uniformbuffer3 for helping with testing V4L2 and NVDEC hardware acceleration methods.
Thanks a lot to all the people who are supporting the development with their anonymous donations through Liberapay. I :heart: U.