Capture capabilities


#1

Hey embers,

I’m trying to determine if there’s a way of determining the capabilities of a video capture device before enabling it? I’ve looked at the sample that comes in Cinder 0.9.0, and explored the Capture object via Visual Studios Intellisense, but didn’t happen upon anything that looked like what I’m going for.

Has anyone else come across something to detect capture capabilities?

Regards,

Gazoo


#2

I believe you can’t retrieve the properties without initializing the camera. The OS needs to negotiate a resolution and frame rate on creation and only then can you know what the capabilities are. See the docs on MSDN. For more on the negotiation process, see here.