I’m trying to get gtk4paintablesink to work on my macOS Sonoma system. I’m pulling my hair out as this should not be this hard or require some sort of “secret decoder ring” to do this. (someone in a discourse chat suggested this, probably kidding)
gstreamer works as it should and I’ve tested all the basic examples and play tutorials.
I have installed the current version of gstreamer for macOS (apple framework & devel 1.25.90) and have downloaded and installed the rust gtk4 plugin via cargo by building a boilerplate project and then doing a
cargo add gst-plugin-gtk4@=0.13.5
I’ve got my GST_PLUGIN_PATH set to the directory it’s in:
/Users/P/mygstplugin
running
gst-inspect-1.0 gtk4paintablesink
returns:
No such element or plugin ‘gtk4paintablesink’
running
gst-launch-1.0 videotestsrc ! autovideosink
runs as it should.
Can anyone please tell me what I’m doing wrong or is there a doc or recipe and how to successfully build this for macOS?
I realize I could install this via homebrew but can confirm that the rust gtk4 plugins do not install automatically via homebrew and so I would need to build the gtk4 plugin anyway.
Please if anyone can give me some tips I would appreciate it - I really need to try to get past this so I can move forward with my gtk4-based gstreamer project. thank you thank you