Deploying Qt application on OSX issue finding GStreamer plugins

rob_ewbank robewbank at gmail.com
Sun Dec 15 02:36:49 PST 2013


Ok thanks for your help. I have set all the environmental variables in a sh
script which then runs the application. It works fine on a clean virtual
machine with OSX 10.8.5. However, when the exact same .app file is ran on
another Mac (same os) it gives the following errors. (there was of debug so
I'm only posting the relevant bits).

It can make a videotestsrc so some plugins can be found. 

Here is the debug:

0:00:00.312881000  2629 0x7fbf8290b200 LOG             GST_REGISTRY
gstregistry.c:1244:gboolean
gst_registry_scan_path_level(GstRegistryScanContext *, const gchar *,
int):<registry0> file
/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so
looks like a possible module
0:00:00.312895000  2629 0x7fbf8290b200 DEBUG           GST_REGISTRY
gstregistry.c:1305:gboolean
gst_registry_scan_path_level(GstRegistryScanContext *, const gchar *,
int):<registry0> file
/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so
not yet in registry
0:00:00.312904000  2629 0x7fbf8290b200 DEBUG           GST_REGISTRY
gstregistry.c:1122:gboolean
gst_registry_scan_plugin_file(GstRegistryScanContext *, const gchar *,
off_t, time_t): Using scan-helper to load plugin
/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so
0:00:00.313008000  2629 0x7fbf8290b200 LOG       GST_PLUGIN_LOADING
gstpluginloader.c:228:gboolean plugin_loader_load(GstPluginLoader *, const
gchar *, off_t, time_t):<registry0> Sending file
/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so
to child. tag 112


0:00:02.914339000  2630 0x7fa55041c400 DEBUG     GST_PLUGIN_LOADING
gstpluginloader.c:691:gboolean do_plugin_load(GstPluginLoader *, const gchar
*, guint): Plugin scanner loading file
/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so.
tag 112
0:00:03.118635000  2629 0x7fbf8290b200 LOG             GST_REGISTRY
gstregistrychunks.c:765:gboolean
_priv_gst_registry_chunks_load_plugin(GstRegistry *, gchar **, gchar *,
GstPlugin **): Reading/casting for GstRegistryChunkPluginElement at address
0x7fbf83005410
0:00:02.914356000  2630 0x7fa55041c400 DEBUG     GST_PLUGIN_LOADING
gstplugin.c:704:GstPlugin *gst_plugin_load_file(const gchar *, GError **):
attempt to load plugin
"/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so"

0:00:03.008670000  2630 0x7fa55041c400 WARN      GST_PLUGIN_LOADING
gstplugin.c:736:GstPlugin *gst_plugin_load_file(const gchar *, GError **):
module_open failed:
dlopen(/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so,
2): Library not loaded: /opt/local/lib/libgstbase-1.0.0.dylib
  Referenced from:
/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so
  Reason: image not found

0:00:03.505899000  2629 0x7fbf8290b200 DEBUG     GST_PLUGIN_LOADING
gstpluginloader.c:353:void
plugin_loader_create_blacklist_plugin(GstPluginLoader *, PendingPluginEntry
*): Adding blacklist plugin 'libgstosxvideosink.so'
0:00:03.505923000  2629 0x7fbf8290b200 DEBUG           GST_REGISTRY
gstregistry.c:463:gboolean gst_registry_add_plugin(GstRegistry *, GstPlugin
*):<registry0> adding plugin 0x7fbf830146e0 for filename
"/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so"
0:00:03.505951000  2629 0x7fbf8290b200 LOG             GST_REGISTRY
gstregistry.c:474:gboolean gst_registry_add_plugin(GstRegistry *, GstPlugin
*):<registry0> emitting plugin-added for filename
"/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so"


(gst-plugin-scanner:2630): GStreamer-WARNING **: Failed to load plugin
'/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so':
dlopen(/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so,
2): Library not loaded: /opt/local/lib/libgstbase-1.0.0.dylib
  Referenced from:
/Users/Sara/Downloads/YoutubeOverlay/YoutubeVideoOverlay.app/Contents/MacOS/libgstosxvideosink.so
  Reason: image not found

0:00:11.561805000  2629 0x7fbf8290b200 LOG      GST_ELEMENT_FACTORY
gstelementfactory.c:439:GstElement *gst_element_factory_make(const gchar *,
const gchar *): gstelementfactory: make "osxvideosink" "(NULL)"
0:00:11.561825000  2629 0x7fbf8290b200 LOG      GST_ELEMENT_FACTORY
gstelementfactory.c:144:GstElementFactory *gst_element_factory_find(const
gchar *): no such element factory "osxvideosink"
0:00:11.561966000  2629 0x7fbf8290b200 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:456:GstElement *gst_element_factory_make(const gchar *,
const gchar *): no such element factory "osxvideosink"!
Could not find osxvideosink is it installed



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Deploying-Qt-application-on-OSX-issue-finding-GStreamer-plugins-tp4664066p4664072.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list