After the effects of automation Script - color key formats WMV Files and return automatically?

Hello

I'm pretty new in the Adobe After Effects automation script, but I was wondering if it is possible to open multiple WMV files (each file has the same background color) and use an automated script to apply the same effects of parameters of color key for all the files and then automatically rendered all the files as FLV, RGB + Alpha and select the audio Bitrate 96.

Any help would be appreciated. Thank you.

I have in fact you have a waste of time and managed to put it together. There are a lot of comments to help explain what does what. You will need to change a few things for your use.

Line 9 # will need the path to your preset file.

Line 12 # will have the name of your preset OutputModule. It is case sensitive.

Line 31 # can be changed if you want that different file extensions. Right now he's looking for more specifically '.wmv' or '. '. WMV channels"in the name of the file.

{
  /*Choose a folder with WMV files*/
  var chooseFolder = Folder.selectDialog("Choose folder.");

  /*Choose render to folder*/
  var chooseRenderFolder = Folder.selectDialog("Choose folder to render to.");

  /*Set your animation preset name here*/
  var nameOfColorKeyPreset = File("/Users/gtm_osprey/Documents/Adobe/After Effects CC 2014/User Presets/MyColorKeyPreset.ffx");

  /*Set your Output Module preset name here*/
  var nameOfOutputModulePreset = "MyFLVOMPreset";

  slash = ($.os.toString().indexOf("Windows") == (-1)) ? "/" : "\\"; /*Determines the slash format for files paths*/

  /*Gather process into an undo group*/
  app.beginUndoGroup("ImportKeyThenRender");
  /*Validate folder object*/
  if(chooseFolder != null && chooseRenderFolder != null){
  /*Get files from folder*/
  var files = chooseFolder.getFiles();
  var filesLen = files.length;
  /*Declare variables*/
  var io, curFile, asset, myFiles;
  /*Create an AE folder for files*/
  var myWMVFiles = app.project.items.addFolder("WMVFiles");
  /*Loop through files and import them*/
  for(var f=0; f 
         

Tags: After Effects

Similar Questions

Maybe you are looking for