Package flumotion :: Package component :: Package converters :: Package overlay :: Module overlay :: Class Overlay
[hide private]

type Overlay

source code

             object --+                
                      |                
common.common.InitMixin --+            
                          |            
extern.log.log.Loggable --+            
                          |            
    component.BaseComponent --+        
                              |        
 feedcomponent010.FeedComponent --+    
                                  |    
 feedcomponent.ParseLaunchComponent --+
                                      |
                                     Overlay

Nested Classes [hide private]

Inherited from feedcomponent010.FeedComponent: componentMediumClass

Instance Methods [hide private]
 
get_pipeline_string(self, properties)
Method that must be implemented by subclasses to produce the gstparse string for the component's pipeline.
source code
 
_set_source_image(self, width, height) source code
 
_set_source_caps(self, width, height) source code
 
_set_source_framerate(self, framerate) source code
 
_notify_caps_cb(self, pad, param) source code
 
_add_source_bin(self, pipeline) source code
 
configure_pipeline(self, pipeline, properties)
Method that can be implemented by subclasses if they wish to interact with the pipeline after it has been created and set on the component.
source code
 
push_buffer(self, source, arg0)
Pushes buffer to appsrc in GStreamer
source code

Inherited from feedcomponent.ParseLaunchComponent: __provides__, add_default_eater_feeder, create_pipeline, get_eater_srcpad, get_eater_template, get_feeder_sinkpad, get_feeder_template, get_queue_string, init, parse_pipeline, parse_tmpl, set_pipeline

Inherited from feedcomponent010.FeedComponent: addEffect, attachPadMonitorToElement, attachPadMonitorToFeeder, bus_message_received_cb, cleanup, connect_feeders, do_pipeline_playing, do_setup, do_stop, dump_gstreamer_debug_dot_file, eatFromFD, feedToFD, get_element, get_element_property, get_master_clock, get_pipeline, install_eater_continuity_watch, install_eater_event_probes, make_message_for_gstreamer_error, modify_element_property, provide_master_clock, reconnectEater, set_element_property, set_master_clock, setup_completed, stop_pipeline, try_start_pipeline, unblock_eater

Inherited from component.BaseComponent: __init__, addMessage, adminCallRemote, checkPropertyType, check_properties, do_check, fixRenamedProperties, getMood, getName, getWorkerName, modifyProperty, observerAppend, observerRemove, removeMessage, setMedium, setMood, setShutdownHook, setWorkerName, setup, stop, waitForHappy, warnDeprecatedProperties

Inherited from common.common.InitMixin: __providedBy__

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

Class Variables [hide private]
  checkTimestamp = True
whether to check continuity of timestamps for eaters
  checkOffset = True
whether to check continuity of offsets for eaters
  _filename = None
  CAPS_TEMPLATE = 'video/x-raw-rgb,bpp=32,depth=32,width=%d,heig...

Inherited from feedcomponent.ParseLaunchComponent: DELIMITER, DEPAY_TMPL, EATER_TMPL, FDSRC_TMPL, FEEDER_TMPL, __implemented__

Inherited from feedcomponent010.FeedComponent: FEEDER_STATS_UPDATE_FREQUENCY, dropStreamHeaders, eaters, feeders, logCategory, swallowNewSegment

Instance Variables [hide private]

Inherited from component.BaseComponent: medium, name, uiState

Method Details [hide private]

get_pipeline_string(self, properties)

source code 

Method that must be implemented by subclasses to produce the gstparse string for the component's pipeline. Subclasses should not chain up; this method raises a NotImplemented error.

Returns: a new pipeline string representation.

Overrides: feedcomponent.ParseLaunchComponent.get_pipeline_string
(inherited documentation)

configure_pipeline(self, pipeline, properties)

source code 

Method that can be implemented by subclasses if they wish to interact with the pipeline after it has been created and set on the component.

This could include attaching signals and bus handlers.

Overrides: feedcomponent.ParseLaunchComponent.configure_pipeline
(inherited documentation)

push_buffer(self, source, arg0)

source code 

Pushes buffer to appsrc in GStreamer

Parameters:
  • source (GstElement) - the appsrc element to push to

Class Variable Details [hide private]

CAPS_TEMPLATE

Value:
'video/x-raw-rgb,bpp=32,depth=32,width=%d,height=%d,red_mask=-16777216\
,green_mask=16711680,blue_mask=65280,alpha_mask=255,endianness=4321,fr\
amerate=0/1'