[REQ] Auto loop generator

What type of scripts do you need?

Moderator: byronnash

Post Reply
jason
Posts: 3
Joined: March 4th, 2008, 2:17 pm

Greetings,

I'm looking for a way to improve my work flow and have the notion that this can be done with scripting.
As I'm just getting comfortable with writing expressions from scratch or modifying existing ones.
But I don't think I'm ready to try writing a script,
yet.
What I would like to accomplish with "my" first script
is an auto looper generator for rendered movie comps or precomps
Splitting a clip or precomp, re ordering the in and out point, crosfading then setting the new comp end time
Generally speaking this would be a utility for batch processing large numbers of clips
and making them into individule loops to use in a media server application.
I have the keyboard shortcut sequence down and when I am doing a batch run of these I can move pretty fast and get in a good rhythm.
But since its such a repetitive task I would like to automate it in a preset action like recording actions in Photoshop.
The only way to do this in AE as far as I know is scripting.
The execution would be as follows....

apply script to current comp (with single movie file/precomp)
go to 0:00:02:00
split clip (ctrl/shift ,D)
go to (0:00:0:00)
set layer 1 inpoint
go to to layer 1 out point minus 1 second
select layer 2
set layer 2 inpoint
select layer 1
insert transparency keyframe @100%
go to outpoint
insert transparency keyframe @0%
select layer 2
go to outpoint
set end to current time

This is the bulk of what I would like to do
and having a script or even a GUI
button that does this would save me
(and potentially anyone else that makes loops from
nonlooped compositions on a regular basis)
buckets of time spent repeating this process.

Other variables that could be added but are not necessary...
add to render queue after applying


apply to source folder contents
(IE: make comps from movie folder and apply to said comps)
add to render queue
and renaming comp and output file with a prefix of "loop_"

variable transition time(would have to change all go to and split times based on trans time variable)

If anyone finds this process as a valuable time saver
and wants to take it on. I would me more than appreciative.
I promise to learn something in the process and share my knowledge if an when I can.

If this script or something similar exists,
sorry for the long post and.... Link please.

Your's in pixels,
-Jason
Post Reply