Skip to main content
Participating Frequently
February 18, 2012
Question

After Effects Split and Combine Comp Script - Help

  • February 18, 2012
  • 1 reply
  • 2957 views

Hi All

I have tried to search but to no avail so I turn to this cool forum to post my question.

We have a charity fun run coming up, and I am part of the team that films the finish line.

We record the finish line, we string the footage together into a comp in AE and we have this cool script that splits the comp up into 30 second rendered chunks. Also it staggers the split, so split 1 = 0 to 30 sec, split 2 = 15 to 45 sec, split 3 = 30 to 60 sec and so on. The goal of this is to create short video clips of 30 seconds were runners can see themselves cross the finish line. We stagger the script so the people who cross the line at say 29 sec can see themselves in the middle of the second clip, rather than the end of the first. Hopefully this all makes sense.

We would like to create a separate video of a logo spinning in, as well as a quick thank you message. We can then append these to the start and the end of each 30 second video.

So to my question...is there a way to create an AE script (or append the existing script) so that as AE splits up the video into 30 second chunks, it appends, say, the same separate 10 second comp (logo) at the start of each, and the same a 10 second comp (thank you for raising money) at the end of each of the 30 second clips?

Hopefully the above makes sense. I am pretty familiar with AE, but not so much the scripting side.

Any insight, suggestions, would be VERY welcome. Also FYI, we have over 1.5 hours of finish line footage, so LOTS of 30 second clips... hence why the splitting script was created in the first place.

Thanks

Lawrence

This topic has been closed for replies.

1 reply

Legend
February 19, 2012

That should be completely scriptable. If your logo clip is it's own dedicated comp and the "thank you" is also it's own dedicated comp, then in theory you could have your main script split the clip, toss it into it's own new comp with heads and tails for the logo and thank you comps, add the logo comp at the head, then add the thank you comp at the tail. Should be doable. The question is though, how was your main script written? It's formatting quite possibly will need to be re-written somewhat to accomodate the two new comps/workflow. It all really depends.

Participating Frequently
February 19, 2012

Thanks for the reply. Are you interested in having a look at the existing script, trying to make sense of it and having a go at adjusting it to do what you mention. I am not sure how well the existing script is written... I just know it works for the original goal... I am not really a coder and am especially new to AE script/code.

Legend
February 19, 2012

I would say feel free to post it here or email it to me, and I can try to take a look, but I can't make any guarentees on actually being able to do any full work on the script with my schedule being as packed as it is. if you do post it here, then you'll have the collective mind looking at it and a possible solution outside of my own may come to light.