Difference between revisions of "Video-Editing-using-Blender/C2/Rendering-a-Video/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 51: Line 51:
 
|| '''Slide Number 6'''
 
|| '''Slide Number 6'''
 
'''Code files'''
 
'''Code files'''
||  
+
||
 +
 
 
  * Files used in this tutorial are provided in the '''Code files''' link.  
 
  * Files used in this tutorial are provided in the '''Code files''' link.  
 
* Please download and extract the files.
 
* Please download and extract the files.

Revision as of 18:35, 2 November 2020

Visual Cue Narration
Slide Number 1

Title Slide

Welcome to the tutorial on Rendering a Video.
Slide Number 2

Learning Objectives

In this tutorial, we will learn about,
  • Render panel and setting
  • Resolution, frames per second and key frame
  • Setting directory for render
  • Video and audio file formats
Slide Number 3

Learning Objectives

  • Render a video and create an output file
  • Create a render preset for dimensions
  • We will also learn about few short cut keys
Slide Number 4

System and Software Requirement

To record this tutorial, I am using
  • Ubuntu Linux v18.04 OS and
  • Blender 2.90.1
Slide Number 5

Pre-requisites

https://www.spoken-tutorial.org

To follow this tutorial,
  • Learner must be familiar with the Blender interface.
  • For pre-requisite tutorials, please visit this site.
Slide Number 6

Code files

* Files used in this tutorial are provided in the Code files link. 
  • Please download and extract the files.
  • Make a copy and then use while practicing.
Open blender video editing interface. I have opened the Blender video editing interface.
Click on File, Open. Click on File, Open.


I have saved the input project file in my Videos folder.

Choose render.blend file from the Videos folder.

Click on Open.

From the Videos folder choose render.blend file.

Click on Open to open the project.

Cursor on the video strip. The project consists of an edited video.

Let’s render it to create an output file.

Hover mouse over Side bar. Notice the Side bar or information panel on the right side of the Sequencer panel.

If you do not see it press the N key to display it.

In the Strips tab, scroll down to the Source section. In the Strips tab, scroll down to the Source section.

If needed, click on the arrow on the left to show the options and scroll down.

Cursor next to resolution. Notice the resolution or pixel size of the input video is shown here.
On the Scene panel, click on the Output properties. In the Scene panel on the top right, click on the Output Properties.

The name is seen as a tool tip.

Click hold and drag on the side to make the panel larger for recording. I will make the panel a little larger for clarity.

Click hold and drag on the side as seen here.

Learner must familiarize themselves with icon function and tooltip.

Place the cursor on the form to see a two direction arrow. Notice that we can change the resolution while rendering.

Place the cursor on the form to see a two direction arrow.

Click, hold and move to change the value to 888. Click, hold and move to change the value.

I will match the resolution of the output file to that of the input.

Show entering value 888 in the form. You may also enter a number using the keyboard.
Change Resolution y to 656. Let’s change resolution in x and y dimension as seen here.

They are pixel height and width of the video.

Hover mouse over fps. Scroll down to notice the fps or frames per second as 2.

I will retain it.

Scroll down to Output section. Scroll down to the output section.
Click twice on the arrow on the left of Output to unfurl it. If needed click on the arrow on the left to see the options.
Point to the folder. Click on the folder icon on the right.

A dialogue box opens.

Choose the home Videos folder. Navigate to the Videos folder.

Let’s set the output file path to home Videos directory.

Click on Accept. Click on Accept to change the output directory.
Click on the box right of the File format. Click on the box right of the File format to set the output format.
Choose Ffmpeg video. I will choose the FFmpeg video option.
Hover cursor over RGB. Color is set to RGB.

If you choose BW, the output will be in black and white.

Click on the arrow on the left side of Encoding. Click on the arrow on the left side of Encoding.
From Container choose MPEG-4. From the Container, choose the desired output file format.

I will choose MPEG-4 to make a mp4 type video file.

Hover mouse over the options in the pulldown. The input file in the project was a webm file.


We can choose to export the edited video in any of these output formats.

Hover mouse over the Video codec options in the pulldown. In the Video codec section, I will retain the default H 264,

Theora and webm formats are also available.

For Output quality, choose Lossless. For Output quality, I will choose Lossless from the default of medium quality.
Hover mouse over encoding speed. Retrain the encoding speed as good.
Hover mouse over keyframe interval. We can also set the keyframe interval here.


Right now it is 18 and I will retain it.

In the Audio codec pull-down, choose AAC. Next, let’s set the audio properties for the exported video.


In the Audio codec pull-down, choose AAC.

Hover mouse over sample rate, bitrate and volume. I will retain the default values of sample rate, bitrate and volume.
Click on render properties.


Point to the icon.

Now, click on the Render Properties icon as seen here.


It is the second icon from top.

Hover mouse over Eevee. Notice the Render Engine used here is Eevee.


It is a real time, on the fly rendering engine.

Hover mouse over the options.


Drag the slider to show the options.

Notice the several settings that are possible here, including indirect lighting.
Click on Color management. Let’s click on Color management.
Hover mouse over Display device. I will retain the default for display device.
Click open View transform pull-down. Click open the pull-down for View transform.
Hover mouse over the options. Many of you may use a regular video clip that you have recorded.


If so, you may want to select another option.

Hover mouse over Filmic. Click on Filmic and notice the color change in the preview panel.
Hover mouse over standard. I will retain the standard here.
Pause the video, choose the options and notice the changes.
Hover mouse over gamma and exposure. We can also change gamma and exposure.
Left click, hold and drag to change value. To change the values, left click, hold and drag.

We can also enter a value of choice in the box.

Change to default, 0 and 1. I will change them to the default value.
Click on Render, Render Animation. Now, let’s render to make the output file.


Click on Render, Render Animation.

A new render window opens.

Cursor on render progress. On the top left side of the render window, notice the progress in frame numbers.

At the last frame, when rendering is completed the progress will stop.

Show the rendering process. As the render progresses, the video frames move to the end in the render window.
Allow the process to be completed.
Cursor on the render screen. My video is only 2 fps and the rendering is a fast process.
Slide Number 7

Rendering time

Rendering time depends on the fps of the video.

Generally videos are recorded with 25 to 50 fps or more.

Then rendering will take much longer time.

Click on the x sign to close the render window. I will close the render window, as seen here.
Click on the Output Properties and scroll up. Click on the Output Properties.

Let’s scroll up the panel.

Hover mouse over the three dots to show render presets tool tip. On the top right, next to dimensions, notice the list icon.

It is for render presets.

Click on render presets. Click on it.

We can render videos to dimensions preset formats such as PAL or NTSC.

Cursor on the man options in render presets. We can also save the settings we will be using to a new file.

The dimensions of the render will be saved in this file.

Type firstpreset in the new preset form.

Click on the plus sign.

Click on the form for new preset and type, firstpreset.

Click on the plus sign next to it.

Show the newly added Render preset. A new preset gets added to the list.

Users may use this condition, later on, if needed.

Press Control+S and then press Control+Q. Now, I will save the project and exit blender.
Open the file manager and go to the Videos folder. Open the file manager.

Go to the videos folder, where the rendered file is saved.

Cursor next to the newly rendered file. Notice the rendered mp4 file in the directory.
Show the rendered file icon. We can open the file in a video player or on the web browser.
Show playing the rendered video for few seconds. Play the video and check if any changes are needed.
Close the rendered video. If you wish to make more changes, do them and render again.
Slide Number 8

Shortcut keys

Show/hide information N

panel or Sidebar

Copy a strip Shift+N

Effects menu Shift+A

Delete X

Go to current frame Numpad+0

Knowledge of shortcut keys are very useful.

Few shortcuts are shown here.

Please study them.

Slide Number 9

Summary

Now let's summarize. In this tutorial, we, learned about,
  • Render panel and setting
  • Resolution, fps and Key frame
  • Setting the directory for render
  • Video and audio file formats


Slide Number 10

Summary

* Rendered a video and create an output file
  • Created a render preset for dimensions
  • We also learned about few shortcut keys
Slide Number 11

Assignment

For assignment activity, please do the following.

Using the video file assignment. webm provided in the code files link,

  • Render and save the video file
  • Practice and familiarize with different output formats and settings
Slide Number 12

Assignment

https://commons.wikimedia.org/wiki/File:Annual_Sea_Ice_Minimum_1979-2013_with_Area_Graph.ogv

The file provided for assignment is downloaded from the site shown here.

You may also use a video of your choice

Slide Number 13

Spoken Tutorial Project

This video summarises the Spoken Tutorial Project .

Please download and watch it.

Slide Number 14

Spoken Tutorial workshops


The Spoken Tutorial Project team,
  • conducts workshops and
  • gives certificates.

Please write to us.

Slide Number 15

Forum for specific questions:

Please post your timed queries in this forum.
Slide Number 16

Acknowledgment

Spoken Tutorial Project is funded by MHRD, Government of India.

More information on this mission is available at this link.

This is Rani from IIT Bombay. Thank you for joining.

Contributors and Content Editors

Ranipv076, Snehalathak