Post Reply VirtualDub Tutorial
Moderator
67850 cr points
Send Message: Send PM GB Post
F / Japan
Offline
Posted 2/2/08 , edited 2/5/08
VirtualDub Tutorial



These are the features of VirtualDub as listed on the official website:



VirtualDub helps you get video into your computer.
If your capture device is Video for Windows compatible, then VirtualDub can capture video with it. But VirtualDub isn't your average capture program:


Fractional frame rates. Don't settle for 29 or 30 when you want 29.97.
Optimized disk access for more consistent hard disk usage.
Create AVI2 (OpenDML) files to break the AVI 2GB barrier and multiple files to break the FAT32 4GB limit.
Integrated volume meter and histogram for input level monitoring.
Real-time downsizing, noise reduction, and field swapping.
Verbose monitoring, including compression levels, CPU usage, and free disk space.
Access hidden video formats your capture card may support but not have a setting for, such as 352x480.
Keyboard and mouse shortcuts for faster operation. To capture, just hit F6.
Clean interface layout: caption, menu bar, info panel, status bar.
VirtualDub lets you clean up video on your computer.

There are lots of programs that let you "edit" video. And yet, they're frustratingly complex for some of the simplest tasks. VirtualDub isn't an editor application; it's a pre- and post-processor that works as a valuable companion to one:

Reads and writes AVI2 (OpenDML) and multi-segment AVI clips.
Integrated MPEG-1 and Motion-JPEG decoders.
Remove and replace audio tracks without touching the video.
Extensive video filter set, including blur, sharpen, emboss, smooth, 3x3 convolution, flip, resize rotate, brightness/contrast, levels, deinterlace, and threshold.
Bilinear and bicubic resampling -- no blocky resizes or rotates here.
Decompress and recompress both audio and video.
Remove segments of a video clip and save the rest, without recompressing.
Adjust frame rate, decimate frames, and 3:2 pulldown removal.
Preview the results, with live audio.

You can take a captured clip, trim the ends, clean up some of the noise, convert it to the proper frame size, and write out a better one. Don't see a video filter you want? Write your own, with the filter SDK.


I don't know how to use all those features but I will explain how to do 2 things.

1. Compressing files
Is your video file too big? This often happens after editing or converting video files or when you capture video from a game/video.

2. Cropping videos
Cutting specific areas of the video.


1. COMPRESSING FILES

Once the video is loaded into the program click on video in the upper toolbar and select compression (or simply press ctrl+p). I use either of the divx options for compression. The option you choose can depend on the size of file you want or the dimensions of your file. for example: When I use Divx codec (1 Logical CPU) I have to be sure the dimensions of my video are compatible with "width a multiple of 4 and Height a multiple of 2".

Save your file as an .avi.




2. CROPPING VIDEOS

Load video file into VirtualDub. Select video from the upper toolbar and then select filter (or press ctrl+p). On the small window that pops up, click add and then scroll down to select null transform. There's now a new option in the small popup window. Click on cropping.... This will open your video into an editing video.

Either enter the desired coordinates into the appropriate fields or close in around the area you want using the mouse.

before:


after:



----------------------------------------------------------------------------------------------------------------------------------------------

**This is all I use the program for now. If anyone would like to add to the tutorial, or have any questions, please post below.
You must be logged in to post.