Giter VIP home page Giter VIP logo

Comments (5)

neilcsmith-net avatar neilcsmith-net commented on May 30, 2024

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.

zilti avatar zilti commented on May 30, 2024

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.

zilti avatar zilti commented on May 30, 2024

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.

neilcsmith-net avatar neilcsmith-net commented on May 30, 2024

@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.

neilcsmith-net avatar neilcsmith-net commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.