• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Export frame

New Here ,
May 09, 2014 May 09, 2014

Copy link to clipboard

Copied

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.

Screen Shot 2014-05-09 at 4.19.33 PM.png

Ale

TOPICS
SDK

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 12, 2014 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 r

...

Votes

Translate

Translate
Advisor ,
May 12, 2014 May 12, 2014

Copy link to clipboard

Copied

Hi Ale,

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 12, 2014 May 12, 2014

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 23, 2017 Oct 23, 2017

Copy link to clipboard

Copied

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

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 23, 2017 Oct 23, 2017

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 24, 2017 Oct 24, 2017

Copy link to clipboard

Copied

Thank you,

I've tried using exportCurrentFrameAsPNG function and it had no effect. the function inside, activeSequence.exportFramePNG returns false. it was on premiere 11.1.2

First I tried copying the function from the example, after that didn't work I downloaded and installed the whole PProPanel, and even there any function that uses exportFramePNG doesn't work, for example the button that exports frames from markers moves the playhead along each of the markers, but still nothing is exported.

Is it broken? Is there a replacement function?

Thanks

M

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 24, 2017 Oct 24, 2017

Copy link to clipboard

Copied

I've confirmed that PProPanel loads and runs, and exportCurrentFrameAsPNG() is working correctly. Check your ~/Desktop for .png files.

Perhaps you didn't have an active sequence, when you invoked it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 15, 2024 Feb 15, 2024

Copy link to clipboard

Copied

LATEST

Hi, where and how do you define "presetPath" when exporting as png? It's not defined nowhere in PProPanel. At least I didn't find it.

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines