Copy link to clipboard
Copied
I'm wondering if there is an expression that can cut(edit) a layer of footage. I have a clip of a person dancing in a room. They start in the back left corner of the room,then move to the front center of the room and then to the back right corner of the room. I want to cut this up in every three second, so the dancer is at one place three second and then jump cuts to another location next three second. I want it jump around in my clip every three second and each segment last "segLength" 3 sec.
I am running After Effects CC 2019 on Windows 10.
Copy link to clipboard
Copied
Use Premiere Pro for this -- much easier.
Copy link to clipboard
Copied
Do you know how can i change this code from random jump cuts to every three second jump cut?
segLength = .5; //seconds
dur = out_point - in_point;
segNum = Math.floor((time - in_point)/segLength);
seed_random(segNum + 1,true);
segStart = random(dur - segLength) + in_point;
segStart + (time - in_point)%segLength
Copy link to clipboard
Copied
I would use Time Remapping.
If you check the graph editor and enable it to show expressions you should see a stairstep. If you think you would like a few frames of fast motion between the normal speed shots just drag the third keyframe out a bit. You'll end up with something like this:
This will give you an even arrangement of 3-second normal speed clips on a single layer. Just trim the comp or the layer to the last frame you want visible. If you set the third keyframe 10 frames beyond the second frame then the motion will be normal for the first 3 seconds, then the next 15 seconds of real time will only take 10 frames so the dancer will fly to the new position instead of jumping there. You could even experiment with easing the keyframes. It might look kind of cool. The Adobe Stock shot of the folks throwing a Frisbee looked pretty neat when I created this sample project. It took about 3 minutes.
Copy link to clipboard
Copied
Menu Edit / Split Layer. So you can cut the Layer and then duplicate and duplicate.
Copy link to clipboard
Copied
You mean to do that in Premiere Pro?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now