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

Module video

source code

Functions [hide private]
twisted.internet.defer.Deferred
checkTVCard(device, id='check-tvcard')
Probe the given device node as a TV card.
source code
flumotion.common.messages.Result
checkWebcam(device, id)
Probe the given device node as a webcam.
source code
twisted.internet.defer.Deferred
checkMixerTracks(source_factory, device, channels, id=None)
Probe the given GStreamer element factory with the given device for audio mixer tracks.
source code
Function Details [hide private]

checkTVCard(device, id='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, id)

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

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

source code 

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