bpy.context.scene.render.resolution_x = 960 bpy.context.scene.render.resolution_y = 720 bpy.context.scene.render.resolution_percentage = 100 bpy.context.scene.render.pixel_aspect_x = 4 bpy.context.scene.render.pixel_aspect_y = 3 bpy.context.scene.render.fps = 24 bpy.context.scene.render.fps_base = 1