avb.components¶
ControlClip¶
-
class
avb.components.ControlClip(edit_rate=25, media_kind=None)¶ Bases:
avb.components.Clip
Properties:
| name | type |
|---|---|
| left_bob | reference |
| right_bob | reference |
| media_kind_id | int16 |
| edit_rate | fexp10 |
| name | string |
| effect_id | string |
| attributes | reference |
| session_attrs | reference |
| precomputed | reference |
| param_list | reference |
| length | int32 |
| interp_kind | int32 |
| control_points | list |
ControlPoint¶
-
class
avb.components.ControlPoint(*args, **kwargs)¶ Bases:
avb.core.AVBObject
Properties:
| name | type |
|---|---|
| offset | rational |
| time_scale | int32 |
| value | bool |
| pp | list |
ControlPointProperty¶
-
class
avb.components.ControlPointProperty(*args, **kwargs)¶ Bases:
avb.core.AVBObject
Properties:
| name | type |
|---|---|
| code | int16 |
| value | rational |
Edgecode¶
-
class
avb.components.Edgecode(edit_rate=25, media_kind=None)¶ Bases:
avb.components.Clip
Properties:
| name | type |
|---|---|
| left_bob | reference |
| right_bob | reference |
| media_kind_id | int16 |
| edit_rate | fexp10 |
| name | string |
| effect_id | string |
| attributes | reference |
| session_attrs | reference |
| precomputed | reference |
| param_list | reference |
| length | int32 |
| header | bytes |
| film_kind | uint8 |
| code_format | uint8 |
| base_perf | uint16 |
| start_ec | int32 |
Filler¶
-
class
avb.components.Filler(edit_rate=25, media_kind=None)¶ Bases:
avb.components.Clip
Properties:
| name | type |
|---|---|
| left_bob | reference |
| right_bob | reference |
| media_kind_id | int16 |
| edit_rate | fexp10 |
| name | string |
| effect_id | string |
| attributes | reference |
| session_attrs | reference |
| precomputed | reference |
| param_list | reference |
| length | int32 |
ParamClip¶
-
class
avb.components.ParamClip(edit_rate=25, media_kind=None)¶ Bases:
avb.components.Clip-
nearest_index(t)¶ binary search for index of point.time <= t
-
Properties:
| name | type |
|---|---|
| left_bob | reference |
| right_bob | reference |
| media_kind_id | int16 |
| edit_rate | fexp10 |
| name | string |
| effect_id | string |
| attributes | reference |
| session_attrs | reference |
| precomputed | reference |
| param_list | reference |
| length | int32 |
| interp_kind | int32 |
| value_type | int16 |
| extrap_kind | int32 |
| control_points | list |
| fields | int32 |
ParamControlPoint¶
-
class
avb.components.ParamControlPoint(*args, **kwargs)¶ Bases:
avb.core.AVBObject
Properties:
| name | type |
|---|---|
| offset | rational |
| timescale | int32 |
| value | number |
| pp | list |
ParamControlPointProperty¶
-
class
avb.components.ParamControlPointProperty(*args, **kwargs)¶ Bases:
avb.core.AVBObject
Properties:
| name | type |
|---|---|
| code | int16 |
| type | int16 |
| value | number |
Sequence¶
-
class
avb.components.Sequence(edit_rate=25, media_kind=None)¶ Bases:
avb.components.Component-
nearest_component_at_time(edit_unit)¶ returns the nearest component to edit_unit and its start position
-
nearest_index_at_time(edit_unit)¶ returns the index of the nearest component to edit_unit and its start position
-
Properties:
| name | type |
|---|---|
| left_bob | reference |
| right_bob | reference |
| media_kind_id | int16 |
| edit_rate | fexp10 |
| name | string |
| effect_id | string |
| attributes | reference |
| session_attrs | reference |
| precomputed | reference |
| param_list | reference |
| components | ref_list |
SourceClip¶
-
class
avb.components.SourceClip(edit_rate=25, media_kind=None)¶ Bases:
avb.components.Clip
Properties:
| name | type |
|---|---|
| left_bob | reference |
| right_bob | reference |
| media_kind_id | int16 |
| edit_rate | fexp10 |
| name | string |
| effect_id | string |
| attributes | reference |
| session_attrs | reference |
| precomputed | reference |
| param_list | reference |
| length | int32 |
| track_id | int16 |
| start_time | int32 |
| mob_id | MobID |
Timecode¶
-
class
avb.components.Timecode(edit_rate=25, media_kind=None)¶ Bases:
avb.components.Clip
Properties:
| name | type |
|---|---|
| left_bob | reference |
| right_bob | reference |
| media_kind_id | int16 |
| edit_rate | fexp10 |
| name | string |
| effect_id | string |
| attributes | reference |
| session_attrs | reference |
| precomputed | reference |
| param_list | reference |
| length | int32 |
| flags | int32 |
| fps | int32 |
| start | int32 |
TrackRef¶
-
class
avb.components.TrackRef(edit_rate=25, media_kind=None)¶ Bases:
avb.components.Clip
Properties:
| name | type |
|---|---|
| left_bob | reference |
| right_bob | reference |
| media_kind_id | int16 |
| edit_rate | fexp10 |
| name | string |
| effect_id | string |
| attributes | reference |
| session_attrs | reference |
| precomputed | reference |
| param_list | reference |
| length | int32 |
| relative_scope | int16 |
| relative_track | int16 |