Plugin Loading on Windows 10

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Plugin Loading on Windows 10

Peter Metz
Hi all,


Versions of GStreamer I tried: v1.0.10, v1.9.90

I'm trying to use GStreamer through these Java bindings https://github.com/gstreamer-java/gst1-java-core which works fine on Mac OS X (where GStream & Base Plugins is installed via HomeBrew) but on Windows 10 I cannot seem to overcome an issue where the appsync plugin is not being loaded (GStreamer itself loads fine).

To fix it, I've located all dll files in my GStreamer installation folder (hundreds) and copied them to the designated library directory for the JVM to pick up. I know this works since GStreamer itself is being loaded properly.
I also inferred from the docs that the 'sinkapp' plugin should be in the libgstapp.dll (which is among the ones I copied). Could anybody help figuring out what could be the root cause of the problem?

When I run dependency walker on the mentioned dll file it shows warnings for dependencies which I found out to be Windows 8 only dlls. Is this likely to cause an issue? Wouldn't it fail much harder if there were really problems with the OS provided dependencies?

And lastly: I'm working on getting the cerbero build up and running, should that make any difference (if I use dlls I compiled myself on the target OS directly)?


The stack trace and error message (a constructor call to the AppSync class):

Exception in thread "Animation Thread" java.lang.IllegalArgumentException: No such Gstreamer factory: appsink
 at org.freedesktop.gstreamer.ElementFactory.makeRawElement(ElementFactory.java:219)
 at org.freedesktop.gstreamer.Element.makeRawElement(Element.java:88)
 at org.freedesktop.gstreamer.elements.AppSink.<init>(AppSink.java:47)


Thanks very much in advance for any help or advice!


Kind regards,
Peter

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Loading on Windows 10

Sebastian Dröge-3
On Thu, 2016-10-27 at 10:24 +0100, Peter Metz wrote:

> Hi all,
>
>
> Versions of GStreamer I tried: v1.0.10, v1.9.90
>
> I'm trying to use GStreamer through these Java bindings https://githu
> b.com/gstreamer-java/gst1-java-core which works fine on Mac OS X
> (where GStream & Base Plugins is installed via HomeBrew) but on
> Windows 10 I cannot seem to overcome an issue where the appsync
> plugin is not being loaded (GStreamer itself loads fine).
>
> To fix it, I've located all dll files in my GStreamer installation
> folder (hundreds) and copied them to the designated library directory
> for the JVM to pick up. I know this works since GStreamer itself is
> being loaded properly.
> I also inferred from the docs that the 'sinkapp' plugin should be in
> the libgstapp.dll (which is among the ones I copied). Could anybody
> help figuring out what could be the root cause of the problem?
>
> When I run dependency walker on the mentioned dll file it shows
> warnings for dependencies which I found out to be Windows 8 only
> dlls. Is this likely to cause an issue? Wouldn't it fail much harder
> if there were really problems with the OS provided dependencies?
Check in the debug log. In the beginning it goes over all plugins in
the plugin directory/ies and tries to load them. Does it look into
libgstapp.dll? Also do you have copied the libgstapp-1.0-0.dll too?

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment