mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Update README.md
This commit is contained in:
19
README.md
19
README.md
@@ -2,11 +2,22 @@
|
||||
A GNOME media player built using [GJS](https://gitlab.gnome.org/GNOME/gjs) and powered by [GStreamer](https://gstreamer.freedesktop.org) with [OpenGL](https://www.opengl.org) rendering. Can also be used as a pre-made widget for [GTK](https://www.gtk.org) apps.
|
||||
|
||||
### WORK IN PROGRESS
|
||||
This is still early WIP. Many features are not implemented yet and quite a few are still unstable. Right now Clapper can only play single file. So if you want to test it, start it from terminal like this:
|
||||
This is still early WIP. Many features are not implemented yet and quite a few are still unstable. Right now Clapper can only be launched from terminal, so if you want to test it, start it like this:
|
||||
```shell
|
||||
com.github.rafostar.Clapper "video.mp4"
|
||||
```
|
||||
|
||||
### Playlists
|
||||
Clapper can also open playlist files. Playlist file is a standard text file with a `.claps` file extension. It should contain a single filepath per line. The filepath can be either absolute or relative. Playlist can even contain HTTP links instead of filepaths. Here is an example how to easily create a playlist file inside your music directory:
|
||||
```shell
|
||||
ls *.mp3 > music.claps
|
||||
```
|
||||
Once you have a playlist, open it with Clapper like any other file:
|
||||
```shell
|
||||
com.github.rafostar.Clapper "music.claps"
|
||||
```
|
||||
And since the playlist is a normal text file with filepaths only, you can always edit it later in any text editor. Easy, right?
|
||||
|
||||
## Requirements
|
||||
Clapper uses `GStreamer` bindings from `GI` repository, so if your repo ships them as separate package, they must be installed first.
|
||||
Additionally Clapper requires these `GStreamer` elements:
|
||||
@@ -22,6 +33,9 @@ meson builddir --prefix=/usr/local
|
||||
sudo meson install -C builddir
|
||||
```
|
||||
|
||||
## Packages
|
||||
The [pkgs folder](https://github.com/Rafostar/clapper/tree/master/pkgs) in this repository contains build scripts for various package formats.
|
||||
|
||||
## Hardware acceleration
|
||||
Using hardware acceleration is highly recommended. As stated in `GStreamer` wiki:
|
||||
```
|
||||
@@ -37,3 +51,6 @@ gst-inspect-1.0 vaapi
|
||||
On some older GPUs you might need to export `GST_VAAPI_ALL_DRIVERS=1` environment variable.
|
||||
|
||||
Other acceleration methods (supported by `GStreamer`) should also work, but I have not tested them due to lack of hardware.
|
||||
|
||||
## Special Thanks
|
||||
Many thanks to [sp1ritCS](https://github.com/sp1ritCS) for creating and maintaining package build files.
|
||||
|
Reference in New Issue
Block a user