- class aaf.mob.Mob¶
Bases: aaf.base.AAFObject
Base Class for All Mob Objects
- append_attribute()¶
append_attribute(name, value):
- append_comment(name, value)¶
- append_new_timeline_slot(edit_rate, seg, slotID = 0, slot_name = None, origin = 0)¶
Creates a new TimelineMobSlot with the given property values and appends it to the Mob
- append_slot()¶
- comment_dict()¶
- comments()¶
- create_clip(slotID = None, length = None, start_time = None)¶
- insert_slot(index, slot)¶
Inserts the given slot into this mob at the given index. All existing slots at the given and higher index will be moved up one index to accommodate.
- material_id¶
- mobID¶
The unique Mob ID associated with this mob. Get Returns MobID Object
- name¶
- nb_slots¶
- remove_comment(tag)¶
- remove_comment_by_name(name)¶
- slot_at(slotID)¶
- slots()¶
- umid¶
- class aaf.mob.MasterMob¶
Bases: aaf.mob.Mob
- add_master_slot(media_kind, source_slotID, source_mob, master_slotID, slot_name = None)¶
Add a slot that references the specified a slot in the specified Source Mob.
- add_master_slot_with_sequence(media_kind, source_slotID, source_mob, master_slotID, slot_name = None)¶
- create_essence(slot_index, media_kind, codec_name, edit_rate, sample_rate, compress = False, locator = None, fileformat = "aaf")¶
- import_audio_essence(path, channels, sample_rate)¶
Import raw PCM audio stream from file.
Parameters:
- import_video_essence(path, frame_rate)¶
Import raw dnxhd video stream from file.
Parameters:
- path (str) – path to dnxhd file
- frame_rate – frame rate of dnxhd file
- new_phys_source_ref(edit_rate, slotID, media_kind, ref, srcRefLength)¶
- open_essence(slotID, mode = "r", compression = False)¶
Opens a single channel of a file mob and returns EssenceAccess Object.
Parameters: Returns:
- class aaf.mob.CompositionMob¶
Bases: aaf.mob.Mob
- class aaf.mob.SourceMob¶
Bases: aaf.mob.Mob
- add_nil_ref(slotID, length, media_kind, edit_rate)¶
- add_pulldown(edit_rate, slotID, media_kind, source_ref, src_ref_length, pulldown_kind = "TwentyFourToSixtyPD", phase_frame = 0, direction = "TapeToFilmSpeed", add_type = b"append")¶
- append_phys_source_ref(edit_rate, slotID, media_kind, ref, srcRefLength)¶
- append_timecode_slot(edit_rate, slotID, startTC, frame_length)¶
- essence_descriptor¶
- new_phys_source_ref(edit_rate, slotID, media_kind, ref, srcRefLength)¶
- class aaf.mob.EventMobSlot¶
Bases: aaf.mob.MobSlot
- class aaf.mob.StaticMobSlot¶
Bases: aaf.mob.MobSlot