Skip to main content
Participating Frequently
March 19, 2025
Answered

MediaEncoder parallel encoding from CEP

  • March 19, 2025
  • 1 reply
  • 531 views

Hi all, I am developping a panel for Premiere Pro and have a little question

We have video montages with a lot of shots and we have to export them one by one, in several formats. 
So we developed a panel to automate the process, and it works fine, but I believe it could be improved.

 

For each shot we export multiple videos: one of good quality, one not so good, and for each quality, one with styling (text...) and one without. 

So for each shot we export 4 videos. Now I see that MediaEncoder can run jobs in parallel when they use the same source. But  I don't know if it's possible to use this feature when using MediaEncoder from CEP.

 

I call MediaEncoder using the  app.encoder.encodeSequence(...) while I loop over the clips to trigger the encodings. But then in MediaEncoder they run sequentially. Is there a way to make them run in parallel ?

Thanks

Correct answer bbb_999

AME's "Enable Parallel Encoding" preference (under General) should enable that, but...the laws of physics still apply, and those renders will each still take as long as they would have taken, had they been performed sequentially.

1 reply

bbb_999
Adobe Employee
bbb_999Correct answer
Adobe Employee
March 19, 2025

AME's "Enable Parallel Encoding" preference (under General) should enable that, but...the laws of physics still apply, and those renders will each still take as long as they would have taken, had they been performed sequentially.

Participating Frequently
March 19, 2025

Of course, the time saving won't be enormous, but when I was testing, I had the impression that I was going slightly faster by parallelizing, given that these are short videos to encode.

The settings "Enable Parallel Encoding" in AME is enabled by default, but still, when calling AME from CEP, jobs are added independently to the rendering queue. So I guess there's no way to "group" jobs together to benefit from parallelism ?

bbb_999
Adobe Employee
Adobe Employee
March 19, 2025

Correct.