Change settings for selected footage items
Moderator: byronnash
Since AE is unable to change settings for more than one footage item at once, a script which allows to set all selected items e.g. to UPPER or LOWER FIELD would be a nice thing...
-
- Posts: 704
- Joined: June 5th, 2004, 7:59 am
- Location: London, UK
Here's a script that sets all selected footage to Lower Field.
Not sure how useful it is though. To do this kind of thing I'd probably just copy a file's Interpret Footage settings (Cmd-Alt-C), then select the rest of the files and apply the settings to them (Cmd-Alt-V).
Paul T
Code: Select all
{
var proj = app.project;
// make sure a project exists
if (proj) {
app.beginUndoGroup("Set Field Separation");
// loop through all items selected in project window
for (var a = 0; a < proj.selection.length; ++a) {
thisItem = proj.selection[a];
// check item is footage and is not a still image
if (thisItem instanceof FootageItem && !thisItem.mainSource.isStill) {
// set footage's field separation type.
thisItem.mainSource.fieldSeparationType = FieldSeparationType.LOWER_FIELD_FIRST;
// alternate field separation options
//thisItem.mainSource.fieldSeparationType = FieldSeparationType.UPPER_FIELD_FIRST;
//thisItem.mainSource.fieldSeparationType = FieldSeparationType.OFF;
}
}
app.endUndoGroup();
}
}
Paul T