Gilbert Le Blanc
Gilbert Le Blanc

Reputation: 51445

Video Camera Controls API

I'm writing an Eclipse RCP that takes photographs with a movie camera. I'm getting the video feed using the Java Media Framework (JMF).

The camera I'm using is the Microsoft Lifecam Cinema camera. Edited to add: I'm developing on a Windows XP workstation.

The camera has pan, zoom, and tilt controls.

My question is, do these camera controls have an Application Programming Interface (API)?

I couldn't find anything with an Internet search. JMF doesn't have any methods for controlling a video camera that I could find.

While I'm using Java, I can wrap an API in another language using the Java Native Interface (JNI) if I must.

Upvotes: 0

Views: 1171

Answers (1)

Riduidel
Riduidel

Reputation: 22292

Before going the raw JNI way, i would instead suggest you take the jUSB route or the javax.usb one. From what I understand, your camera is a pure USB one, so it should be possible to drive it from such an API, no ?

Unfortunatly, as I'm unable to find any kind of reverse protocol infos, it seems like you'll have to guess how to drive it by yourself.

Upvotes: 1

Related Questions