Want to know how to setup gstreamer devel environment on Mac OS X

H Jumogehn jumogehn at gmail.com
Sun Feb 5 11:41:54 UTC 2023


Hello,
I tried to install gstreamer development environment on Mac OS X. But it
doesn't seemed to work.

I downloaded two pkg files and and installed them
- gstreamer-1.0-devel-1.22.0-universal.pkg, gstreamer-1.0-1.22.0-universal.pkg.
I then added one line below at the bottom of ~/.zshrc :

   export GST_DEBUG="*:2"

And this is about it.

And to test I cloned gst-docs :
git clone
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/main/subprojects/gst-docs

all:

$ clang -v -c basic-tutorial-1.c -o basic-tutorial-1.o
-I/Library/Frameworks/GStreamer.framework/Headers

$ clang -v -o basic-tutorial-1 basic-tutorial-1.o
-L/Library/Frameworks/GStreamer.framework/Libraries -F/Library/Frameworks
-framework GStreamer


clean:

rm -rf basic-tutorial-1 basic-tutorial-1.o


And this is a Makefile I made to test.


This compiles well. But when I tried lauch basic-tutorial-1, it only spits
sone error message and didn't show up anything:


jumo at jumogehnui-MacBookPro tutorials % ./basic-tutorial-1

0:00:00.193014000  3007    0x123049de0 *WARN   *          souphttpsrc
gstsouphttpsrc.c:1632:gst_soup_http_src_parse_status:<source> error: Secure
connection setup failed.

0:00:00.193048000  3007    0x123049de0 *WARN   *          souphttpsrc
gstsouphttpsrc.c:1632:gst_soup_http_src_parse_status:<source> error:
TLS/SSL support not available; install glib-networking (6), URL:
https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm,
Redirect to: (NULL)


** (basic-tutorial-1:3007): *ERROR* **: 20:37:23.282: An error occurred!
Re-run with the GST_DEBUG=*:WARN environment variable set for more details.

0:00:00.193188000  3007    0x1230750c0 *WARN   *              basesrc
gstbasesrc.c:3132:gst_base_src_loop:<source> error: Internal data stream
error.

0:00:00.193249000  3007    0x1230750c0 *WARN   *              basesrc
gstbasesrc.c:3132:gst_base_src_loop:<source> error: streaming stopped,
reason error (-5)

zsh: trace trap  ./basic-tutorial-1


What did I miss what?

And I cannot find "gst-launch-1.0". How can I find it? Didn't I install
gstreamer yet?


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230205/8b44e233/attachment.htm>


More information about the gstreamer-devel mailing list