8

How can I create a automatic render setup, for example, I need to render with the same settings to an mp4, from the 001 to 10 one file, than from the 011 to 021 another and a few others.

andrepazleal
  • 547
  • 1
  • 4
  • 15

1 Answers1

6

Here's a quick script to render out separate frame ranges of the animation. The script assumes you've set an output folder correctly as well as setting the video format settings as you want them.

import bpy
import os

frameList = [
    [1,50],
    [51,100],
    [101,150]
    ]

scn = bpy.context.scene

for fr in frameList:

    scn.frame_start = int(fr[0])
    scn.frame_end = int(fr[1])
    bpy.ops.render.render(animation=True)
Todd McIntosh
  • 9,421
  • 25
  • 50