Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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".