Package flumotion :: Package component :: Package effects :: Package kuscheduler :: Module kuscheduler :: Class KeyUnitsScheduler
[hide private]

Class KeyUnitsScheduler

source code

extern.log.log.Loggable --+        
                          |        
       feedcomponent.Effect --+    
                              |    
   feedcomponent.PostProcEffect --+
                                  |
                                 KeyUnitsScheduler

I can be added after a raw video source to schedule GstForceKeyUnit event, used to synchronize downstream elements, like encoders or fragmenters.

Instance Methods [hide private]
 
__init__(self, name, sourcePad, pipeline, interval) source code
 
get_kuscheduler(self, interval) source code
 
effect_setInterval(self, interval) source code
 
effect_getInterval(self) source code

Inherited from feedcomponent.PostProcEffect: plug

Inherited from feedcomponent.Effect: getComponent, setComponent, setUIState

Inherited from extern.log.log.Loggable: __providedBy__, __provides__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  logCategory = 'kuscheduler-effect'
Implementors can provide a category to log their messages under.

Inherited from extern.log.log.Loggable: __implemented__

Instance Variables [hide private]

Inherited from feedcomponent.PostProcEffect: component, effectBin, name, pipeline, sourcePad

Method Details [hide private]

__init__(self, name, sourcePad, pipeline, interval)
(Constructor)

source code 
Parameters:
  • element - the video source element on which the post processing effect will be added
  • sourcePad - source pad used for linking the effect
  • pipeline - the pipeline of the element
  • interval - interval between GstForceKeyUnit events in ns
Overrides: feedcomponent.Effect.__init__