aaf.component

Component

class aaf.component.Component

Bases: aaf.base.AAFObject

datadef()
length
media_kind

Segment

class aaf.component.Segment

Bases: aaf.component.Component

offset_to_tc()

Converts the given segment offset to a timecode value

tc_to_offset()

Converts the given timecode and edit rate to a segment offset value.

Transition

class aaf.component.Transition

Bases: aaf.component.Component

cutpoint
operation_group

Sequence

class aaf.component.Sequence

Bases: aaf.component.Segment

append()

Append Component at end of Sequence

component_at()

return the component at the given index

component_at_time()

return the component at a given time (position in edit units)

components()
count

Number of Components in Sequence

index_at_time()

return the index of the component at a given time (position in edit units)

insert()

Insert Component at given index

positions()

yields (index, edit_start_time, component) of items in the sequence

prepend()

Prepend Component at beginning of Sequence

remove()

Remove Component at given index

time_at_index()

return the time (position in edit units) of a given index

Timecode

class aaf.component.Timecode

Bases: aaf.component.Segment

Filler

class aaf.component.Filler

Bases: aaf.component.Segment

Pulldown

class aaf.component.Pulldown

Bases: aaf.component.Segment

direction
kind
phase
segment

SourceReference

class aaf.component.SourceReference

Bases: aaf.component.Segment

SourceClip

class aaf.component.SourceClip

Bases: aaf.component.SourceReference

mob_id
resolve_ref()
resolve_slot()
slot_id
source_ref
start_time
walk()

OperationGroup

class aaf.component.OperationGroup

Bases: aaf.component.Segment

add_parameter()
input_segments()
nb_input_segments
operation
operationdef()
parameter
parameters()
render

NestedScope

class aaf.component.NestedScope

Bases: aaf.component.Segment

segments()

ScopeReference

class aaf.component.ScopeReference

Bases: aaf.component.Segment

EssenceGroup

class aaf.component.EssenceGroup

Bases: aaf.component.Segment

Describes multiple digital representations of the same original content source.

choice_at()
choices()
count
still_frame

Selector

class aaf.component.Selector

Bases: aaf.component.Segment

Provides the value of a single Segment while preserving references to unused alternatives.

alternate_segments()
append_alternate_segment()
remove_alternate_segment()
selected

EdgeCode

class aaf.component.EdgeCode

Bases: aaf.component.Segment

header

Event

class aaf.component.Event

Bases: aaf.component.Segment

CommentMarker

class aaf.component.CommentMarker

Bases: aaf.component.Event

DescriptiveMarker

class aaf.component.DescriptiveMarker

Bases: aaf.component.CommentMarker

GPITrigger

class aaf.component.GPITrigger

Bases: aaf.component.Event

TimecodeStream

class aaf.component.TimecodeStream

Bases: aaf.component.Segment

TimecodeStream12M

class aaf.component.TimecodeStream12M

Bases: aaf.component.TimecodeStream

Parameter

class aaf.component.Parameter

Bases: aaf.base.AAFObject

A Parameter is an effect control. They are only on OperationGroups.

name
parameterdef()
typedef()
value

ConstantValue

class aaf.component.ConstantValue

Bases: aaf.component.Parameter

VaryingValue

class aaf.component.VaryingValue

Bases: aaf.component.Parameter

add_point()
count()
interpolation_def()
points()
value_at()

Get the varying value at a specified time, Only currently works for step and linear interpolation.

ControlPoint

class aaf.component.ControlPoint

Bases: aaf.base.AAFObject

edit_hint
point_properties()
time
typedef()
value