Package flumotion :: Package worker :: Package checks :: Module video
[show private | hide private]
[frames | no frames]

Module flumotion.worker.checks.video

Function Summary
twisted.internet.defer.Deferred checkMixerTracks(source_factory, device, channels, id)
Probe the given GStreamer element factory with the given device for audio mixer tracks.
twisted.internet.defer.Deferred checkTVCard(device, id)
Probe the given device node as a TV card.
flumotion.common.messages.Result checkWebcam(device, id)
Probe the given device node as a webcam.

Function Details

checkMixerTracks(source_factory, device, channels, id=None)

Probe the given GStreamer element factory with the given device for audio mixer tracks. Return a deferred firing a result.

The result is either:
  • succesful, with a None value: no device found
  • succesful, with a human-readable device name and a list of mixer track labels.
  • failed
Returns:
twisted.internet.defer.Deferred

checkTVCard(device, id='check-tvcard')

Probe the given device node as a TV card. Return a deferred firing a human-readable device name, a list of channel names (Tuner/Composite/...), and a list of norms (PAL/NTSC/SECAM/...).
Returns:
twisted.internet.defer.Deferred

checkWebcam(device, id)

Probe the given device node as a webcam.

The result is either:
  • succesful, with a None value: no device found
  • succesful, with a tuple:
    • device name
    • dict of mime, format, width, height, fps pair
  • failed
Returns:
flumotion.common.messages.Result

Generated by Epydoc 2.1 on Sun Oct 22 03:16:45 2006 http://epydoc.sf.net