Live video input

qtSgImageSource

Live video input using the Sequence Grabber component from Apple Quicktime.

Example: videoin:/channel?options

channel can be any or the URI-encoded name of the device to be used (e.g. IIDC%20FireWire%20Video for an iSight or Philips%20ToUcam%20Pro for a Philips ToUcam Pro)

Options:

size (string): image size, defaults to SIF (see nucleo/image/Image.cxx for a list of standard size names)
framerate (real): frame rate per second if pause is not specified, defaults to 0 (fastest available)
pause (real): time between each frame, in milliseconds

dialog: if set, the QuickTime Settings dialog for configuring the device will be shown

Note that the QuickTime Settings dialog might override some parameters (e.g. channel, image size and framerate).

v4lImageSource

Live video input using the Video for Linux API (not Video for Linux two).

Example: videoin:/device/channel?options

device can be any or a device name under /dev (e.g. video0 if you want to use /dev/video0)
channel can be any or a v4l channel name

Options:

size (string): image size, defaults to SIF (see nucleo/image/Image.cxx for a list of standard size names)
framerate (real): frame rate per second if pause is not specified, defaults to 0 (fastest available)
pause (real): time between each frame, in milliseconds

locked: if not set, allows other núcleo applications to preempt the device
mmap: if set, requests the source to use the driver's mmap interface instead of read