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

Work on Frames in Parallel

Participant ,
Apr 09, 2015 Apr 09, 2015

Hello,

Is there a way in the SDK to ask for X numbers of frames, work on the in parallel and send back X processed frames?

I want to us the CPU palatalization to work on multiple frames.

Thank You.

TOPICS
SDK
394
Translate
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 Expert ,
Apr 09, 2015 Apr 09, 2015

hi royi!

in general, AE may call several frames to be rendered simultaneously,

whether you want it to or not.

as for forcing AE to take the result of multiple frames at a certain time,

and frames that you select and not requested by AE... there's no straight

forward way of doing that. but there are a couple of methods and

shenanigans i can think of.

1. you can cache the data in your global_data or sequence_data, and when

requested by AE to render a frame, just check if the ready made result is

already in.

2. you can use an AEGP call to render and checkout the item in which your

plug-in instance resides, which will force AE to render the frames you

wanted.

but again, it's usually AE that decides what frame is called for render.

Translate
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
Participant ,
Apr 13, 2015 Apr 13, 2015
LATEST

Hi Shachar,

Great you are here to answer.

OK, if I understand Adobe model, they are planning Parallel implementation in the future at the frame level.

I hope they will add some flag so the inside filter will not use Multi Threading as the performance will degrade because of overhead.

Moreover, let's say I operate on the temporal direction and use operation which cannot be parallelized, I hope they will give the user to add a flag which says, "Hi, I need the frames one after one".

Translate
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