How can I optimize this very large scene in order process animations from it?

Try checking out this video, which describes pretty much exactly your problem:

Apart from that, if it’s trees that are slowind down your scene, the you could also try the Alpha Trees addon to replace them with realisitc billboards (Though I must confess that I’m a little biased in this recommendation since I also develop the addon :wink:):

Hope that helps!