Question / Help Java to exploit DVI streams

Sambra

New Member
Hello,

I have a very particular question, I will use OBS very differently from the regular way to use it. I explain myself:

My goal is to analyze a DVI streams from an other computer with a video capture device (like USB3HDCAP from startech for example).
I need to exploit informations on the video immediatly, in live. I will do it with a JAVA code.

Is it possible? Do you know if a Java library exists to deal with this kind of data?

Thanks!
 

FerretBomb

Active Member
Not sure how OBS would factor in on this at all. Plugins don't have direct level access to sources, unless you're writing a program to act as a capture source module to sit between OBS and the capture device itself. And those generally don't use Java.

Sounds like you need to work up a way to handle video capture in your Java app, which is outside OBS support entirely.

Any way you could be more specific about what you're actually trying to do? "Analyze and exploit informations in real time" is pretty vague and wide ranging.
 

Sambra

New Member
Ok, thank you for this answer.

Actually, this is a job I need to do in an engineer placement.

The aim is to replace an operator who monitor some parameters which appears on the screen as graphic bar, diagrams.
I have already a code which realize that but with an .avi file. I want to do the same thing with live incoming datas. So I need to acquire the video data of the capture device.

If the software cannot help me, I know something in its source code can (as it acquires the video signal).

First, is it free of rights for me to use some part of the OBS code?
If so, can you help me to find out what part of the code is used to acquire the datas (I'm still learning JAVA, so the OBS C code is hard for me to understand it all).
 
Last edited:

FerretBomb

Active Member
I'd instead recommend a Google search for "Java video capture library" or "Java webcam capture library", since many capture cards work just like webcams. There are a few out there, and trying to back-engineer OBS' code would be a waste of your time as compared to using one that already exists in Java.

Alternately, you might check if the parameters being monitored present an API and skip the video enumeration entirely, just handling monitoring purely in software.
 
Top