Jump to: Board index » General » Fusion

Fusion Python scripting review and comments please.

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Harold Tomlinson

  • Posts: 230
  • Joined: Sun Sep 14, 2014 9:58 pm
  • Location: New York City

Fusion Python scripting review and comments please.

PostSat Oct 24, 2020 6:06 pm

I have been looking for ways to make fusion faster and I think I have found one. If I change the project (default and all the tools) to a lower resolution it renders faster and uses less memory. The plan then is to put it back to the format I want when I render it out. I am not sure this will work well when I also mix in 4k footage.

I am looking for comments from those who know Fusion Scripting better than I do. Will this work? Is there a better way to change the project to 1080p and then back to 4k UHD? Are there other things that should be changed to make the project faster?

The code can be seen here: https://github.com/creacominc/HT_Fusion ... /Comp/Comp

Feel free to use it and/or submit pull requests if you have suggestions for improvements.
---
Resolve Studio 18.1.1 /Fusion Studio 18.1.1
Mac Pro 2019 - 2.5 GHz 28-Core 240 GB
- AMD Radeon Pro W5700X 16 GB + Radeon VII 16GB
BMPCC6k - BMPCC4k - GH5s - GH4 - GoPro Hero 7 Black
vimeo.com/haroldtomlinson
creacom.smugmug.com
Offline

Sander de Regt

  • Posts: 3661
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Fusion Python scripting review and comments please.

PostSat Oct 24, 2020 6:21 pm

Well a really easy way to do it is just activate the proxy mode inside of Fusion. This will do it for you.
Every loader will also accept proxy images as well.

A not uncommon way to achieve this is by adding instanced scale nodes after every loader/creator tool, this takes care of a lot of overhead as well. When you're ready to render in final resolution just bypass all those scale nodes.

These are all things I would try before diving into scripts, but that is my personal preference.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Harold Tomlinson

  • Posts: 230
  • Joined: Sun Sep 14, 2014 9:58 pm
  • Location: New York City

Re: Fusion Python scripting review and comments please.

PostSat Oct 24, 2020 7:30 pm

Thanks for the reply. I like the idea of using an instanced scale tool. I tried it and find it didn't run any faster with the scale set to 0.5 as with it set to 1.0. It still runs faster for me if I make everything use a lower resolution. Is there something else I am missing?

I normally have HiQ and MB turned off and Proxy set to 4 and AutoProxy set to 8. Still, Fusion is far too slow for me. Especially when I try to use it on my laptop. The first pass over a simple 4k UHD composition without the proxy renders at 5fps on my laptop. Turning the proxy on and setting it to '4', it renders at about 10fps. Running the script to drop it to 1080p lets me render it at 12fps without the proxy (and yes, I restart Fusion between tests to clear the memory and cache). I would have expected the Proxy to have similar performance, but it is consistently 20% slower than lowering the resolution. Am I missing something? Does proxy work as fast as a lower resolution timeline for you?
---
Resolve Studio 18.1.1 /Fusion Studio 18.1.1
Mac Pro 2019 - 2.5 GHz 28-Core 240 GB
- AMD Radeon Pro W5700X 16 GB + Radeon VII 16GB
BMPCC6k - BMPCC4k - GH5s - GH4 - GoPro Hero 7 Black
vimeo.com/haroldtomlinson
creacom.smugmug.com
Offline

Sander de Regt

  • Posts: 3661
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Fusion Python scripting review and comments please.

PostSat Oct 24, 2020 9:29 pm

Proxy is always a bit slower than a lower resolution for me, because you always have to calculate towards the lower resolution (I'm not sure if that is actually English) so you lose some there.

But what kind of laptop are you running this on? 4K is never quick with Fusion, because those are large files.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Harold Tomlinson

  • Posts: 230
  • Joined: Sun Sep 14, 2014 9:58 pm
  • Location: New York City

Re: Fusion Python scripting review and comments please.

PostSat Oct 24, 2020 10:38 pm

The laptop is a grossly underpowered MacBook Pro that has only 16G of ram. It's not the laptop per-se. I find Fusion slow even on my iMac Pro. I plan to upgrade it to 128G soon.
---
Resolve Studio 18.1.1 /Fusion Studio 18.1.1
Mac Pro 2019 - 2.5 GHz 28-Core 240 GB
- AMD Radeon Pro W5700X 16 GB + Radeon VII 16GB
BMPCC6k - BMPCC4k - GH5s - GH4 - GoPro Hero 7 Black
vimeo.com/haroldtomlinson
creacom.smugmug.com

Return to Fusion

Who is online

Users browsing this forum: birdseye, Cindrivani and 20 guests