I can’t think of a way of doing this without building each “layer” of videos, either via a particular emitter(that would be very CPU intense). Here’s an expression I use to align a bunch of layers pretty quickly if they are all the same size. The places you would need to adjust would be the columns variable, the width and height between columms, and the origin position. For a bunch of PIP’s. I would put each one in a precomp(just drag them all on the make a comp button). Use the CompSetter script to resize them all smaller, 320×180, then drop them into a final comp and apply the expression to the position property of the videos. You could modify the expression to tie the variables to a master control null that you place at the bottom of your layer stack, that would make it easier to make adjustments if needed.
var columns = 8;
var spaceBetweenLayers = thisLayer.width + 15;
var spaceBetweenRows = thisLayer.height +15;
var x = ((index-1) % columns) * spaceBetweenLayers;
var y = Math.floor((index-1) / columns) *spaceBetweenRows;
var origin = [125,125];
origin + [x,y]
You would get something like this: 10120_positionexpression.aep.zip
Johnny Cuevas, Editor
ThinkCK
“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.