Hi everyone! We are happy to announce that we have another update for UXP APIs available in the most recent version of Premiere Pro (Beta) from Creative Cloud! Details can also be found at the documentation website as well.
SequenceSettings API
-
Sequence.getSettings()
-
Sequence.createSetSettingsAction()
From SequenceSettings object, you could read and/or write properties like
-
AudioChannelCount (Read ONLY)
-
AudioChannelType (Read ONLY)
-
AudioDisplayFormat
-
AudioSampleRate
-
CompositeInLinearColor
-
EditingMode
-
MaxRenderQuality
-
MaximumBitDepth
-
PreviewCodec
-
PreviewFileFormat
-
PreviewFrameRect
-
VideoDisplayFormat
-
VideoFieldType
-
VideoFrameRect
-
VideoPixelAspectRatio
New constants are available for easier relevant read / write, for example,
-
constants.PixelAspectRatio.SQUARE
-
constants.VideoFieldType.PROGRESSIVE
-
constants.AudioChannelType.MONO
-
.. more! Check updated type definition / documentation website
More Sequence API:
-
Sequence.createSetInPointAction()
-
Sequence.createSetOutPointAction()
SequenceEditor Mogrt API:
-
SequenceEditor.insertMogrtFromPath()
-
SequenceEditor.insertMogrtFromLibrary()
-
SequenceEditor.getInstalledMogrtPath() - returns directory path to Premiere mogrts
TrackItem & ProjectItem & FolderItem Rename action
-
trackItem.createSetNameAction()
-
projectItem.createSetNameAction()
ProjectItem Media API: access media associated projectItem
-
projectItem.getMedia()
-
media.start
-
media.Duration
-
media.createSetStartAction()
AudioFilterFactory API - creation and application of audio effects
-
AudioFilterFactory.getDisplayNames()
-
AudioFilterFactory.createComponentByDisplayName()
VideoFilterFactory API - get display name of video effects
- VideoFilterFactory.getDisplayNames()
TickTime API - Helper API for more accurate time calculations
-
add()
-
subtract()
-
divide()
-
multiply()
-
equals()
-
alignToFrame()
-
alightToNearestFrame()
Marker API
- getColor() - returns marker color as Color object with Rgba values
Color APIs:
-
red
-
green
-
blue
-
alpha
New events!
-
SnapEvent
-
OperationCompleteEvent
Bug Fix:
-
Sequence.getSettings() N/A: getSettings() API is now available to use
-
Get and set color parameters of video effect unavailable: get/set of color parameter for video effect (Ex. Map to Black parameter for Tine effect) is available through Color object mentioned above.
- Sample Panel: new buttons for sample usage of new APIs and improved type definition and no more extra step required to fix-imports!