Sergio Cabrera
Forum Replies Created
-
Yes, you’re correct Tomas, I had to disable the auto-save function.
It is a project that I use as template to create videos for clients, depending on their scripts I would take the scenes that match the script. It includes shapes that dynamically change size to fit the amount of text.
Some effects require pre-composing which doubles the amount of compositions in the project.
This is what I’ve done:
1- Used default color/layer/slider controls to avoid using 1 more layer per scene. (Reduced 600 layers)
2- Pre-rendered every non-dynamic compositions and deleted hundreds of compositions. (Reduced 150 layers)
3- Started using -noui and rendering from jsx, so it won’t load graphic interface. (Reduced loading time)It helped a bit, but it seems like importing pre-rendered PNG sequences or MOV Alpha files from the SSD’s takes some time as well… So I’m not pretty sure if that helped or not, the render time was lower this way for sure, but not changed a lot the project opening time.
-
Hello, it depends on what you mean by “appear”. You could make a hidden layer visible with the following script line:
app.project.item(1).layer(1).enabled = true;
And this to hide the layer:
app.project.item(1).layer(1).enabled = false;
Make sure to specify the item and layer numbers correctly.
-
Yes, -45,-45 works pretty nice. Thank you both!
-
I mean, easeOut is suposed to smooth at the end but it’s too abrupt anyway, any way to make the leveling smoother?
-
Thank you Dan, you are amazing.
What “easeOut” alternatives are? It cuts the audio too abruptly even at 3 or 4 seconds, I need to make it smoother, like linear out?
-
Thank you Dan!
-
Thank you. One more question, can copyToComp() be used to copy a comp to another comp or it only works with layers?
-
Working great, sorry, I was having problems understanding the function, my ego would like to blame the lack of coffee. Thank you so much Dan, you’re a god at this! You make it look so easy.
function getComp(theName){
for (var i =1; i <= app.project.numItems; i++){
if ((app.project.item(i) instanceof CompItem) && (app.project.item(i).name == theName)){
return app.project.item(i);
}
}
return null;
}// test
var compName = "Comp1";
var myComp = getComp(compName);var NewCompositionName = "Comp 2"
function renameComposition(newName) {
var curComp = null;
curComp = getComp(compName);
curComp.name = newName;
}renameComposition(NewCompositionName)
-
There is kinda a loop or I’m not understanding the function, I start by knowing the comp name and at the end of the function I get the same name I knew at the start.
alert (myComp); would retrieve: [object CompItem] instead of app.project.item(1) which is “Comp 1”
How do I add some actions to the “Comp 1” composition? Can you show me an example of renaming “Comp 1” composition name or some other action to get a clear idea?
I was hoping to do something like this:
var newname = "Comp 2"function renameComposition(newName) {
var curComp = null;
curComp = app.project.item(1);
curComp.name = newName;
}renameComposition(Comp 2)
But replacing app.project.item(1); with myComp:
var compositionName = "Comp 2"function renameComposition(newName) {
var curComp = null;
curComp = myComp
curComp.name = newName;
}renameComposition(compositionName)
-
Found the solution. Had to create an offset variable containing the height of the text/2, then position equals x,y-offset on the position attribute of the text layer, so the text is always vertically aligned (I’m wondering why AE doesn’t comes with this feature in the Paragraph section, seems pretty useful).