ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Random frame from four synced video layers

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Matthew BeallRandom frame from four synced video layers
by on Jul 31, 2013 at 4:12:39 am

I have four videos each on their on layer, in sync with each other.. Each video varies slightly and I want to have each composite frame show one of the corresponding video layer frames randomly.. For instance, frame 0 would show frame 0 from a random video layer (1-4), frame 1 would show frame 1 from a random video layer (1-4), etc.. How can I do this?

Return to posts index

John CuevasRe: Random frame from four synced video layers
by on Jul 31, 2013 at 11:42:59 am

Search/Ask in the Expressions forum.

Johnny Cuevas, Editor

"I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work."
---THOMAS EDISON on inventing the light bulb.

Return to posts index

siew keiRe: Random frame from four synced video layers
by on Jul 31, 2013 at 2:18:44 pm


I assume the 4 layers are full frame so they cover each other?

Perhaps you can trying this:
Apply the Strobe Light effect on the 3 uppermost layers.
Set the strobe duration = 0.04 sec (1 frame in PAL)
Set the strobe period = 0.16, 0.20 and 0.25 sec (different for each layer)
Set the strobe to "Make Layer Transparent".

This will make each layer appear for one frame (0.04 sec) and disappear for 3,4 or 5 frames (depending on what you set as the strobe period.

The frames are not truly random but will give that impression because the strobe period is slightly different for each layer.

You can also animate the strobe period for each layer so that the particular layer appears more frequently or less frequently over time.

Hope this is useful.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved