Search found 115 matches

by Redsandro
March 1st, 2010, 3:40 pm
Forum: Scripts Discussion
Topic: Detailed rendertime script?
Replies: 8
Views: 13714

Re: Detailed rendertime script?

So if you're right, rendering will boost massively if I render singlecore (3 GB limit) and create a 4GB RAMdrive and put my swapfile on there?
by Redsandro
March 1st, 2010, 1:34 pm
Forum: Scripts Discussion
Topic: Detailed rendertime script?
Replies: 8
Views: 13714

Re: Detailed rendertime script?

Yes that is what I mean. But with it turned off, it takes even longer!

I think AE can use a maximum of 2,4 GB per core. So with 3 cores it uses 7,2 GB of memory. Am I wrong?

Remember that I am not making Avatar 2. I am just doing some multiplane rendering to simulate depth.
by Redsandro
March 1st, 2010, 12:51 pm
Forum: Scripts Discussion
Topic: Detailed rendertime script?
Replies: 8
Views: 13714

Re: Detailed rendertime script?

I don't think so. There's hardly any hard drive activity. I've got 8 GB of ram. Only 6GB is used when multithreading. But there's something bottlenecking because my cores are half busy at best. Some functions are just badly optimized and I wish there was a way to find out which ones are lagging duri...
by Redsandro
February 22nd, 2010, 1:38 pm
Forum: Scripts Discussion
Topic: Detailed rendertime script?
Replies: 8
Views: 13714

Re: Detailed rendertime script?

I will raise this question again because I have to rerender some of my earlier composits for a videoclip. I am on a deadline. And right now, it takes 40 minutes per frame to render. It's just 3d layers. Not even close to fancy, just 3d. Similar shots not 3d take about 10 seconds per frame. Is it at ...
by Redsandro
February 2nd, 2010, 6:43 am
Forum: Scripts Discussion
Topic: Get the Index of ProjectItem
Replies: 7
Views: 14399

Re: Get the Index of ProjectItem

Somehow I thought it didn't work like that. That's why I made function getItemId(item).
Using like so:
var tmpSource = app.project.item(getItemId(layer.source)).duplicate();
Because it doesn't seem to work with layer.source.duplicate();
by Redsandro
February 1st, 2010, 11:33 am
Forum: Scripts Discussion
Topic: Get the Index of ProjectItem
Replies: 7
Views: 14399

Re: Get the Index of ProjectItem

if you're wanting to replace a footage layer with an item in the Project panel, couldn't you just use the AVLayer replaceSource() method, which takes an AVItem object? e.g., myLayer.replaceSource(matchingItem, true); I am trying to do something similar, use duplicate() on a ProjectItem. Is there a ...
by Redsandro
January 31st, 2010, 11:35 pm
Forum: Scripts Discussion
Topic: Replace words in expressions - script doesn't work
Replies: 6
Views: 19615

Re: Replace words in expressions - script doesn't work

prop.expression = prop.expression.replace(/thisComp/g,newName); var search_text = new RegExp(search_text, "g"); prop.expression.replace(regFind, strReplace); does not work with ( in the search-term. On the other hand, prop.expression.split(strFind).join(strReplace); does not work when the...
by Redsandro
January 30th, 2010, 2:54 pm
Forum: Scripts Discussion
Topic: Offsetting all keyframes - please take a look at this script
Replies: 11
Views: 20551

Re: Offsetting all keyframes - please take a look at this script

I never checked it out because I never got the extend toolkit thing to open. (Automatically installed with the suite, right?). But that was back in the XP days, I run Win7 now. New round new chances so I'll check it out during my next scripting. (CS3 still. My money will skip CS4. I think the true i...
by Redsandro
January 30th, 2010, 2:43 pm
Forum: Scripts Discussion
Topic: Offsetting all keyframes - please take a look at this script
Replies: 11
Views: 20551

Re: Offsetting all keyframes - please take a look at this script

Wow... This could have saved me a lot of work a few weeks back, which I unfortunately had to do manually because I couldn't figure it out. But it's awesome that you fixed it! I will definitely store this for my next possible need of moving them. And thanks for the advice on arrays, it explains why s...
by Redsandro
January 11th, 2010, 9:57 am
Forum: Scripts Discussion
Topic: Offsetting all keyframes - please take a look at this script
Replies: 11
Views: 20551

Re: Offsetting all keyframes - please take a look at this script

Even then, it only moves the last keyframe.
I give up. :cry:
by Redsandro
January 11th, 2010, 9:53 am
Forum: Scripts Discussion
Topic: Offsetting all keyframes - please take a look at this script
Replies: 11
Views: 20551

Re: Offsetting all keyframes - please take a look at this script

Oh I get it.. I was testing on mask path keyframes, but other keyframes get detected. Mask paths keys don't.

Any idea why?
by Redsandro
January 11th, 2010, 9:34 am
Forum: Scripts Discussion
Topic: Offsetting all keyframes - please take a look at this script
Replies: 11
Views: 20551

Re: Offsetting all keyframes - please take a look at this script

I got it. for (p = 1; p <= pGroup.numProperties; p++) should be for ( var p = 1; p <= pGroup.numProperties; p++) Otherwise (I didn't know this until my headache discovered there was no other explanation) p is declared global, making each subcall of the function reference the old value of p , thus in...
by Redsandro
January 11th, 2010, 5:09 am
Forum: Scripts Discussion
Topic: Offsetting all keyframes - please take a look at this script
Replies: 11
Views: 20551

Offsetting all keyframes - please take a look at this script

We are trying to offset all keyframes by x frames and we came up with this script, but it will make AE CS3 hang in an infinite loop. Basically it finds keyframes, sets new ones at the offset time and deletes the old ones. Sounds pretty easy but obviously there's something wrong with the script. Can ...
by Redsandro
December 4th, 2009, 5:15 am
Forum: Scripts Discussion
Topic: Detailed rendertime script?
Replies: 8
Views: 13714

Detailed rendertime script?

It's funny (not really) how precomping a lot of my layers to add some functionality changes the rendertime of my 30 second composition from 1 hour to 10 hours . So I was wondering.. is there a way to get detailed per-layer rendertimes? For example, could we have a script attach an expression to ever...
by Redsandro
October 31st, 2009, 4:03 pm
Forum: Script requests
Topic: Footage cleanup script
Replies: 0
Views: 5483

Footage cleanup script

Is there something like this? I have a folder with a few dozen comps and over 200GB of footage. Audio, sequences, video files.. and I know a lot of them aren't used anymore, I just don't know which. Therefore I can probably throw 50GB away, making my backup storage more happy. Is there a script that...