Comments (6)
Oh, I forgot to add. I'm on Ubuntu 14.04 with the following gstreamer dependencies installed. I;m wondering if this problem may be caused by gstreamer 0.10.x packages installed together together with 1.0?
sarxos@sarxos-comp:~/workspace/gst1-java-examples$ dpkg --list | grep gstreamer
ii bluez-gstreamer 4.101-0ubuntu13.1 amd64 Bluetooth GStreamer support
ii gir1.2-gstreamer-1.0 1.2.4-0ubuntu1 amd64 Description: GObject introspection data for the GStreamer library
ii gstreamer0.10-alsa:amd64 0.10.36-1.1ubuntu2 amd64 GStreamer plugin for ALSA
ii gstreamer0.10-fluendo-mp3:amd64 0.10.23.debian-3 amd64 Fluendo mp3 decoder GStreamer 0.10 plugin
ii gstreamer0.10-gconf:amd64 0.10.31-3+nmu1ubuntu5 amd64 GStreamer plugin for getting the sink/source information from GConf
ii gstreamer0.10-nice:amd64 0.1.4-1 amd64 ICE library (GStreamer 0.10 plugin)
ii gstreamer0.10-plugins-bad:amd64 0.10.23-7.2ubuntu1.1 amd64 GStreamer plugins from the "bad" set
ii gstreamer0.10-plugins-bad-multiverse 0.10.21-1ubuntu3 amd64 GStreamer plugins from the "bad" set (Multiverse Variant)
ii gstreamer0.10-plugins-base:amd64 0.10.36-1.1ubuntu2 amd64 GStreamer plugins from the "base" set
ii gstreamer0.10-plugins-base-apps 0.10.36-1.1ubuntu2 amd64 GStreamer helper programs from the "base" set
ii gstreamer0.10-plugins-good:amd64 0.10.31-3+nmu1ubuntu5 amd64 GStreamer plugins from the "good" set
ii gstreamer0.10-plugins-ugly:amd64 0.10.19-2ubuntu5 amd64 GStreamer plugins from the "ugly" set
ii gstreamer0.10-pulseaudio:amd64 0.10.31-3+nmu1ubuntu5 amd64 GStreamer plugin for PulseAudio
ii gstreamer0.10-tools 0.10.36-1.2ubuntu3 amd64 Tools for use with GStreamer
ii gstreamer0.10-x:amd64 0.10.36-1.1ubuntu2 amd64 GStreamer plugins for X11 and Pango
ii gstreamer1.0-alsa:amd64 1.2.4-1~ubuntu2 amd64 GStreamer plugin for ALSA
ii gstreamer1.0-clutter 2.0.8-1build1 amd64 Clutter PLugin for GStreamer 1.0
ii gstreamer1.0-fluendo-mp3:amd64 0.10.23.debian-3 amd64 Fluendo mp3 decoder GStreamer 1.0 plugin
ii gstreamer1.0-libav:amd64 1.2.4-1~ubuntu1 amd64 libav plugin for GStreamer
ii gstreamer1.0-nice:amd64 0.1.4-1 amd64 ICE library (GStreamer plugin)
ii gstreamer1.0-plugins-bad:amd64 1.2.4-1~ubuntu1 amd64 GStreamer plugins from the "bad" set
ii gstreamer1.0-plugins-bad-faad:amd64 1.2.4-1~ubuntu1 amd64 GStreamer faad plugin from the "bad" set
ii gstreamer1.0-plugins-bad-videoparsers:amd64 1.2.4-1~ubuntu1 amd64 GStreamer videoparsers plugin from the "bad" set
ii gstreamer1.0-plugins-base:amd64 1.2.4-1~ubuntu2 amd64 GStreamer plugins from the "base" set
ii gstreamer1.0-plugins-base-apps 1.2.4-1~ubuntu2 amd64 GStreamer helper programs from the "base" set
ii gstreamer1.0-plugins-good:amd64 1.2.4-1~ubuntu1 amd64 GStreamer plugins from the "good" set
ii gstreamer1.0-plugins-ugly:amd64 1.2.3-2build1 amd64 GStreamer plugins from the "ugly" set
ii gstreamer1.0-pulseaudio:amd64 1.2.4-1~ubuntu1 amd64 GStreamer plugin for PulseAudio
ii gstreamer1.0-tools 1.2.4-0ubuntu1 amd64 Tools for use with GStreamer
ii gstreamer1.0-x:amd64 1.2.4-1~ubuntu2 amd64 GStreamer plugins for X11 and Pango
ii libgstreamer-plugins-bad0.10-0:amd64 0.10.23-7.2ubuntu1.1 amd64 GStreamer shared libraries from the "bad" set
ii libgstreamer-plugins-bad1.0-0:amd64 1.2.4-1~ubuntu1 amd64 GStreamer development files for libraries from the "bad" set
ii libgstreamer-plugins-base0.10-0:amd64 0.10.36-1.1ubuntu2 amd64 GStreamer libraries from the "base" set
ii libgstreamer-plugins-base1.0-0:amd64 1.2.4-1~ubuntu2 amd64 GStreamer libraries from the "base" set
ii libgstreamer-plugins-base1.0-0:i386 1.2.4-1~ubuntu2 i386 GStreamer libraries from the "base" set
ii libgstreamer-plugins-good1.0-0:amd64 1.2.4-1~ubuntu1 amd64 GStreamer development files for libraries from the "good" set
ii libgstreamer0.10-0:amd64 0.10.36-1.2ubuntu3 amd64 Core GStreamer libraries and elements
ii libgstreamer1.0-0:amd64 1.2.4-0ubuntu1 amd64 Core GStreamer libraries and elements
ii libgstreamer1.0-0:i386 1.2.4-0ubuntu1 i386 Core GStreamer libraries and elements
ii libreoffice-avmedia-backend-gstreamer 1:4.2.8-0ubuntu4 amd64 GStreamer backend for LibreOffice
ii phonon-backend-gstreamer:amd64 4:4.7.80-0ubuntu2~ubuntu14.04 amd64 Phonon GStreamer 1.0.x backend
ii phonon-backend-gstreamer-common:amd64 4:4.7.80-0ubuntu2~ubuntu14.04 amd64 Phonon GStreamer 1.0.x backend icons
ii phonon-backend-gstreamer1.0 4:4.7.80-0ubuntu2~ubuntu14.04 all transitional package
from gst1-java-core.
Thanks for the report. Unfortunately, I cannot replicate the issue on Ubuntu 16.04.
Can you confirm, which version of gst1-java-core, which version of the JDK and which version of JNA you're using?
It should not have anything to do with GStreamer 0.10 - they're basically two separate libraries.
from gst1-java-core.
After seeing it working well when I've put breakpoint watch on GValue
fields, I supposed this bug may be one of these which are impossible to reproduce on other machines, but still decided to report it here just to let you know that such problem may appear.
I'm using newest (2f09960) snapshot of gst1-java-code:
sarxos@sarxos-comp:~/workspace/gst1-java-core$ git log | head -n 4
commit 2f099605e6689b644bfe65c3e82efcd01de41b2d
Merge: c179abd a0f1296
Author: Neil C Smith <...>
Date: Thu Dec 1 16:38:40 2016 +0000
JDK is Oracle's 1.8.0_51:
sarxos@sarxos-comp:~/workspace/gst1-java-core$ java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
JNA is 4.1.0:
sarxos@sarxos-comp:~/workspace/webcam-capture-parent/webcam-capture-drivers/driver-gst1$ mvn dependency:tree | grep jna
[INFO] +- net.java.dev.jna:jna:jar:4.1.0:compile
from gst1-java-core.
Just FYI, problem disappeared after upgrading to JNA 4.2.2 :) Thank you for your support since I wouldn't try it if you did not ask for the JNA version!
from gst1-java-core.
Therefore I'm closing this issue. Thank you!
from gst1-java-core.
Thanks! Interesting findings.
from gst1-java-core.
Related Issues (20)
- 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
- Support for pbutils 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.