Skip to main content
Participant
May 9, 2014
Answered

Export frame

  • May 9, 2014
  • 2 replies
  • 2579 views

Hi all, is it possible to export a frame of the sequence using the SDK, implementing what a used can do using the Export Frame command?

Thank you in advance.

Ale

This topic has been closed for replies.
Correct answer Bruce Bullis

Hello, Ale!

An ExtendScript script (.jsx file) or HTML5 panel (which calls ExtendScript) can do that. Please write me directly, and I'll get you a sample script (and panel) which do so.

b b b at adobe dot com

Reason for not just posting a sample script: There is a way of doing it, that would work, in 7.x. However, there is a much BETTER way of doing it in the version we <ahem> technology-previewed at NAB, which will be generally available, Really Soon Now™. Unless you're very pressed for time, we recommend you wait for the newer better way.

2 replies

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
May 12, 2014

Hello, Ale!

An ExtendScript script (.jsx file) or HTML5 panel (which calls ExtendScript) can do that. Please write me directly, and I'll get you a sample script (and panel) which do so.

b b b at adobe dot com

Reason for not just posting a sample script: There is a way of doing it, that would work, in 7.x. However, there is a much BETTER way of doing it in the version we <ahem> technology-previewed at NAB, which will be generally available, Really Soon Now™. Unless you're very pressed for time, we recommend you wait for the newer better way.

Inspiring
October 23, 2017

Hi Bruce, I would also very much like to know how to do that..

Thanks

Bruce Bullis
Community Manager
Community Manager
October 23, 2017

If .png is okay, you can just use PProPanel's exportCurrentFrameAsPNG() function:

https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/PPRO/Premiere.jsx#L62

If you'd like more control, use encodeSequence(), as demonstrated in PProPanel's render() function; set the in and out points to the beginning and end of the frame you want, and use a still-related .epr file.

https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/PPRO/Premiere.jsx#L465

Inspiring
May 12, 2014

Hi Ale,

It should be possible using scripting.  Bruce Bullis can share more details.