Questions tagged [java-gstreamer]

Java bindings for the gstreamer multimedia framework.

Homepage: https://github.com/gstreamer-java

28 questions
0
votes
0 answers

Gstreamer get image width and height

I have a simple gstreamer pipeline which looks like : | Filesrc | --> | PngDec | --> | ImageFreeze | --> | Queue | --> | Compositor | --> | Fake Sink | location (input) of the filesrc is a png file of size 400 X 600. In the pipeline how do I get the…
user1918858
  • 1,202
  • 1
  • 20
  • 29
0
votes
0 answers

GStreamer and Youtube Problem RTMPSink can not write to resource

I have problem with sending video to youtube using GStreamer. My pipeline is: "appsrc name=videoAppSrc ! rawvideoparse name=videoparser use-sink-caps=false format=8 ! videoconvert ! video/x-raw, fromat=YUV, width="+videoWidth+",…
Th0ru5
  • 1
0
votes
1 answer

Upgrading GStreamer. Expected NDK STL shared object file

I have been trying to upgrade GStreamer to version 1.16 from 1.14 in my android application but have encountered some problems. Version 1.16 requires, according to gstreamer's website, Android NDK r18b. When I try to run GStreamer 1.16 with NDK r18b…
0
votes
1 answer

error: undefined reference to 'libiconv_close' in Ndk Android Studio

Iam getting error on setting up my ndk for gstreamer library in android studio. Below is the error which iam getting-: cerbero.git/1.16/build/sources/android_universal/armv7/glib-2.56.1/_builddir/../glib/gconvert.c:308: error: undefined reference to…
Dheeraj
  • 869
  • 1
  • 7
  • 13
0
votes
1 answer

Java Gstreamer Gnonlin source segmentation

Using Java Gstreamer binding 1, I want to read an audio file from disk and write a segment of this file back to disk. For this, I cannot use the "filesrc" element, but instead I found that I can use the "gnlurisource" element from the Gnonlin plugin…
0
votes
1 answer

OpenCV and Gstreamer streaming live video

My aim to get video stream from capture card (Blackmagic decklink) to OpenCV and live stream to red5 or any other rtmp server. So, I tried done with two branch at gstreamer with command is at below is working properly. But, when using with OpenCV…
erdoganonur
  • 98
  • 1
  • 1
  • 10
0
votes
0 answers

GStreamer java application receives JNA access error

I am trying to build a simple Gstreamer java according to this tutorial and I found GStreamer cannot be used even if I have already linked both gstreamer library and jna library jar to my file. The code is simply: import org.gstreamer.Gst; public…
flint_stone
  • 803
  • 1
  • 10
  • 19
0
votes
1 answer

Getting pads from gstreamer element gives error on gstreamer-java for 1.x

I was trying to run this java code from https://opencast.jira.com/secure/attachment/10077/MultipleSinks.java with gstreamer-java 1.x public static void printPipeline(Pipeline p) { List elements = p.getElements(); if…
ashishgupta_mca
  • 578
  • 6
  • 27
0
votes
1 answer

run the tutorial 3 gstreamer in the version gstreamer-1.0-android-arm 1.6.1 - not finding gstreamer-interfaces-0.10

I'm trying to run the tutorial 3 gstreamer in the version gstreamer-1.0-android-arm 1.6.1, but I'm not finding gstreamer-interfaces-0.10, how do I run tutorial3 with version 1.6.1?
Gleidosn
  • 193
  • 1
  • 6
0
votes
1 answer

Files from live sources in gstreamer are corrupt

I have a problem with files written from live sources (webcams) and pseuso-live sources (screencaptures) in GStreamer. The resulting files don't have a time length, and as a result don't play at all in Media Player Classic. They do play in Firefox,…
0
votes
1 answer

Trouble advancing and redrawing MPEG2 frames... Processing2 GSVideo1.0 OSX10.8.5

My project is using Processing core jar and the GSVideo library on a OSX 10.8.5 using Eclipse. I cannot get GSVideo jump(int frame) or jump(float time) to actually redraw the next frames. The image displayed toggles back and forth between frames…
Cris Rockwell
  • 904
  • 2
  • 16
  • 30
0
votes
1 answer

Send video synchronously to AppSink

I'm using gstreamer-java to send data via UDP through a custom AppSink. Here's how it's effectively setup: fileSrc ! streamTee ! displayQueue ! tsdemux ! demuxQueue ! (mpeg2dec || h264dec) ! videosink and streamTee ! sendQueue ! udpSink I would like…
Nick
  • 4,901
  • 40
  • 61
0
votes
1 answer

How to capture image from webcam WHILST already streaming from webcam too with Java Gstreamer?

I am using the gstreamer library for a Java project that needs to be able to capture an image from a webcam. I already have the code that displays the webcam stream, I just can't figure out how to capture an image at the press of a button next to…
Arnaud H
  • 881
  • 2
  • 10
  • 16
1
2