Comments (5)
You need to provide more context, which OS, which Linux-Distribution and so on, you are running gstreamer-java.
A common problem with most linux distribution is, that JNA which is used to load the libraries, only loads libraries with the suffix .so. These libs or links are often provided in the -dev packages.
from gst1-java-core.
I gst1-java-core project with Maven build, and then use the gst1-java-examples project in the CameraTest test, the "Exception in thread" main "java.lang.UnsatisfiedLinkError: Could not load library: GStreamer" bug, I run the platform is windows. Thank you.
from gst1-java-core.
You also need to install gstreamer1 for windows. gstreamer-java is merely a wrapper for gstreamer, with some java sugar. Ich you already have installed gstreamer1, you proably need to set the jvm jna.library.path variable to the directory where .dll are located.
from gst1-java-core.
There are various potential reasons for this -
- You haven't installed GStreamer 1.x - you can find installers at https://gstreamer.freedesktop.org/data/pkg/windows/1.12.0/ eg. for 64-bit use https://gstreamer.freedesktop.org/data/pkg/windows/1.12.0/gstreamer-1.0-x86_64-1.12.0.msi
- You have a mismatch between 32bit/64bit JVM and GStreamer.
- GStreamer isn't in your PATH. Note @woglinde suggestion about
jna.library.path
will only get you part of the way on Windows. You can add GStreamer to your system path, or use JNA's optional Platform library to set up environment variables like I do at https://github.com/praxis-live/praxis/blob/master/praxis.video.gst1/src/net/neilcsmith/praxis/video/gst1/components/GStreamerLibrary.java#L50
This isn't an issue with gst1-java-core so I'm closing this. For usage issues please use the mailing list at https://groups.google.com/forum/#!forum/gstreamer-java as linked in the Readme.
Feel free to add a feature request here for further documentation though! This is a high priority so knowing exactly what would have made this easier for you will help.
Thanks, Neil
from gst1-java-core.
Thank you very much, woglinde and neilcsmith-net. I should know what to do, thank you!
from gst1-java-core.
Related Issues (20)
- get() on WebRTCBin causes java.lang.InstantiationException HOT 6
- Question about multithreading with multiple pipelines. HOT 1
- Possible crash on async explicit dispose in 1.4.0 HOT 3
- How to load subtitles? Solution and example required.
- native memory still exists after Pipeline.close HOT 6
- Is it possible to have a custom thread pool to execute GstCallback (AppSink.connect) ? (question)
- How to receive each frame as its pointer(Long type) or Byte array or etc. HOT 1
- VAAPI invalid chip id or driver is being used. HOT 2
- Using GIO objects
- GType.valueOf(long) is not thead safe HOT 3
- JVM Crashes HOT 3
- What may be the reason why the pipeline cannot be created HOT 2
- Exception in thread "main" java.lang.Error: Invalid memory access HOT 2
- How to improve throughput
- WebRTCBin.createAnswer() callback not called sporadically (promise garbage collected) HOT 4
- No such Gstreamer factory: webrtcbin HOT 5
- How to get RTPSession from rtpbin
- Need to know the native pointer of a Buffer object
- Segfault in extractError function HOT 6
- gst_element_get_request_pad HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gst1-java-core.