Sub topic 3
Rendering an animation as an image sequence
An image sequence is a folder of numbered still images, one per frame, such as shot_0001.png and shot_0002.png. This chapter assumes a scene with a camera, a set frame range, and basic terminal use.
Rendering an animation as an image sequence
Set Frame Start and Frame End in the Output properties. Then set the output path with a run of # characters, such as //renders/shot_####. Blender replaces the run with the zero-padded frame number. Choose PNG as the file format, then select Render > Render Animation.
Rendering straight to video with FFmpeg
Set File Format to FFmpeg Video. Choose a container (MPEG-4), a codec (H.264), and a quality setting. Render the animation, and Blender encodes the frames into one video file as it goes, leaving no image files behind.
Turning an image sequence into a video with the Video Sequencer
Switch an editor to the Video Sequencer and choose Add > Image/Sequence. Select the first file in the folder and confirm the strip. Match the scene frame rate to your footage, then render with FFmpeg output to produce the video.
Rendering from the command line
Run this in a terminal to render frames 1 to 48 without opening the Blender interface. The -o option must come before -F.
blender -b scene.blend -o //renders/frame_#### -F PNG -x 1 -s 1 -e 48 -aScripting renders with Python
This script sets the frame range and output, then renders the animation.
import bpy
scene = bpy.context.scene
scene.frame_start = 1
scene.frame_end = 48
scene.render.image_settings.file_format = 'PNG'
scene.render.filepath = '//renders/shot_####'
bpy.ops.render.render(animation=True)Troubleshooting common render problems
| Problem | Likely cause | Fix |
|---|---|---|
| Empty camera view | No active camera set | Assign a camera in Scene properties |
| Missing frames | Frame End is lower than the last frame needed | Raise Frame End |
| Overwritten output | No `####` placeholder in the path | Add `####` to the file name |
Exercise
A render with output path //renders/shot and frame range 1 to 24 produces only one file. Why, and how do you fix it?
Show answer
Without #### in the path, every frame writes to the same file, so each frame overwrites the last. Change the path to //renders/shot_#### so each frame gets its own numbered file.