From 71dee1f410fd5946c1eac136d0805bf077470bdb Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Sat, 29 Aug 2020 23:22:59 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 13cb27cd..243f3aad 100644 --- a/README.md +++ b/README.md @@ -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.