SourceForge RSS feed   

Overview

Documentation

Examples

VideoJack Plugin

Download

Compatibility

 

Project
Supporters:

The Imaging Source logo

 

 

 

Impressum

 

 

 

Previous:
libunicap
  Next:
Video Formats

List and Open Video Devices

The first thing you want to do is to get a list of all video devices currently connected to the computer and open one of them. This example shows how to do this:

Download example file 'tut_2_1.c'

Remarks:

  1. Use unicap_enumerate_devices to enumerate the currently connected devices, one after another. The example fills an array with all connected devices and asks the user to select one of them.

  2. unicap_open gives you a handle to the device which you will use in all subsequent calls to communicate with the device

  3. When you are done with the device, use unicap_close to release all resources that where allocated for the device

Previous:
libunicap
  Next:
Video Formats
  SourceForge.net Logo