A small guide on how to realise good animations starting from figures and using VirtualDub and the Xvid codec. VirtualDub can be downloaded through LiberKey.
File
→Open video file
. On the left pane, you see the original image and on the right pane, the image as it will appear in the video. Right-click the images to zoom/unzoom. Resize
-filter to define the output size. If the video is to be displayed with a video projector, it is advised to adjust the size according to the projector resolution (typically no more than 1280*1024). Some codecs (xvid) require picture size multiple of 4 or 16, for example; this can be done automatically with the Codec-friendly sizing
option. Compression
to choose the compression format. Xvid is a sensible choice but the Xvid-codec must be installed separately before you can use it in Virtual Dub. NB: in Configure
, set the Target quantizer
to 2.0 for a better quality on mesh drawing (or keep 4.0 for a better compression keeping a good quality).File → Save as AVI
to create the animation.Usually, before creating the animation, you want to make some modifications, for example setting the dimensions of the animation in order to have the right output size (resizing an animation, in PowerPoint for instance, should be avoided). To modify the animation you can use the different filters provided by VirtualDub. Those needed in this context are:
Remark 1: if the codec constraints on the dimensions are not respected, VirtualDub will refuse to proceed when clicking on Save as AVI.
Remark 2: VirtualDub is also capable to re-read an AVI file: an animation can be therefore modified even once created. NB: in this case the resolution will not be the same of the original figures but the one chosen when the animation was created!
Remark 3: The Resize filter can also be used to obtain animations of the right size to be uploaded on YouTube (avoiding in this way the automatic addition of black edges in order to compensate the difference between the dimensions of the uploaded video and those imposed by YouTube).
Remark 4: If you need to convert the AVI file into another format, this can be easily done using Format Factory (available through LiberKey).