8
$\begingroup$

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.

$\endgroup$
  • $\begingroup$ Like a batch rendering but straight from blender. $\endgroup$ – andrepazleal Jul 20 '15 at 20:40
  • $\begingroup$ Do you need to change video format between the files or would you just end up with multiple MP4 files? $\endgroup$ – Todd McIntosh Jul 20 '15 at 23:56
  • $\begingroup$ Related: blender.stackexchange.com/q/17839/599 $\endgroup$ – gandalf3 Jul 21 '15 at 5:20
6
$\begingroup$

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)
$\endgroup$
  • $\begingroup$ That's weird, didn't happen to me with my test file. Are you getting any errors? $\endgroup$ – Todd McIntosh Jul 21 '15 at 14:50
  • $\begingroup$ Is your scene really memory intensive? Could Blender be reloading all the scene assets for each render without releasing the memory for the previous render? $\endgroup$ – Todd McIntosh Jul 21 '15 at 14:53
  • $\begingroup$ With your current settings, can you manually render a file with no issues? $\endgroup$ – Todd McIntosh Jul 21 '15 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.