Reputation: 129
I have created an animation using Blender. Does anybody know how I can save .avi file of the rendered animation using a python script.
My second question is that I want to run the animation with different parameters and save the video. Basically, I want to reset the animation and run it again with a new force and save a separate video file. I want to do these automatically instead of manually. Is it possible to do that with scripting?
Upvotes: 1
Views: 1120
Reputation: 7079
bpy.context.scene.render.filepath
contains the filename that the render will be saved to, you can change this along with each setting that you want to try out and then use bpy.ops.render.render(animation=True)
to render the animation.
Upvotes: 1