Mode: All Modes
Panel: Render Context → Anim
While rendering stills will allow you to view and save the image from the render buffer when it's complete, animations are a series of images, or frames, and are automatically saved directly out to disk after being rendered.
When using Blender, the idea is to use the Compositor to do green screen masking, matting, color correction, DOF, and so on to the images. That result is then fed to the Sequencer where the strips are cut and mixed and a final overlay is done.
Generally, you do a lot of intermediate renders of different frames in your animation to check for timing, lighting, placement, materials, and so on. At some point, you are ready to make a final render of the complete animation for publication.
There are two approaches you can use when making a movie, or animation, with or without sound. The approach you should use depends on the amount of CPU time you will need to render the movie. You can render a "typical" frame at the desired resolution, and then multiply by the number of frames that will ultimately go into the movie, to arrive at an total render time. If the total render time is an hour or more, you want to use the "Frame Sequence" approach. For example, if you are rendering a one-minute video clip for film, there will be (60 seconds per minute) * (24 frames per second) or 1440 frames per minute. If each frame takes 30 seconds to render, then you will be able to render two frames per minute, or need 720 minutes (12 hours) of render time.
Rendering takes all available CPU time; you should render overnight, when the computer is not needed, or set Blender to a low priority while rendering, and work on other things (be careful with the RAM space!).
The Direct Approach is where your set your output format to an AVI or MOV format, and click ANIM to render your scene directly out to a movie file. Blender creates one file that holds all the frames of your animation. You can then use Blender's VSE to add an audio track to the animation and render out to an FFMPEG format to complete your movie.
The Frame Sequence approach is where you set your output format to a still format (such as JPG, PNG or MultiLayer), and click ANIM to render your scene out to a set of images, where each image is the frame in the sequence. Blender creates a file for each frame of the animation. You can then use Blender's compositor to perform any frame manipulation (post processing). You can then use Blender's VSE to load that final image sequence, add an audio track to the animation, and render out to an FFMPEG format to complete your movie. The Frame Sequence approach is a little more complicated and takes more disk space, but gives you more flexibility.
Here are some guidelines to help you choose an approach.
- Direct Approach
- short segments with total render time < 1 hour
- stable power supply
- computer not needed for other uses
- Frame Sequence Approach
- total render time > 1 hour
- post-production work needed
- Color/lighting adjustment
- Green screen / matte replacement
- Multiple formats and sizes of ultimate product
- intermediate frames/adjustments needed for compression/codec
- precise timing (e.g. lip-sync to audio track) needed in parts
- may need to interrupt rendering to use the computer, and want to be able to resume rendering where you left off.
Frame Sequence Workflow
- . First prepare your animation.
- . In the Scene panels setup your animation to be rendered out as a image, generally using a format that does not compromise any quality (I prefer PNG or MultiLayer because of their lossless nature).
- . Choose the output path and filespec in the Output render panel, for example "//\render\my-anim-"
- . Confirm the range of your animation frame Start and End
- . Save your .blend file.
- . Press the big ANIM (animate) button. Do a long task [like sleeping, playing a video game, or cleaning your driveway] while you wait for your computer to export the rendered frames.
- . Once the animation is finished, use your OS file explorer to navigate into the output folder (".\render in this example). You will see lots of images (.png or .exr, etc... depending on the format you chose to render) that have a sequence number attached to them ranging from 0000 to a max of 9999. These are your single frames.
- . In Blender, now go into the video sequence editor.
- . Choose Add Image from the add menu. Select all the frames from your output folder that you want to include in your animation (Press A to Select All easily). They will be added as a strip to the sequence editor.
- . Now you can edit the strip and add effects or simply leave it like they are. You can add other strips, like an audio strip.
- . Scrub through the animation, checking that you have included all the frames.
- . In the Scene Render buttons, in the Anim panel, below the animation button, activate Do Sequence.
- . In the Format panel, choose the container and codec you want (e.g. FFMPEG H.264) and configure it.
- . Click the ANIM button and Blender will render out the sequence editor output into your movie.
Why go through all this hassle you may ask? Well, first of all, if you render out single frames you can stop the render at any time by pressing Esc in the render window. You will not lose the frames you have already rendered, since they have been written out to individual files. You can always adjust the range you want to continue from where you left off. You can edit the frames after wards and postprocess them. You can add neat effects in the sequence editor. You can render the same sequence into different resolutions (640x480, 320x240, etc) and use different codecs (to get different file sizes and quality) with almost no effort whatsoever.
- Starts the animation rendering.
- Do Sequence
- Renders the output of the sequence editor, instead of the view from the 3D scene's active camera. If the sequence contains scene strips, these will also be rendered as part of the pipeline. If Do Composite is also enabled, the Scene strip will be the output of the Compositor.
- Do Composite
- Renders the output from the Compositing noodle, and then pumps all images through the Composite node map, displaying the image fed to the Composite Output node.
- Opens a modal render window and plays the animation for you. You must close this window before returning to Blender via Esc or using the window control X. A nice feature of this window is that the frame number is shown in the header. If you LMB click in the window, the video will reset. Holding down your up-arrow will move the video forward in real-time; holding the down arrow reverses the video, thus allowing you to scrub through the video to identify exactly any errant frames.
If you render out to a frame sequence of 100 frames for example, and then change your Animation Sta: and End: to something smaller, say 1 to 30, Blender will play all the frames it can find in that sequence (all 100). If you re-render with changes to update that smaller subset, Blender will still play the new set plus the rest of the old set. The only solution is to modify the output file name before re-rendering!
- Return Code
- Useful for debugging
- Sta and End
- The start and end frame numbers to render the animation from and to. Frame numbers are inclusive. These are also set if you modify the Sta: and End: fields in the Timeline window.
By default the animation is rendered in the directory specified in the Output Panel (Animation location and extensions.). If an AVI format has been selected, then the name will be ####_####.avi where the '####' indicates the start and end frame of the animation, as 4 digit integers padded with zeros as necessary.
If an image format is chosen, on the other hand, a series of images named ####, ('####' being the pertinent frame number) is created in the directory.
- Adds the correct file extensions per file type to the output files
- Argh! My bratty sister turned off the PC right in the middle of rendering my movie!
- Unless your animation is really simple, and you expect it to render in half an hour or less, it is always a good idea to render the animation as separate image frames in a lossless format (TGA, PNG, BMP) rather than as a movie file from the beginning. This allows you an easy recovery if there is a problem fails and you have to re-start the rendering, since the frames you have already rendered will still be in the Output directory. Just change the STArt frame number to the frame number where you want to pick up from, and click ANIM again.
- I only need to re-render a few frames in the middle
- It's also a good idea to render initially to a frame sequence, since if only a few frames have an error, you can make corrections and re-render just the affected frames. You can then make a movie out of the separate frames with Blender's sequence editor or with compositing nodes.
- Only first frame renders, then Blender locks up
- If you click ANIM and only the first frame renders, be sure the output file is not locked by the media player. In general, check the console when rendering.
- Unable to create Quicktime movie
- CreateMovieFile error: -47
- The Quicktime movie strip is in use (possibly in the VSE) and cannot be overwritten. If it is used in the VSE, delete the strip, or delete the file using your file explorer.