fzwoch / obs-gstreamer

GStreamer OBS Studio plugin
GNU General Public License v2.0
358 stars 34 forks source link

macOS build #73

Closed kaymyst closed 2 years ago

kaymyst commented 2 years ago

I really like this tool and use it quite a bit on different platform. I had managed to get it to work with a brew install of gstreamer on macOS (intel) By creating a link of the libs: sudo ln -s /usr/local/lib /opt/local/lib but since the update to gstreamer 1.20 I get the following error in OBS: Cannot start GStreamer: no element "videoconvert"

I tried to build the tool but to no avail. It would be good to provide a macOS build that is woking with homebrew

fzwoch commented 2 years ago

When the plugin is loading and visible in the source list it works correctly. If plugins cannot be found they are not installed or not found by the GStreamer runtime. However this is a local setup issue and nothing this plugin can fix.

kaymyst commented 2 years ago

thanks for your reply, I should have mentioned that I can run gstreamer no problem from command line: gst-launch-1.0 rtspsrc location=rtsp://192.168.0.81/live/av0 latency=0 buffer-mode=auto ! rtpjitterbuffer latency=0 ! rtph264depay ! h264parse ! vtdec_hw ! autovideosink this seems to have occurred since version 1.20 , version 1.18 was fine

fzwoch commented 2 years ago

In such cases it is really just recommended to build the plugin from source on that system directly. It is not sustainable for me to deliver binaries for all versions and platforms.

fzwoch commented 2 years ago

I just rmember that the prebuilt here is linked against macports version. So yeah, if you want one with homebrew you should always build yourself. There may be too many differences between the two. (like default plugin locations I assume)