Highlighted

Automate simple render pipline

Community Beginner ,
Aug 13, 2020

Copy link to clipboard

Copied

Hi,

Sorry for duplicating (posted also in AME),

Is it possible to automate a render pipeline that I have, prefferably without using GUI and even without Premier Pro, but rather just the AME?

I want to automate the task of genrating time interpolated video using Optical Flow, from input videos or image sequences.

I'm using PP 14.3.1 & AME 14.3.1.

 

My currently manual flow:

1. Load a video or image sequence to PP (if image sequence, load as a video)

2. change in "Speed/Duration" the speed to 10%

3. change "time interpolation" to optical flow

4. export clip to AME with some custom preset (no audio, CBR etc.) and render

 

I'll be happy to any help of how to approach this.

Many thanks,

Matan

Step 2 might be possible, use AME's preferences to get the right assumed frame rate; step 3 seems like it'd require PPro.


Yes, UI will always be invoked, when scripting Adobe's applications.

Topics

Export, How to, SDK

Views

79

Likes

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

Automate simple render pipline

Community Beginner ,
Aug 13, 2020

Copy link to clipboard

Copied

Hi,

Sorry for duplicating (posted also in AME),

Is it possible to automate a render pipeline that I have, prefferably without using GUI and even without Premier Pro, but rather just the AME?

I want to automate the task of genrating time interpolated video using Optical Flow, from input videos or image sequences.

I'm using PP 14.3.1 & AME 14.3.1.

 

My currently manual flow:

1. Load a video or image sequence to PP (if image sequence, load as a video)

2. change in "Speed/Duration" the speed to 10%

3. change "time interpolation" to optical flow

4. export clip to AME with some custom preset (no audio, CBR etc.) and render

 

I'll be happy to any help of how to approach this.

Many thanks,

Matan

Step 2 might be possible, use AME's preferences to get the right assumed frame rate; step 3 seems like it'd require PPro.


Yes, UI will always be invoked, when scripting Adobe's applications.

Topics

Export, How to, SDK

Views

80

Likes

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
Adobe Employee ,
Aug 13, 2020

Copy link to clipboard

Copied

AME has no APIs around changing anything, within a project; this would have to be done in PPro, which will show its UI.

Even in PPro, there's no API around re-timing clips. However...

If you set up a template project with placeholder footage, and applied your speed changes and interpolation type, you could then simply import the actual media as a new projectItem, and replace the projectItem used by the placeholder footage's clip, then render. 

Replace media: 

https://github.com/Adobe-CEP/Samples/blob/715fa08b3f267e0183221205353079fc7f8f6d00/PProPanel/jsx/PPR...

Render: https://github.com/Adobe-CEP/Samples/blob/715fa08b3f267e0183221205353079fc7f8f6d00/PProPanel/jsx/PPR...

Likes

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
Reply
Loading...
Community Beginner ,
Aug 13, 2020

Copy link to clipboard

Copied

@bbb_999, Thanks very much for the answer.

I'm new to Adobe CEP, and not sure I've understand your answer.
So there will be UI invokation in any case?

 

I found a way to use only AME for my need, so not sure a project is needed even:

1. Load a video or image sequence in AME (if image sequence, load as a video)

2. Interpret footage -> assume this frame rate = 1

3. change "time interpolation" to optical flow and other export settings (e.g. output frame rate = 10)

4. render

Maybe steps 1&2 could be united, and 3 as loading a preset.

Is it possible then to automate it that way?

I'm interested in generating many interpolated videos from short videos (input length could be <100 frames)

 

Many thanks again,

Matan

 

Likes

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
Reply
Loading...
Adobe Employee ,
Aug 13, 2020

Copy link to clipboard

Copied

Step 2 might be possible, use AME's preferences to get the right assumed frame rate; step 3 seems like it'd require PPro.


Yes, UI will always be invoked, when scripting Adobe's applications.

Likes

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
Reply
Loading...
Matanj LATEST
Community Beginner ,
Aug 13, 2020

Copy link to clipboard

Copied

OK, many thanks for your rapid replies:)

Likes

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
Reply
Loading...