[gst-devel] Static linking

Luke Hart lukeh at xara.com
Thu Jun 22 13:24:52 CEST 2006


All,

Sorry, if this subject has been discussed in the archives, but these 
don't currently seem to be on-line. I'm working on adding a video 
tutorial to an existing statically linked GPL licensed project (for ease 
of user install), see www.xaraxtreme.org. We're using a video file with 
video data as h264, auto a vorbis in a ogg format file. I can easily 
build the core libraries as static and link them, but they don't seem to 
be able to dynamically load plug-ins (and this probably isn't desirable 
anyway).
I can modify the plug-ins to export a function to register the plug-in 
and call this in my application, which seems to work for playbin, but 
other plug-ins don't seem to work correctly (oggdemux, xvimagesink, 
vorbis decoder). Is there an easier or more correct way of doing this? 
If there isn't an easier way, is there a way of telling which plug-ins 
are needed for a replay graph?

Thanks,
    Luke




More information about the gstreamer-devel mailing list