Samples icon indicating copy to clipboard operation
Samples copied to clipboard

ExportAAF example is wrong

Open HeyEvgenii opened this issue 1 year ago • 0 comments

at https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/PPRO/Premiere.jsx ExportAAF function example is misleading, with the set arguments function will return 1 due to the 'explode to mono?' argument, changing it to 1, will enable other params be accessible. Also the function takes 14 arguments, not 11

app.project.exportAAF(	app.project.activeSequence, // which sequence
										fullOutPath, 	// output path
										1, 				// mix down video?
										0, 				// explode to mono?
										96000, 			// sample rate
										16, 			// bits per sample
										0, 				// embed audio?
										0, 				// audio file format? 0 = aiff, 1 = wav
										0, 				// number of 'handle' frames
										0/*
										optionalPathToOutputPreset*/); // optional; .epr file to use

HeyEvgenii avatar Jan 23 '24 05:01 HeyEvgenii