2

所以我一直在环顾四周,试图找到一种在 Adob​​e Premiere Pro 中使用扩展脚本导入图像序列的方法。

我可以使用以下方法导入单独的单个文件: app.project.importFiles(new Folder(folder_path));

但我不能选择将这些图像作为序列导入。

我尝试 opts = new ImportOptions(new File("path_to_image")); opts.sequence = true;在其中使用和调用它, app.project.importFiles(opts)但 Premiere 似乎不支持 ImportOptions,我不断收到一条错误消息,指出“ Import Options does not have a constructor ”...。

我假设 Premiere Pro 不支持 ImportOptions?

有没有其他方法可以使用 导入图像序列app.project.importFiles

谢谢!

4

1 回答 1

2

来自 Adob​​e 的 Bruce Bullis ( https://forums.adobe.com/message/9752499#9752499 ):

app.project.importFiles 的最后一个参数是 0 或 1,表示是否“将要导入的数组中引用的所有文件解释为图像序列”。

请参阅 PProPanel 中的用法:

Samples/Premiere.jsx at master · Adob​​e-CEP/Samples · GitHub:https ://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/PPRO/Premiere.jsx#L201

--> app.project.importFiles(importThese, 1, // suppress warnings targetBin, 0); // import as numbered stills

于 2017-08-09T15:33:17.453 回答