Gabriel Valkama
Forum Replies Created
-
Gabriel Valkama
October 10, 2014 at 6:25 am in reply to: Free script for replacing multiple footage filesCan you be more specific?
Like…
– make a list of all comps with proxies and only one sequence inside of them
– replace all found sequences with the corresponding proxiesor would you need more automation than that?
-
Gabriel Valkama
October 9, 2014 at 7:17 am in reply to: Free script for replacing multiple footage filesIt seems like you can’t access the pickwhip of the postRenderAction.IMPORT_AND_REPLACE_USAGE. That way I could make a script that would link the replace operation straight to the sequences. It’s a shame.
https://blogs.adobe.com/aftereffects/files/2012/06/After-Effects-CS6-Scripting-Guide.pdf page 111.
-
Gabriel Valkama
October 8, 2014 at 6:52 am in reply to: Free script for replacing multiple footage filesThanks for the suggestion!
The way AE imports and replaces sequences is awfully slow (at least with half float .exr). I have a dream to replace those operations with something better. I know it is possible, as I made an autocomper script for vray passes some years ago (haven’t had the time to recode it for CS6). The script I made imported seguences a lot faster than the default import.
So, it would be possible to make a new way to replace. It would work like this:
– scripted fast import for new footage
– check where the old footage is used (in what comps)
– replace all found layers with the new footage
– delete old footage from project viewIf I manage to do this, then what you are suggesting should work as a side product. This could take some time.
EDIT:
also I have to think an efficient way for the user to do what you asked. Maybe you’d…
– Put all the movie files on a single folder. Copy that folder path to the main textbox.
– Press “Replace with video” or something? Then the script would find matches by comparing the filenames of the selected items to all the files found in the folder, and replace as when a match is found.Can I ask what kind of image sequences you use? I’ve never had the urge to recode seguences when using lzw packed .tif or any kind of .exr files. And I like to keep stuff lossless. What are the benefits you get from recoding to video files?
-
Gabriel Valkama
October 7, 2014 at 6:59 am in reply to: Free script for replacing multiple footage filesI just gave it a go and it worked fine with .mp4 and .wmv files.
How did you test this?
If you used the ‘Paste path’ button, the footage must already exist in the new location. Otherwise you have to use the ‘Move footage’ or ‘Copy footage’ buttons. With those buttons the folder must already exist.
EDIT:
Took some time to bump into the problem myself, I fixed it and the new version (v07) can be found at the same place. Thank you for your feedback! -
Gabriel Valkama
October 6, 2014 at 5:40 pm in reply to: Free script for replacing multiple footage filesGood point, I didn’t test this with video clips at all. I should have time to look at that tomorrow.
-
Gabriel Valkama
October 6, 2014 at 11:12 am in reply to: Free script for replacing multiple footage filesThank you for the suggestions!
I guess I did some very lazy googling on the subject. I’ll check those out.
-
Gabriel Valkama
October 6, 2014 at 11:11 am in reply to: Free script for replacing multiple footage filesIt should work with all footage items. Sequences, stills, audio, etc.
-
Just had to create the window before populating the listbox:
var FSWindow = new Window("palette","Listbox Scroll Bug", undefined);var FSList = FSWindow.add("listbox", [0,0,200,205], "FS List", {multiselect:true, numberOfColumns: 2, showHeaders: true, columnTitles: ["First","Second"]});
FSWindow.center();
FSWindow.show();for (i=0;i<50;i++)
{
var curItem = FSList.add ('item', "Row"+String(i)); // Column 1
curItem.subItems[0].text = "Row"+String(i); // Column 2
}
-
Scrolling seems to work when using ‘ExtendScript Toolkit CS6’ as the target application. When changing to ‘Adobe After Effects CS6 (11.0)’ scrolling breaks.
-
had to replace the .expression line with this:
effetParticular.property(“Particles/sec”).expression = (“value*thisComp.layer(\”” + effetNbParticules.name + “\”)(\””+myWord+ “\”)”);
as you have to use \” inside a string to get a “. Otherwise it ends the string.
Don’t know why the “Particles/sec” lines don’t work though, sorry.