Offline rendering via movieout TOP

EDIT: See post 3 for an easier approach

Let’s say you wanna use the movieout TOP to do render to disc, but your synth is running slow and the movieout would either skip or repeat frames.
Here’s a little trick how you can make it render offline.

# go to the first frame
fcur 1

# enable record
opparm movieout1 record 1

# loop over as many frames as you like to record
for i = 1 to 101
    # advance a frame
    fcur $i

    # refresh to ensure the current frame is cooked
    refresh on
    refresh off
end

#disable the record
opparm movieout1 record 0

Here’s an example. If you would manually enable the movieout’s record, you would get repeated frames.
If you run the script, you get a smooth export
offlineRender.toe (2.49 KB)

Right ON!
I’ll check this out, and I’m sure I’ll be making much use of it!
thanks!

hold on on this one. While it works nicely, ben suggested a better solution