| Ok, try this as well then:
Bring in the footage as a sequence. Into a comp that you in the Compositing Settings set the start frame to your first image number (5261) Do the same with the rollover point: start that composition on frame 0.
Bring those into a new composition and sequence them.
Use the the first text layer with the expression in the earlier email. Then add another text layer and to that source text add the expression below. NOTE. Place this new one on top of the stack.
Now, you should have the clip names their internal numbering burned into the frames when rendering.
topLayer2Check = index + 2; myString = ""; for (j = topLayer2Check ; j <= thisComp.numLayers; j++){ myIn = thisComp.layer(j).inPoint; myOut = thisComp.layer(j).outPoint - thisComp.frameDuration / 2; mySizew = thisComp.layer(j).width; mySizeh = thisComp.layer(j).height; newTime = thisComp.layer(j).sourceTime(t = myIn); myTime = thisComp.layer(j).timeToFrames(t = time + thisComp.displayStartTime-myIn+newTime, fps = 1.0 / thisComp.frameDuration, isDuration = false); if (myIn <= time && myOut >= time && j != index){ if (myString.length == 0){ // if 'myString' is empty// myString = myTime;
}else{ //if 'myString' has value then add carriage return and add next value// myString = myString + "\r" + thisComp.layer(j).name; } } } myString;
cool tobias - thanks. looks cool.
In this case, they are RAW files and it wants to bring up a processing dialog for each individual file when you drag in a folder like that... with 20,000 images, that will get old quick.
part of the problem is the files start numbering at 5261 or whatever at the beginning, and then eventually roll over. I'm thinking I might just renumber them and start with a clean 0000 or 0001
but honestly, it's a shame there doesn't seem to be a way to tap into the root level filename and access the exact frame being called. hmmm, I might just have to do this burn-in step in Nuke. meh.
|