The other day I made a 35 second clip of a seagull from some
camcorder footage at Saugatuck... it's the new one on the Do Amazing
Things > Part I > Getting Started page. Here's a link to the
page:
Click on the picture of the seagull to view the video
clip. It was made in Movie Maker and saved as a 640x480 video.
In the newsletter tutorial, I'll make a
story from that video. The video is 640x480.... let's do the story at
800x600.
Mini-Tutorial: Virtual
Dub
This tutorial is relatively straight forward. All I'm doing is
making an introductory clip to be used as the lead-in to a movie...
Steps to using it - assuming you are just prepping short clips
to be used in MM2:
1 - Open it - there will pretty much be just a blank workspace
with a pull down menu and VCR controls at the bottom.
Virtual Dub - Main Working
Window
These simplistic looking opening windows are probably the most
intimidating.... what next?
2 - File > Open Video File - if you try to open a type 1
DV-AVI file, you'll get an error message ".... Virtual Dub currently cannot
extract the audio. Only the video stream will be available." So, if you want the
audio too, convert a type 1 file into a type 2 first.
Use Movie Maker 1, or...... to convert the type I DV-AVI file
into type II. Once you have a type II DV-AVI file and you open it in Virtual Dub
(File > Open video file....), you'll see something like this. The left window
is the source file and the right one a preview of the output file.
Virtual Dub - Video File
Opened
3 - From the main menu, use Video > Scan video stream for
errors - check the file
Scan Video File for
Errors
I just scanned this one, with almost 8,000 frames... it took
about 15 seconds to go through it and reported no bad frames and none good
but undecodable... so my file is in good shape to work with.
4 - Video > Filters > click the Add button - this is
where you get to pick all the neat things you want to do to the video
clip.
Check the list of options. They include 'deinterlace',
'levels', 'resize' and rotate2 (any angle). Note the cropping
option. Select any of them and a note at the bottom of the window will
summarize what the filter will do. When I select 'logo', it says it'll
overlay an image over the video.
Select a
Filter
You can select a number of filters and apply them all at
once.
For a logo, it'll want a BMP or a TGA file.... the one I picked
was a JPG so I used IrfanView to convert it to a BMP. There are some tricky
options like alpha blending, but I'll do an easy one, just pick an image, select
the BR (bottom right) justification (position), move it left by 10 pixels and up
by 10 pixels, and Show a preview (same button as the Hide preview one in the
image below - it toggles between Show and Hide).
Select Logo and Position
It
So I'm telling VirtualDub to add my logo to the postion on the
video as shown. Say OK a couple times.
5 - File > Preview filtered... to play it and see the
original in the left monitor and the output file in the right one. Here's what
I'm seeing as it adds my logo to each frame.
Logo Added -
Preview
6 - Video > Compression - you get to pick a codec. I usually
use Cinepak at 100% quality. My notes tell me to force
a keyframe every 30 frames.... but that's probably overkill now that I know
Movie Maker uses keyframes every 3 to 6 seconds, which would be between 90 and
180 frames.
Select Comprssion and Settings
In the future I'll probably go with the Microsoft Windows Media Video 9
option... as I'm getting to know more about it. Yes, you can use the Media 9
compressor to compress an AVI file!!!!
7 - Use Video > Select Range... if you want to just
apply the effect to some of the frames instead of all of them.... I'll
apply the logo to the full video, all 7,882 frames of this file.
Frames to
Process
8 - File > Save as AVI... to do the rendering.> warnings
about quality level being high and using an outdated compressor - can be ignored
if it's just a stepping stone to a clip being used in MM2.
But maybe it's suggesting I switch to the Media 9 codec for the
compression.
It took about 4 minutes for the logo to get applied to the
complete video... it showed the input at the left and the output at the right as
it went along, and provided this status window.
In 4 minutes I got a 1.8 GB uncompressed file.... kind of big
considering the source AVI file was 14 MB. But it looked and sounded great.
Usually these files are just stepping stones to something else, so I use my
tried and true options. As big a file as it is... I'm only going to discard it
anyway.
Here's the new file opened in VirtualDub... it's now the input
at the left, with the logo added.... I'm ready to do something else to it from
the list of available filters.
New File Used as
Input