Code Monkey home page Code Monkey logo

node-batch-aerender's Introduction

node-batch-aerender

Batch rendering lots of compositions in After Effects really gets progressively slow... if I used AfterEffect's batch render to render 40 3 minute long animations. it would take 756 hours... um what?

The time it takes to render frames goes from 0-1s per frame to 30s per frame..... and progressively upwards to the 40s/frame mark.

I set out to test if I can hack a work around solution to be able to do hands off batch rendering the way it was ment to be... fast and seemless.

Essentially this will kill the render process after every composition is rendered and create a new process, which I think will somehow prevent the inevitable bogging down of my machine by After Effects batch render.

###Update - 11-7-2014 Successss! I was able to keep batch render time down to 0-1s per frame using a synchronous program. Which worked perfectly for rendering one composition after another.

But...I got greedy and rewrote the code to use node's cluster module to run multiple renders in parallel using half of the cpus available... Essentially I was able to render 4 videos at once in about 8 minutes time. But his somehow kept the aerendercore process alive, which caused the next round of videos to start bogging down because that process was still kept alive.

I plan on fixing that and making sure the associated aerendercore process truly gets killed for a clean slate and keep the parallel times down to 0-1s per frame, FTW!

The goal is to be able to create a mini batch render farm on one pc, spreading the renders across a portion of your computers CPUs.

Additional Observations

  • An additional aerendercore will float around, causing the other aerendercore processess to slow down.
  • When the aerendercore process time reaches > 60 minutes, the process starts slowing down.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.