Enums¶
Bases: IntEnum
The type of a ProjectItem.
One of CLIP, BIN, ROOT or FILE [Premiere Scripting Guide
ProjectItem.type].
Source code in src/py_premiere/enums/general.py
Bases: IntEnum
Temporal interpolation of a keyframe.
Values match the Scripting Guide's kfInterpMode constants and UXP's
Constants.InterpolationMode; verified against the stored keyframe
encoding via the 09_keyframes fixture.
Source code in src/py_premiere/enums/general.py
Attributes¶
Bases: IntEnum
How a still's alpha channel is interpreted.
Values from the UXP FootageInterpretation.ALPHACHANNEL_* constants.
Source code in src/py_premiere/enums/general.py
Bases: IntEnum
Field dominance of interlaced footage.
Values from the UXP FootageInterpretation.FIELD_TYPE_* constants.
Source code in src/py_premiere/enums/general.py
Bases: IntEnum
Which of Premiere's synthetic media an item is backed by.
Generated media has no file: its Media/FilePath is a big-endian
four-character code instead of a path, which is why ExtendScript reports
no media path for these items. The codes are the values here (BLAK,
COLR, ...), captured by creating one of each through the QE DOM.
Source code in src/py_premiere/enums/general.py
Bases: IntEnum
How a retimed clip fills in the frames it needs.
Premiere elides the field at FRAME_SAMPLING, so an untouched clip
reports that. The mapping was pinned by writing each value through the QE
DOM: legacy setFrameBlend(true) and setTimeInterpolationType(1)
produce the same stored 1.