Use optimisation tools to accelerate a composition

Use optimisation tools to accelerate a composition

It is running fast? Could be faster.

Here is a topic that will help you making your content faster!

Check performance indicators

You can read at any time how much graphics card memory is used thanks to the GPU Memory Meter Displays the ratio of graphics memory used to the available memory Read More and how fast Smode computes video frames thanks to the FPS Meter Frame per second Meter Read More .
The GPU Memory Meter Displays the ratio of graphics memory used to the available memory Read More which should always remain green and the FPS Meter Frame per second Meter Read More must be greater or equal to your display device frequency in order to avoid frame drop stuttering.

Profile

The first thing to do to optimize Smode content is to use the Profile Enable/Disable performance profiling Read More button in order to identify costly layers and effects in your composition. It's often the case that the least useful effects take the most performance budget!

Go ON-AIR

Use the ON-AIR Enable/Disable ON-AIR mode Read More button: this will disable the Viewport Preview and edit your content Read More , which in some cases can be very costly (especially when dealing with a high number of layers and on-screen helpers). If you want to keep the viewport, note that it's also possible to just disable the helpers with the "Show Helpers" button in its right toolbar.

Lock your content

By default, every parameter of every element in Smode is editable and automatable at any time. This is very flexible but forces Smode to assume that all parameters can be updated and sent to graphics card. To indicate to Smode that you wont animate an element, you can disable editability of an element by clicking on it's locker icon.

When doing this, Smode will create a new shader chain (this can cause a small lag) and optimize the parameters which are number and choices (those that are in combo-boxes and check-boxes).
Note that for the moment only theses kind of parameters are optimized all other aren't (vector), see below in green the optimized parameter when locking a Noise Mask and in red the parameter that aren't:

Note that locking doesn't disable linked animation the variables concerned by animations, which are not optimized in any case.
The User Interface Lock Lock all edition capabilities of the user interface Read More is a useful shortcut to fully lock the current compo.

Video Profiler

When you have a Video File Generate an animated image by playing a video file. Play it either with its Transport or from a Timeline (by drag n dropping the layer inside it) Read More you can check on the streamer tab what can go wrong
if you go down in this tab to the profiler section a enable it ( and optionally turn the advanced mode ), you can now see precisely if anything is going wrong with the streaming of your video (and point if the issue come from disk access, buffer or else).
Some tip:
  • the direct read access should mostly stay flat
  • the obtained image Delta should be flat

See Also: