Plugin for Video Input device selection

Adrianh's picture

Before I delve into this and waste my time is it theoretically possible to create a "plugin" to scan the video devices attached to a computer (like in audio tools) for user selection in a compiled cocoa applications NIB.

Ideally I would like something like the drop down seen in Quicktime when creating a movie recording from a live camera. If a capture device like a Blackmagic card is present the user has the ability to select the resolution ect (preset) avaliable to that card. This video input could then be input into the composition with the plugin/patch.

Would it be possible to have a look at the xcode project for Audio Tools so as I can reference what you have done programatically to make the patch.

Regards

Ade

Adrianh's picture
Re: Plugin for Video Input device selection

Any thoughts on this?

Ade

cwright's picture
Re: Plugin for Video Input device selection

Regarding audio tools source, we actually can't make it available due to some protected additions (until July 1st, 2009).

But for device enumeration, we use stock Apple example code from the CoreAudio framework. There are similar (though much more archaic) enumeration/configuration examples for QuickTime if you hunt around on developer.apple.com some.

Adrianh's picture
Re: Plugin for Video Input device selection

Thanks Christopher, I did have a hunt around and its seems the audio tools are much more open and available for developers than the video tools.

sigh.....

I'll keep on searching. If any one has anything to help in this regard I'll make the patch available on completion.

ade