Hi. Welcome to this new tutorial for video editing to encode our video clips into H264 format maintaining good quality and size.
Open up your project and click File -> Render as...
...and from the Save as type cascade menu select MainConcept AVC/AAC (*.mp4).
Click on the Custom button on the right.
In the Video rendering quality select Best, then on the bottom of the window click on Video.
In the Frame Size cascade menu you are free to choose the (Custom frame size) option in order to resize your video clip the way you want. For the sake of this tutorial we will go for 640x480 (width x height).
Click on Variable bit rate, tick the Two-Pass box and write down 4.000.000 (four millions) for Maximum (bps) and 3.000.000 (three millions) for Average (bps). The higher the value, the better the quality, but also the larger the file size. If the file were to be too big you can adjust this value on your liking.
Now click on the Audio button below. From here you can decide whether to include audio or not. If you decide to, I'd suggest to keep the minimum value to:
48.000 for Sample rate (Hz)
128.000 for Bit rate (bps)
The higher the better audio quality.
In the Template cascade menu select the desired name for this settings, then click on the floppy disk icon to save. This will store the settings for successive uses.
Click OK and Save. Congratulations, you are done. Now you will just have to wait for the rendering to finish.
-I'd like to thank Shiv Kumar for pointing this out. The VBR actually
grants a very good quality rendering and improves the size of the final
product. For my experiment I took a 4 mins video and it saved me 40
megabytes of space compared to the CBR (Constant Bit Rate) version at
loss of a slightly barely noticeable quality.