video output to Rust GUI library example
Are there any examples of integrating GStreamer video output into a Rust GUI library such as Slint or egui? Maybe it could be done with one of the GStreamer OpenGL elements? The tutorial and examples in this repository use GTK3.
I found this GTK4 example though I'm unclear how I'd use it. Unless I'm missing something, it seems Fedora hasn't packaged gst-plugins-rs, and I suspect it is missing in other distros too. Could gtk4paintablesink
be used in a Rust application by simply adding gst-plugin-gtk4
to Cargo.toml to statically link the GStreamer plugin, or would there be more setup needed for GStreamer to detect the plugin?