-
Weird marker behavior
Hi folks, I’m trying to assemble every frame marked with a marker in a video layer via time remap. Frame 0 shows the frame marked with marker 1, frame 1 shows marker 2, etc.
try{
myFrame=time/thisComp.frameDuration+1;
myMarker=thisLayer.marker.key(myFrame).time;
}catch(err1){
value
}Now, weird things started happening beyond the 100 markers. Sometimes frames are repeated, sometimes frames are skipped. As a test, I used a 10.000 frame video and put a marker in every frame towards the end. Almost 50% of the frames are wrong.
When I put that code in an expression control effect without the try safety measure, those frames get AE to slow down significantly and end up showing an expression error. Variable myFrame always gets the right results.When I switch to marker.key.index, it also seems to be unreliable.
While searching, I found this unanswered question from years ago and I think the source of the problem may be similar.
https://creativecow.net/forums/thread/tiny-bug-in-after-effects-marker-time/Is this a known bug? Are there ways to get similar results in a more trustworthy way?