Footage
FootageItem
¶
FootageItem(
comment: str,
id: int,
label: Label,
name: str,
parent_folder: FolderItem | None,
type_name: str,
duration: float,
frame_duration: int,
frame_rate: float,
height: int,
pixel_aspect: float,
width: int,
main_source: FileSource
| SolidSource
| PlaceholderSource,
asset_type: str,
end_frame: int,
start_frame: int,
)
Bases: AVItem
The FootageItem object represents a footage item imported into a project,
which appears in the Project panel.
Info
FootageItem is a subclass of AVItem object, which is a subclass of
Item object. All methods and attributes of AVItem and Item are
available when working with FootageItem.
See: https://ae-scripting.docsforadobe.dev/item/footageitem/
Attributes¶
duration
¶
duration: float
The duration of the item in seconds. Still footages have a duration of 0.
footage_missing
¶
footage_missing: bool
When True, the AVItem is a placeholder, or represents footage with a
source file that cannot be found. In this case, the path of the
missing source file is in the missing_footage_path attribute of the
footage item's source-file object.
See FootageItem.main_source and
FileSource.missing_footage_path.
frame_duration
¶
frame_duration: int
The duration of the item in frames. Still footages have a duration of 0.
label
¶
label: Label
The label color. Colors are represented by their number (0 for None, or 1 to 16 for one of the preset colors in the Labels preferences).
parent_folder
¶
parent_folder: FolderItem | None = field(repr=False)
The parent folder of this item. None for the root folder.