Plugin Loading on Windows 10
Peter Metz
peter.metz at unarin.com
Thu Oct 27 09:24:32 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161027/7f897069/attachment.html>
More information about the gstreamer-devel
mailing list