Comments (6)
AFAIK it's been removed and replaced by https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-device-probing.html
We need to remove the old mappings and look at mapping the new API!?
from gst1-java-core.
I think we need to remove it since there is no need to keep dead code in a project. Not sure if we need to map new API now (at least from my perspective, but there may be users who will need it). On Linux and Mac I can iterate over source elements using integer number, but on Windows, with dshowvideosrc
, device is mapped by name and it may be impossible to predict it. However, I read about ksvideosrc
which takes device-index as an argument, so maybe it can be used instead, but I never use it before and need to verify.
from gst1-java-core.
@sarxos Yes, absolutely we need to remove the dead code! The question bit was more about the device probing. We need to think about how we handle the addition of new API's in GStreamer while making sure the bindings keep working with older versions.
I'm using ksvideosrc
in Praxis LIVE. I actually don't device probe at all. I use Bin.launch
and provide a series of default launch strings for each platform, but allow the user to override them if required. Lots of benefits to doing that, like allowing for edge cases or alternative source elements.
from gst1-java-core.
Well i need to use the DeviceMonitor to get a list of devices(webcams in particular). But the problem is that i don't know how to start working on the implementation of DeviceMonitor in Gstreamer-Java.
Do you have any tips/tricks to do that?
from gst1-java-core.
Device probing has been merged and will be in 0.9.1. Some work ongoing to remove dead API.
from gst1-java-core.
Closing this as the enhancements are in and the removals are covered in other issues.
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.