Animation Tutorial 2: Creating a multimedia animation with sound using an open source video editor (VirtualDub)Developed by B. H. Giza, copyright B. H. Giza © 2009.
| |||||||||||||||
National Educational Technology Standards for Teachers (2008): |
2. Design and Develop Digital-Age Learning Experiences and Assessments
|
||||||||||||||
|
TEXAS PEDAGOGY AND PROFESSIONAL RESPONSIBILITIES (EC-12) STANDARD III The teacher promotes student learning by providing responsive instruction that makes use of effective communication techniques, instructional strategies that actively engage students in the learning process, and timely, high-quality feedback. |
|||||||||||||||
|
Technology Applications (Computer Literacy), Grades 6-8
|
|||||||||||||||
|
Standard VIII. The digital graphics/animation teacher has the knowledge and skills needed to teach the Foundations, Information Acquisition, Work in Solving Problems, and Communication strands of the Technology Applications Texas Essential Knowledge and Skills (TEKS) in digital graphics/animation...
|
|||||||||||||||
The target audience for this activity is grades 6-8 teachers and prospective teachers. It also applies to teachers working toward Texas EC-12 Educational Technology Certification and the Master Technology Teacher Certification. | ||
The purpose of this activity is to help teachers develop student-centered animations1 using free tools: Audacity2, which is cross-platform and open-source 7, and VirtualDub5, which is free and open-source, but available for Windows only. Introduction
VirtualDub will import the common JPG4 and PNG8 file formats which might have been generated by a drawing program, allowing it to be used for cel animation. It will assemble a photographic or drawn image sequence into an animation, outputting it into an AVI format file. It will also allow you to integrate an audio format in either WAV or MP36 format to create a sound track for the animation. What is especially useful is the ability of this program to acquire images from a standard webcam, allowing it to be used for stop motion animation. What can a classroom teacher do with this kind of project? Here are some ideas:
| ||
The objectives for this lesson are:
| ||
Prior to attempting this lesson, the teacher should download or obtain (1) VirtualDub, (2) Audacity*, and (3) the Animation image file sequence, install them into a folder on a Windows computer and make sure that the software work on the machines that will be used for the activity (including testing the sound card to ensure that the computer can record and output MP3 files). Animation is an effective way of addressing multiple modes of learning in students - as well as a powerful tool for teaching how graphics and video are related. Animation is also one of the most important ways to show how motion in film is actually an illusion generated by the way our eyes acquire information (in discrete images) and how our brain processes it. For more advanced audiences, this activity may be extended to provide analogies to many "continuous" processes which are actually made up of swiftly changing discrete components...from the "frames" of a digital music file, to the packets of information on a network.
| ||
The materials for this lesson are:
| ||
Steps (activity summary). For the purposes of this tutorial, we shall use the Windows XP operating system.
| ||
Back to the top | Back to the "steps" list
Opening an image sequence in VirtualDub
Open VirtualDub. Assuming that you already have a set of images in a directory, and that they are appropriately named (01.jpg, 02.jpg, etc.), use VirtualDub's FILE: Open Video File Command sequence to navigate to your images in their directory.
In the drop-down menu at the bottom of the file navigation window you may choose the type of file that you want to open. Choose Image sequence as the file type, and touch the first image in your list with your mouse, and select the OPEN button. This should load your image files into VirtualDub. Inb our sample set, the first image is named 01.jpg. If they are not named sequentially, or lack an extension (.JPG, etc.) you might get just the first of a sequence, but when importing our sample fileset you should see a Window displaying all 19 of them - although the first one appears as item 0 in the list created by VirtualDub in its editing window.
We shall now set our video and audio parameters so that we get a video of a specific length, file format, and codec (compression decompression - a setting that controls how video and audio files play on different computers). Here are the settings and sequence we shall use for this particular activity:
Ultimately we shall create or import an audio file (Audacity is the tool we use for creating and audio file), add it to the image sequence, and generate a video with sound. Our audio file must be the same length as our video file - in this case, using 19 images at 1 frame per second, a video (and audio) length of 19 seconds. So when we do this we shall:
|
|
![]() |
|
![]() |
Back to the top | Back to the "steps" list
|
Creating our Animation audio file | ||
|
Once we have generated our VirtualDub image sequence, we shall add our audio narration. Knowing that we were going to make a 19 second long video (19 images displayed at 1 image per second), we need an audio that is 19 seconds long. Open Audacity and record your narration (or other sound track), trimming and editing it as needed to make it 19 seconds long. Export your sound file as a WAV6 (FILE: EXPORT: WAV) or as an MP36 file format (FILE: EXPORT: MP3). When exporting an MP3 you will need to have the LAME encoder installed - Audacity "finds" this with a dialogue in its PREFERENCES: FILE FORMATS Menu. In that same location you may adjust the compression for your sound file. A good final compression setting for a narrated voice is 64 KBS. When exporting MP3s you may fill out the fields for the MP3 header, or simply leave them blank and say OK to continue with empty fields. To skip the recording step for this tutorial, you may simply save and use the 19 second MP3 audio file we have developed for you which is HERE. (Right-click on the link to get a "SAVE" choice). | |
Back to the top | Back to the "steps" list
|
Importing and integrating our audio file
Because we adjusted our video to a frame rate of one frame per second, the two sequences (19 seconds of audio and 19 images) should match closely.
|
Back to the top | Back to the "steps" list
|
Converting your animation to video.
|
|
|
Here is a link to the AVI format video created in this tutorial. |
Back to the top | Back to the "steps" list
Summing up: Animations in other educational contexts. Although the tutorial above focuses on a variation of "stop motion" animation in which a series of photographs is integrated into a video, there are a host of other useful ways to use animation in the classroom. For example, in the "GIMP Animation" activity available from this link, the free and open source Gnu Image Manipulation Program and the popular open source TuxPaint graphics program are used to create GIF3 animation which can be displayed in all common web browsers. In this link free NOAA satellite images are converted into animations using the GIMP, empowering young people to learn about their world and the technology available to explore it in new ways. | ||
CEL Animation (and the related form known as STOP-MOTION ANIMATION) are among the most traditional approaches to creating an illusion of motion in film. Cel animation is the form used in hand-drawn cartoon animation found in film and television up through the 1980s ("Cel" is short for cellulose - the substance originally used for the transparency upon which a character is drawn - because much of the image is transparent, images can be superimposed on a background). In Cel animation drawings are produced in a sequence with one drawing after another displayed in rapid succession as frames in video sequence. Stop-motion animation works in a similar fashion, except that a model is photographed over and over with small changes to position giving an illusion of motion when the frames are combined into a continuous video. In recent years, computer processing has enhanced the ability of an alternative approaches such as PATH ANIMATION and CGI ANIMATION, with extensive use of computer graphics. VirtualDub can import images in JPG or PNG format that have been created by either CEL animation or Stop Motion Animation techniques (and others). For more extensive information on stop motion or other animation techniques, see the Brick Films Resource pages at: http://www.brickfilms.com/resources.php | |
Audacity is a cross-platform and open-source audio recording and editing program with a deceptively simple interface and many powerful features. It and its source-code are freely available as a download from http://audacity.sourceforge.net/. It uses the LAME encoder for MP3 file creation, which must be added in separately (and easily) due to restrictions on MP3 file creation software licenses in certain regions of the world. | |
3GIF: |
GIF (Graphic Image File format) is a proprietary and widely supported graphics file format that in its most common form incorporates sequential display of layers, permitting animated display. It is limited to no more that 255 colors, and is most often used for simple cartoon-like animation. | 4JPG: |
The JPG (or JPEG) graphics file format is a common image file format that is used for detailed images on the Word Wide Web. It can be compressed at a range of quality and file sizes, and is supported by all the common browsers. It is used to display high quality images in up to 16 million colors, but does not generally support animation in its common form. For more information see the Wikipedia image file formats page at: http://en.wikipedia.org/wiki/Image_file_formats |
VirtualDub is a free and open-source Windows-based animation program that has a number of useful features such as the ability to control a webcam for image file acquisition, image file import, audio file integration, and video file export. Its' home page is http://www.virtualdub.org and its may be downloaded from http://virtualdub.sourceforge.net. VirtualDub was originally created by programmer Avery Lee, and information about it may be found on its home page and at http://en.wikipedia.org/wiki/virtualdub . | |
WAV and MP3 are sound file formats that are common on modern computer systems. WAV files are larger, and MP3 files are usually much smaller, which is why MP3s are used for many digital music transfers across the World Wide Web. For more information on digital sound file formats see the Wikipedia entry at: http://en.wikipedia.org/wiki/Audio_file_format . | |
By its very nature, open-source software is ideal for the educational environment. It differs from proprietary licensing by requiring that the software be provided at no-cost, and that it remain freely alterable, so that it can be adapted or improved as needed. The source code that makes up the software is transparently available along with the software, so that any member of the programming community may examine it for bugs, and improve or adapt it without violating intellectual property rights. The key provisions in this case are: | |
8PNG: |
PNG (Portable Networks Graphics) is an open-standard graphics file format that incorporates file compression and millions of colors (as the JPG format does), as well as hidden text comments, and layers (as the GIF format does). The PNG file format was developed for modern web browsers and is slowly becoming more popular as a graphics format for cross-platform image editing. |
TuxPaint is an open-source drawing program that integrates sound and other child-friendly features. It and its source-code are freely available as a download from http://www.newbreedsoftware.com/tuxpaint |
| | | Back to Education Technologies Home |
| | Back to Dr. Giza's UTEP Home Page |
| |
This lesson and all of its images were developed by and are copyrighted by B. H. Giza, Ph.D. © Last updated October 18, 2009