Skip to content

FileSource

FileSource dataclass

FileSource(alpha_mode: AlphaMode, conform_frame_rate: int, field_separation_type: FieldSeparationType, has_alpha: bool, high_quality_field_separation: bool, invert_alpha: bool, is_still: bool, loop: int, premul_color: list[float], file: str, file_names: list[str], target_is_folder: bool)

Bases: FootageSource

File source.

Corresponds to After Effects FileSource object. See: https://ae-scripting.docsforadobe.dev/sources/filesource/

Attributes:

Name Type Description
file str

The full file path.

file_names list[str]

The filenames if the footage is an image sequence.

target_is_folder bool

True if the file is a folder, else False.

missing_footage_path property

missing_footage_path: str

The missing footage path if the footage is missing, else empty.

is_solid property

is_solid: bool

Whether this is a solid source.