@adobe/premierepro 26.3.0-beta.43 → 26.3.0-beta.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/premierepro.d.ts +191 -0
package/package.json
CHANGED
package/src/premierepro.d.ts
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
export declare type premierepro = {
|
|
15
|
+
AAFExportOptions: AAFExportOptions;
|
|
15
16
|
Action: Action;
|
|
16
17
|
AddTransitionOptions: AddTransitionOptions;
|
|
17
18
|
AppPreference: AppPreferenceStatic;
|
|
@@ -81,6 +82,171 @@ export declare type premierepro = {
|
|
|
81
82
|
Constants: typeof Constants;
|
|
82
83
|
};
|
|
83
84
|
|
|
85
|
+
export declare type AAFExportOptions = {
|
|
86
|
+
/**
|
|
87
|
+
* Constructs a new instance of the AAFExportOptions class.
|
|
88
|
+
* @constructor
|
|
89
|
+
*/
|
|
90
|
+
new (): AAFExportOptions;
|
|
91
|
+
(): AAFExportOptions;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* When true, renders the sequence video to a single media file for AAF export (video mixdown) instead of relying only on linked source clips
|
|
95
|
+
*
|
|
96
|
+
* @param mixdownVideo
|
|
97
|
+
*/
|
|
98
|
+
setMixdownVideo(mixdownVideo: boolean): AAFExportOptions;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* When true, exports multichannel audio as separate mono media files (one file per channel)
|
|
102
|
+
*
|
|
103
|
+
* @param explodeToMono
|
|
104
|
+
*/
|
|
105
|
+
setExplodeToMono(explodeToMono: boolean): AAFExportOptions;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Set the audio sample rate
|
|
109
|
+
*
|
|
110
|
+
* @param sampleRate
|
|
111
|
+
*/
|
|
112
|
+
setSampleRate(sampleRate: number): AAFExportOptions;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Set the audio bits per sample
|
|
116
|
+
*
|
|
117
|
+
* @param bitsPerSample
|
|
118
|
+
*/
|
|
119
|
+
setBitsPerSample(bitsPerSample: number): AAFExportOptions;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Set whether to embed audio in the AAF file
|
|
123
|
+
*
|
|
124
|
+
* @param embedAudio
|
|
125
|
+
*/
|
|
126
|
+
setEmbedAudio(embedAudio: boolean): AAFExportOptions;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Set the audio file format (0 for AIFF, 1 for WAV)
|
|
130
|
+
*
|
|
131
|
+
* @param audioFileFormat
|
|
132
|
+
*/
|
|
133
|
+
setAudioFileFormat(audioFileFormat: number): AAFExportOptions;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Set whether to trim sources
|
|
137
|
+
*
|
|
138
|
+
* @param trimSources
|
|
139
|
+
*/
|
|
140
|
+
setTrimSources(trimSources: boolean): AAFExportOptions;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Set the number of handle frames
|
|
144
|
+
*
|
|
145
|
+
* @param handleFrames
|
|
146
|
+
*/
|
|
147
|
+
setHandleFrames(handleFrames: number): AAFExportOptions;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Path to the encoder preset file (.epr) used when mixdown video is enabled
|
|
151
|
+
*
|
|
152
|
+
* @param videoMixdownPresetPath
|
|
153
|
+
*/
|
|
154
|
+
setVideoMixdownPresetPath(videoMixdownPresetPath: string): AAFExportOptions;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Set whether to render audio effects
|
|
158
|
+
*
|
|
159
|
+
* @param renderAudioEffects
|
|
160
|
+
*/
|
|
161
|
+
setRenderAudioEffects(renderAudioEffects: boolean): AAFExportOptions;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Set whether to interleave without effects
|
|
165
|
+
*
|
|
166
|
+
* @param interleaveWithoutEffects
|
|
167
|
+
*/
|
|
168
|
+
setInterleaveWithoutEffects(interleaveWithoutEffects: boolean): AAFExportOptions;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* When true, exploded mono audio is written under a subdirectory named after the folder that contained each clip's source media on disk
|
|
172
|
+
*
|
|
173
|
+
* @param preserveParentFolder
|
|
174
|
+
*/
|
|
175
|
+
setPreserveParentFolder(preserveParentFolder: boolean): AAFExportOptions;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* True if the exporter will render a single mixed-down video file
|
|
179
|
+
* @readonly
|
|
180
|
+
*/
|
|
181
|
+
readonly mixdownVideo: boolean;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* True if multichannel audio is exported as separate mono files per channel
|
|
185
|
+
* @readonly
|
|
186
|
+
*/
|
|
187
|
+
readonly explodeToMono: boolean;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Get the audio sample rate
|
|
191
|
+
* @readonly
|
|
192
|
+
*/
|
|
193
|
+
readonly sampleRate: number;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Get the audio bits per sample
|
|
197
|
+
* @readonly
|
|
198
|
+
*/
|
|
199
|
+
readonly bitsPerSample: number;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Get whether to embed audio in the AAF file
|
|
203
|
+
* @readonly
|
|
204
|
+
*/
|
|
205
|
+
readonly embedAudio: boolean;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Get the audio file format (0 for AIFF, 1 for WAV)
|
|
209
|
+
* @readonly
|
|
210
|
+
*/
|
|
211
|
+
readonly audioFileFormat: number;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Get whether to trim sources
|
|
215
|
+
* @readonly
|
|
216
|
+
*/
|
|
217
|
+
readonly trimSources: boolean;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Get the number of handle frames
|
|
221
|
+
* @readonly
|
|
222
|
+
*/
|
|
223
|
+
readonly handleFrames: number;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Get the video mixdown preset path
|
|
227
|
+
* @readonly
|
|
228
|
+
*/
|
|
229
|
+
readonly videoMixdownPresetPath: string;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Get whether to render audio effects
|
|
233
|
+
* @readonly
|
|
234
|
+
*/
|
|
235
|
+
readonly renderAudioEffects: boolean;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Get whether to interleave without effects
|
|
239
|
+
* @readonly
|
|
240
|
+
*/
|
|
241
|
+
readonly interleaveWithoutEffects: boolean;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Get whether to preserve parent folder
|
|
245
|
+
* @readonly
|
|
246
|
+
*/
|
|
247
|
+
readonly preserveParentFolder: boolean;
|
|
248
|
+
};
|
|
249
|
+
|
|
84
250
|
export declare type Action = {};
|
|
85
251
|
|
|
86
252
|
export declare type AddTransitionOptions = {
|
|
@@ -2371,6 +2537,19 @@ export declare type ProjectColorSettings = {
|
|
|
2371
2537
|
};
|
|
2372
2538
|
|
|
2373
2539
|
export declare type ProjectConverterStatic = {
|
|
2540
|
+
/**
|
|
2541
|
+
* Export a sequence as an AAF (Advanced Authoring Format) file to the specified output path.
|
|
2542
|
+
*
|
|
2543
|
+
* @param sequence
|
|
2544
|
+
* @param filePath
|
|
2545
|
+
* @param aafExportOptions
|
|
2546
|
+
*/
|
|
2547
|
+
exportAAF(
|
|
2548
|
+
sequence: Sequence,
|
|
2549
|
+
filePath: string,
|
|
2550
|
+
aafExportOptions?: AAFExportOptions
|
|
2551
|
+
): Promise<boolean>;
|
|
2552
|
+
|
|
2374
2553
|
/**
|
|
2375
2554
|
* Export a sequence as Final Cut Pro XML to the specified output file path.
|
|
2376
2555
|
*
|
|
@@ -2396,6 +2575,18 @@ export declare type ProjectConverterStatic = {
|
|
|
2396
2575
|
outputFilePath: string,
|
|
2397
2576
|
suppressUI?: boolean
|
|
2398
2577
|
): Promise<boolean>;
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* AAF Export Audio Format AIFF
|
|
2581
|
+
* @readonly
|
|
2582
|
+
*/
|
|
2583
|
+
readonly AAF_EXPORT_AUDIO_FORMAT_AIFF: number;
|
|
2584
|
+
|
|
2585
|
+
/**
|
|
2586
|
+
* AAF Export Audio Format WAV
|
|
2587
|
+
* @readonly
|
|
2588
|
+
*/
|
|
2589
|
+
readonly AAF_EXPORT_AUDIO_FORMAT_WAV: number;
|
|
2399
2590
|
};
|
|
2400
2591
|
|
|
2401
2592
|
export declare type ProjectConverter = {};
|