Blender

Table of contents

Child pages

Related pages

  • ...


Troubleshooting

  • Low resolution output
    • Fixed by doing a hard-cut at the beginning and end of the frames to be rendered.

How to do various actions I've wanted to be able to do

Sync video and audio more closely

  • Just zoom in on the video/audio strips and drag the green frame indicator around to listen to the audio while the video plays.

Editing a "Let's Read" video in Blender

  1. Open Blender.
  2. Set your green cursor to the 0+00 frame.
  3. Go to Add→Movie. 
  4. You only need to worry about your set frames-per-second (in Blender) being wrong if the video and audio clips show up as different lengths.
  5. If you have multiple clips:
    1. Set the green cursor to the end of the first clip, then do "Add → Movie".
    2. The new clip and its audio should be automatically selected.
    3. Press "g" (Grab) and then "y" (restrict movement to the y axis) and drag it up to a higher sequence.
      • Note that you do not need to click and hold to drag the selected clip.  Just move the mouse up without clicking.
  6. Set the X and Y dimensions to 640x480. YouTube will adjust the video to look right with a wider screen.
  7. Set the number of frames to 500 and do test runs to make sure everything looks and sounds right.
  8. Determine the total number of frames through trial-and-error.
  9. I used the following Encoding (output) settings: (it took some trial-and-error to get something that looked and sounded right) 
    • Container: AVI
    • Codec: H.264
    • Output quality: Perceptually lossless
    • Encoding speed: Medium speed
  10. To render the video, go to Render → Animation. 

Learning how to use Blender

YouTube - Mikeycal Meyers - Blender VSE Tutorial Series

Episode 0 - Blender's story

  • He explains how Blender came about. A guy developed a tool in the early 90s for his animation company, then tried selling the tool, then the company failed, and so he raised money to buy the software and made it open-source.

Episode 1 - Set up Defaults

  1. Start blender
  2. Click somewhere on the screen to get rid of the initial dialogue.
  3. On the top navbar, click the button to the right of "Help" and you should see a dropdown.
  4. Pick the last option: "Video Editing".
  5. You should now see the video editing UI.
  6. On the top half of the screen, on the right, is the video preview.
  7. On the top half of the screen, on the left, is a curve graph editor, which is used for things like if you want to control the speed with which a fade happens.
  8. On the bottom half of the screen is the video sequencer. Same idea as you've already seen in Windows Movie Maker / Adobe Premiere.
  9. Beneath the sequencer is the Timeline, which is meant to be used with the curve graph editor.
  10. The bottom navbar is the preview playback control bar.
  11. At the bottom of the graph editor is a navbar. At the very leftmost-end of that navbar is a button that, when you click it, shows a "pop-up" window.
  12. Click the pop-up window button.
  13. Pick the "Properties" option to switch the graph editor to a Properties window.
  14. The screen as it is right now is pretty much what you'll want to have set up as the default view when you start Blender.
  15. The properties window is used to change the resolution, framerate, etc.
  16. Now we're going to set all the default settings in the properties window:
    • Render section:
      • Set the 'Display' dropdown to 'Keep UI' to have it only render to a file, without also generating a viewable preview.
    • Dimensions section:
      • In Dimensions-->Render Presets, you'll want to set either HDTV 1080p or 720p.
      • In Frame Range-->End Frame, set the end frame to the product (*) of your intended frames per second (generally 30 for YouTube) and the intended length of the video.
        • So a 5 minute video at 30fps would have 5 * 60 * 30 = 9000 frames.
        • You can also change the number of frames via the "preview playback" navbar at the very bottom of the Blender window.
          • To the right of that box is a box that shows the frame that you're currently previewing.
      • Set the frame rate to 30fps (for YouTube).
        • Be sure to later the frame rate to that of whatever source video you use.
          • To know what the frame rate of your source video is, use VLC's "Media Codec" option.
    • Output section:
      • Set the path to whatever default directory you want to output to.
      • He has a disclaimer at this point that "Render" and "Animation" are terms he uses interchangeably. Clicking the "Animation" button is what renders the video.
      • Set the default output file format.
        • It should start as "PNG", so look for the text "PNG". 
        • He recommends xvid.
      • To the right of the default file format button there should be "BW" and "RGB" buttons. Click the "RGB" button to have Blender render in color.
    • Encoding section:
      • Click the 'Presets' dropdown and select 'Xvid'.
      • Set the Audio Codec to MP3.
  17. In the preview playback navbar at the bottom of the Blender window, select the Playback menu and enable Audio Scrubbing, AV Sync, and Frame Dropping.
    • Audio Scrubbing makes it so when you drag the 'current frame' indicator around, it'll play the audio in real-time.
    • AV Sync will have Blender do lip-syncing to match the video to the audio. (NW: Really? That sounds hard.)
    • Frame dropping will set the video so that when the viewer is watching the video, if the viewer's computer is struggling to play the video fast enough to keep up with the audio, it'll drop frames to make sure that the video continues to play in-sync to the audio.
  18. In the navbar beneath the sequencer, select View → Show Offsets.
    • This will make it easy for us to see when a video clip that we've shortened has more footage that we can add back in.
  19. Go to File → Save Startup File → Save Startup File to save these settings as the default.
  20. Go to File → User Preferences → System.
    • He talks about setting a "Prefetch Frames" setting, but has a pop-up saying that it's no longer available in new versions of Blender.
      • Apparently it was just a way to reduce lag when viewing previews by rendering not just the current frame but also future frames.
    • You should consider increasing your Memory Cache Limit setting.
      • He has 16gb of RAM and sets his to 10gb (10000 in the menu).
    • At the bottom of the Preferences window click the 'Save User Settings' button.

Episode 2 - Importing video

  1. Today he's going to discuss the sequencer.
  2. It's broken into lighter- and darker-grey rows.
  3. The rows are called 'Channels'.
  4. If you want to see more channels, click the tiny circle on top of the scrollbar on the left of the sequencer and drag upwards.
  5. The green line represents the current frame being viewed in the preview window.
  6. At the bottom of the Blender UI on the preview playback navbar, you can see the number corresponding to the frame that the green line is on.
  7. If you click and drag the green line, the number of the frame changes.
  8. To jump to a specific frame, you can type into that box and hit Enter.
  9. When you import video, that imported video will begin wherever the green line is.
  10. There are two ways to import video:
    1. You can drag-and-drop a video from a Windows Explorer window onto the sequencer.
    2. You can click Add-->Movie on the navbar at the bottom of the sequencer.
      1. In the menu that pops up, select the file and click 'Add Movie Strip'.
  11. When you import video, you see two "strips" show up on the sequencer. The blue strip is for video, and the teal strip is for the audio.
  12. To select a strip, click on it with your *right* mouse button.
  13. You can switch it to work 'normally' (LMB), but he recommends learning to do it this way.
  14. He has a note on-screen that says the audio channel is moved with the LMB (click-and-drag?)
  15. To see for-sure that a channel contains audio or video, look at the "Edit Strip" window on the right side of the sequencer, and look for a "Original Dimension" property. Video will have the resolution of the video show up here, while audio will say "None".
  16. On the strips themselves you'll see a number to the right of the file path. That number is the number of frames contained in that strip.
  17. Make sure that your audio strip and video strip have the same number of frames or the audio will be out of sync with the video.
    1. In his case, the number of audio frames was greater than the number of video frames, and it was because his render settings were set to 30fps, but his imported video was actually only 24fps, so the video strip had the 'correct' number of frames, but the audio strip was using a calculated (incorrect) number of frames.
  18. He has a note that you can also spot mismatched video / audio if you zoom out and just look at the lengths of the strips.
  19. Also make sure that the render settings match the resolution of the imported videos.
  20. If you import a video that is a different resolution from your default resolution, and want to render at the resolution of your imported video, you can change the currently-set render resolution in two ways:
    1. You can go to the settings and change it manually.
    2. Select the video strip (RMB), then look for the "Strip" button in the navbar below the sequencer, and click Strip-->Set Render Size.

Episode 3 - Zooming/panning the sequencer and rendering a range of frames

  1. He restates "the most important lesson" from the previous lesson, which was to make sure that the resolution and framerate that you're set to render to match those of the imported video
  2. He goes to the sequencer and does Add-->Movie and imports a sample Blender video.
  3. Every strip has a handle at the beginning and the end.
  4. If you click and hold with the middle mouse button, you can drag your view within the sequencer.
  5. You can also do this with the preview.
  6. You can zoom in and out with the middle mouse wheel.
  7. If you position your mouse cursor over the sequencer and hit the 'Home' keyboard key, it'll zoom out to show the full duration of the imported videos.
  8. You can also use the Home key on the preview window to zoom the preview to fill the screen.
  9. The black vertical lines in the sequencer represent the start frame and end frame that will be rendered.
  10. To set the start / end frame to the current position of the green bar, go to Blender's bottom-most navbar, and select Frame-->Set Start/End Frame
  11. To render, go to the properties window and in the "Render" section at the top, click the "Animation" button.
  12. When the video is being rendered, you'll see a progress bar in the center of Blender's top navbar.

Episode 4 - Selecting, Grabbing, Moving, and Cutting strips

  1. There are three ways to 'group select' multiple strips:
    1. Hold down the Shift key and select each strip with the RMB.
    2. "Box select" by pressing B and click-dragging to place a box around the strips with the LMB.
    3. Click on the sequencer and press A to select all.
  2. If you select a strip and press G you'll 'grab' it (it'll follow the mouse around).
  3. If you press the X or Y key after the G key, you'll constrain the movement to the X or Y axis.
  4. There are two types of cuts:
    1. Soft cut: frames can be added or removed after you perform a cut by grabbing and moving the strip handles.
    2. Hard cut: you can't readjust the cut, but it may be more memory efficient.
  5. You can see these actions (and their shortcuts) if you go to the sequencer navbar and select Strip-->Cut soft/hard
  6. You can undo with Ctrl+Z
  7. When you do a soft cut, you'll see a thin line that represents the part of the original strip that has been cut out but could be added back if you dragged that edge of the strip in that direction.
  8. If you don't see them, go to the View menu and select 'View offsets'.
  9. To cancel a grab, hit the escape button.

Episode 5 - How channels work

  1. Just as with Photoshop's layer system, video/image channels that are further up are placed on top of the channels underneath them
  2. This layering only applies to video/image, and not to audio.
  3. Channel 0 is different from the other channels. It represents the view from the highest-level channel. So you never have a strip on channel 0.