Package flumotion :: Package worker :: Package checks :: Module video
[hide private]

Module video

source code


Version: $Rev: 7097 $

Functions [hide private]
twisted.internet.defer.Deferred
checkTVCard(device, mid='check-tvcard')
Probe the given device node as a TV card.
source code
flumotion.common.messages.Result
checkWebcam(device, mid)
Probe the given device node as a webcam.
source code
Function Details [hide private]

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

source code 

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, mid)

source code 

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