Comments (5)
Please provide information on your OS, Java version, JNA version, native GStreamer version, gst1-java-core version etc. And ideally a simple code example that illustrates your problem, or at least a description of the pipeline you're using and the elements in it. Is it possible to recreate the pipeline on the CLI with gst-launch
and if so does it work there?
Thanks!
from gst1-java-core.
OpenSUSE with Kernel 4.20, OpenJDK 8, JNA 4.5.0, GStreamer 1.14.4, gst1-java-core 0.9.2. I can provide a command line version for gst-launch on tuesday when I'm back in my office, but here's the entire pipeline in both table form and with a graph below it: https://lyrion.ch/opensource/repositories/videocapture/doc/trunk/config.html#org51f77d1(the column "Settings" refers to GStreamer's "Properties", and "Appcaps" is intern stuff from my program, irrelevant here)
from gst1-java-core.
Here is the CLI version:
gst-launch-1.0 \
compositor name=mix sink_1::xpos=641 sink_1::zorder=1 ! queue ! autovideosink \
rtspsrc location=rtsp://root:[email protected]/axis-media/media.amp latency=200 ! \
"application/x-rtp, media=(string)video" ! decodebin sink-caps="video/x-raw" ! queue ! mix. \
rtspsrc location=rtsp://root:[email protected]/axis-media/media.amp latency=200 ! \
"application/x-rtp, media=(string)video" ! decodebin sink-caps="video/x-raw" ! queue ! videocrop left=640 ! queue ! mix.
from gst1-java-core.
@zilti thanks! Can you update to gst1-java-core 0.9.3 and JNA 4.5.2? I'm not sure either will fix this, but be good to confirm that latest stable releases still break.
Are you using a Java UI? If so, try without. If not, maybe try opening a Swing window (and making sure it's opened) before running the pipeline.
Can you share the code you have to set up the pipeline anywhere? What thread(s) are you setting up the pipeline on?
from gst1-java-core.
Closing as no further comment. Please retry with 0.9.4 and JNA 5.2, and get back if this is still an issue and I'll reopen.
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.