Clapper
A GNOME media player build using GJS with GTK4 toolkit. The media player is using GStreamer GstPlayer API as a media backend and renders everything via OpenGL. Can also be used as a pre-made widget for GTK apps.
WORK IN PROGRESS
This is still early WIP. Many features are not implemented yet and quite a few are still unstable.
Features:
Installation from Flatpak (recommended)
The 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).
flatpak install https://rafostar.github.io/flatpak/com.github.rafostar.Clapper.flatpakref
Packages
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 & Ubuntu
Pre-built packages are available in my repo (see status).
Arch Linux
You can get Clapper from the AUR: clapper-git
Installation from source code
The requirements and how to build from git source code are described in the wiki.
Q&A
Q: Does using GJS
negatively impact video performance?
A: Absolutely not. GJS
here is used to put together the GUI during startup.
It has nothing to do with video rendering. All used GTK4
and GStreamer
libraries are in C.
Even the custom video widget that I prepared for this player (based on original GTK3
implementation) is in C.
Special Thanks
Many thanks to sp1ritCS for creating and maintaining package build files.