gstreamer not finding plugins in Windows

Eugen Dedu Eugen.Dedu at pu-pm.univ-fcomte.fr
Fri Jan 31 08:28:01 PST 2014


On 31/01/14 09:46, Eugen Dedu wrote:
> On 30/01/14 13:05, Josh Doe wrote:
>> On Wed, Jan 29, 2014 at 6:23 PM, Eugen Dedu
>> <Eugen.Dedu at pu-pm.univ-fcomte.fr> wrote:
>>> Hi all,
>>>
>>> I need gstreamer and its plugins for Windows.  I cross-built with
>>> mingw-w64
>>> gstreamer and gst-plugins-base.  I copied libgstapp-1.0-0.dll,
>>> libgstbase-1.0-0.dll and libgstreamer-1.0-0.dll and other libraries
>>> and my
>>> .exe to the Windows machine, but I have errors with gstreamer not
>>> finding
>>> some plugin.
>>
>> I've never cross compiled, but my guess is a library dependency issue.
>> Are there really no errors from gst-inspect? Try increasing debugging
>> with GST_DEBUG=*:3 or so. Also try running Dependency Walker.

I obtained more information about the problem.  I execute
gst-inspect... -gst-debug=*:5
and I obtain the following error:
attempt to load plugin "...libgstapp..."
Could not find plugin entry point in ...libgstapp...

so the plugin is found, but there is an error when loading it.

I looked in the code and found that the error is because a symbol is not 
found:
   ret = g_module_symbol (module, "gst_plugin_desc", &ptr);
   if (!ret) {
     GST_DEBUG ("Could not find plugin entry point in \"%s\"", filename);

However, grep shows:
snoopy:~/softs/ekiga$ grep -r gst_plugin_desc gst-plugins-base-1.2.2/
Binary file gst-plugins-base-1.2.2/gst/app/.libs/libgstapp.dll matches
Binary file gst-plugins-base-1.2.2/gst/app/.libs/libgstapp_la-gstapp.o 
matches
gst-plugins-base-1.2.2/gst/app/.libs/libgstapp.dll.def:gst_plugin_desc DATA
gst-plugins-base-1.2.2/gst/app/.libs/libgstapp.exp:gst_plugin_desc DATA
[...]

so I am lost on what could be wrong here.

Can someone help here?

-- 
Eugen


More information about the gstreamer-devel mailing list