Copy link to clipboard
Copied
I noticed a strange behavior on part of After Effects: If a plug-in checks out the frame from a layer for a specific current_time, time_scale and time_step using checkout_layer_pixels(), After Effects does not always provide the same frame after you clear the image cache. For some values of current_time, After Effects will then return pixels with an offset of one or more frames. I can only reproduce this by using AVI and WMV files as video footage. My guess is, that After Effects' underlying frame decoder is not properly seeking through the video stream.
Does anyone experience this behavior as well? Is there any workaround? Could it be related to video codecs installed on my system? I am working on a plug-in that is required to iterate through video footage frame by frame and this iteration needs to be deterministic.
If you want to reproduce this, you need to a small effect plug-in that calculates a check sum (for eample CRC-32) of the checked out pixel data for each PF_Cmd_SMART_RENDER request and stores them together with the according current_time as key-value list. Then perform the following tests:
Results:
After Effects returns different frame content (different pixel data) when checking out a layer frame before and after clearing the image cache for the same current_time.
Expected results:
After Effects always returns the same frame content (equal pixel data) for the same current_time when checking out a layer frame.
Edited post to improve wording.
Copy link to clipboard
Copied
What exact version number of AE are you using?
Copy link to clipboard
Copied
Sorry for my slow reply. I am using After Effects CC (12.2.1.5) and After Effects CC 2014 (13.0.2.3) of which both show the buggy behavior mentioned above.
Copy link to clipboard
Copied
I've been out of the country and away from the internet for a while on
holiday. So, sorry for my late response as well...
Try updating to 13.1.1 and see if the issue remains.
Copy link to clipboard
Copied
I updated AE to 13.1.1, but I still get the same issues.