java-gtk icon indicating copy to clipboard operation
java-gtk copied to clipboard

Missing GStreamer bindings (gst package)

Open Arekkasu opened this issue 11 months ago • 1 comments

GStreamer related classes (e.g. ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Pipeline) are not present in the project.

Image

Image This happens if I clone the repository and run the example project or if I try to import it into a separate project. Also i installed gst maybe if it will work, but no.

this is the gradle Image

Arekkasu avatar Jan 29 '25 19:01 Arekkasu

To just run the samples you must run ./gradlew generate once after cloning. No need to add dependencies for this.

If you want to add java-gtk as dependcy to your project: gstrreamer support is not in the latest release (0.5.0). So If you want to use gstreamer you need to add the java-gtk dependency like this:

implementation("com.github.bailuk:java-gtk:commit-id")

Where commit-id is one of the latest commit hashes on the stage branch. See https://jitpack.io/#bailuk/java-gtk for more.

bailuk avatar Feb 09 '25 16:02 bailuk