Running/Deploying GStreamer uninstalled on a mac

Henning Riis henning.riis at craftwork.dk
Thu Jun 16 07:42:43 UTC 2016


Hi,

I'm trying to set up a gstreamer environment on mac for building gstreamer applications and being able to deploy them without installing gstreamer.

I found some old documentation on this here:

http://docs.gstreamer.com/display/GstSDK/Mac+OS+X+deployment

But this is really old and 0.10 based. Can anyone point to more up to date docs on this?

Specifically, what I've done so far is:

Downloaded the 1.8.1 prebuilt mac binaries, both devel and runtime.
Unpacked it all into development directories where I need it. I did NOT install it.
Relocated all the dylibs to point to new directories where I want them.

Now I face this problem. When I run my testapp that is based on playbin it crashes with a seg fault. Last lines of debug is this:

(process:77249): GLib-GObject-CRITICAL **: g_param_spec_boxed: assertion 'G_TYPE_IS_BOXED (boxed_type)' failed

(process:77249): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(process:77249): GLib-GObject-WARNING **: gsignal.c:1681: return value of type '<invalid>' for signal "GstPlayBin::get_video_tags" is not a value type

(process:77249): GLib-GObject-WARNING **: gsignal.c:1681: return value of type '<invalid>' for signal "GstPlayBin::get_audio_tags" is not a value type

(process:77249): GLib-GObject-WARNING **: gsignal.c:1681: return value of type '<invalid>' for signal "GstPlayBin::get_text_tags" is not a value type

(process:77249): GLib-GObject-WARNING **: gsignal.c:1673: parameter 1 of type '<invalid>' for signal "GstPlayBin::convert_sample" is not a value type

(process:77249): GStreamer-WARNING **: Element factory metadata for 'playbin' has no valid long-name field

(process:77249): GLib-GObject-CRITICAL **: g_param_spec_boxed: assertion 'G_TYPE_IS_BOXED (boxed_type)' failed

(process:77249): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(process:77249): GLib-GObject-WARNING **: gsignal.c:1673: parameter 1 of type '<invalid>' for signal "GstPlaySink::convert_sample" is not a value type
Calling gst_element_factory_make(playbin)

ERROR: Caught a segmentation fault while loading plugin file:
/Users/craftwork/Downloads/tmp/1.8.1.cw1/x86_64/lib/gstreamer-1.0/libgstplayback.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.

The same app compiles and runs just fine on my windows setup. I expect the above is something I've done wrong with my local setup. Does anyone have an idea on how to do this? What could cause the above problems?

Best Regards,
Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160616/92b7a889/attachment-0001.html>


More information about the gstreamer-devel mailing list