Update README.md

This commit is contained in:
Rafostar
2020-08-29 23:22:59 +02:00
committed by GitHub
parent 19dfbb7be1
commit 71dee1f410

View File

@@ -1,2 +1,14 @@
# GtkPlayer
A pre-made GJS Media Player widget powered by GStreamer with OpenGL rendering.
Required GStreamer elements:
* [gtkglsink](https://gstreamer.freedesktop.org/documentation/gtk/gtkglsink.html)
* [glsinkbin](https://gstreamer.freedesktop.org/documentation/opengl/glsinkbin.html)
Other required plugins (codecs) depend on video format.
To use VAAPI make sure you have `gstreamer1-vaapi` installed. Verify with:
```shell
gst-inspect-1.0 vaapi
```
On some older GPUs you might need to export `GST_VAAPI_ALL_DRIVERS=1` environment variable.