Souphttpsrc doesn't get installed via brew on macs

hello,

i’m using a brand new m2 macbook pro. opted for the easy install and just did via brew: brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ffmpeg.

however, souphttpsrc doesn’t seem to exist.

WARNING: erroneous pipeline: no element “souphttpsrc”

I believe it should’ve been installed via the above (i think it’s gst-plugins-good). is there any easy way to install this? i realize i could build from source, but that kinda defeats the purpose of using homebrew for me.

thank you!

That’s probably something you need to ask the homebrew maintainers, this is not something provided or maintained by the GStreamer project, although other people here might have an idea what the problem is of course :slightly_smiling_face:

thanks for the reply tim. i feel like if i ask homebrew, they’d say “you should ask the gstreamer maintainers” :woozy_face: . i know yall provide official homebrew binaries so i figured i’d start here - apologies if that’s the wrong spot.

i’m not too familiar with where the gstreamer homebrew code is detailed, but i feel like it’s here: https://github.com/Homebrew/homebrew-core/blob/caadf1abf5122a49a707d886bee01c4c1b5029a8/Formula/g/gstreamer.rb

after digging, i wonder if this is related to gpl libs not being enabled?

although i’ve since attempted to just build from source and i’m actually seeing that fail as well:

    libsoup                    : NO C shared or static library 'unistring' not found
    libsoup3                   : NO Neither a subproject directory nor a libsoup3.wrap file was found.

so perhaps it’s not a homebrew specific thing but something about the new mac architecture. i can validate that i have libunistring installed via brew. so now i’m going down the rabbithole of figuring out why that isn’t properly linked. would be open to any guidance from anyone here.

quick update: I can manually set export LIBRARY_PATH=/opt/homebrew/Cellar/libunistring/1.1/lib and i successfully get:

    libsoup                    : YES 3 warnings (from gst-plugins-good)
    libsoup3                   : NO Neither a subproject directory nor a libsoup3.wrap file was found.

but then it fails finding the header file

../subprojects/libpsl-0.21.2/src/psl.c:95:11: fatal error: 'unicase.h' file not found
#       include <unicase.h>
                ^~~~~~~~~~~

get closer. would appreciate any wisdom from anyone here!

export C_INCLUDE_PATH=/opt/homebrew/Cellar/libunistring/1.1/include

may have fixed that last error for me