DeShaker - Stabilization for VirtualDub
This article describes how to use the DeShaker plugin for VirtualDub
Download the DeShaker filter for VirtualDub

Place the vdf file in the plugins directory

1. Click on the big “Pass 1&2” button at the top of the left column in the dialog box. Set the Source Pixel Aspect to “Standard NTSC (0.911)” or “Standard PAL (1.094).” If you are using some other type of video, then make the appropriate choice.

2. Change “Video Type” to “Interlaced, lower field first” if your video is DV. If your video is some other type, then make the appropriate choice.

3. Change the drive letter for the “Log File.” I don’t like storing things in the root directory of my C: drive. The “Log File” will be used to store the X, Y, rotational, and zoom information for each frame of video in your clip.

4. Click on the big “Pass 1” button. You can leave all the values at their defaults, but for better quality (but slower processing), change “Scale” to “Full (most precise)” and “Use pixels” to “All (most robust).” There is a significant speed penalty for doing this, and the results are often “good enough” with the defaults (which are Scale: Half, and Use Pixels: Every 4th).

5. Click on the big “Pass 2” button.

6. Change the “Destination pixel aspect” to match what you set in step 1. Set the destination video size to 720x480 for NTSC DV video or 720x576 for PAL DV video.

7. Set “Edge Compensation” to “None (large borders).”

8. Put a check mark in “Use previous and future frames to fill in borders.” Don’t change the default of 30 for the previous and future frames.

9. Set Motion Smoothness values of 3000 (NTSC). Set Zoom to zero (to turn it off). You can use larger values in order to make the motion smoother (I’ve used settings up to 18,000), but the results may look somewhat artificial, and you may begin to see unwanted artifacts that make the video look like it was placed on top of a flag rippling in the wind on top of a flag pole.

10. Set all Max Correction Limits to 99.

11. Finally — and this is important — click on the big “Pass 1” button (the one on top of the center column).

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

Alternative Settings

    Pass 1&2

        Source pixel aspect: Standard PAL
        Video type: Progressive scan

    Pass 1

        Video output: Motion vectors
        Block size: 72 pixels (see notes at end)
        Scale: Half
        Use pixels: All
        Color mode: RGB
        Initial search range: 2 % of image size
        Diferential search range: 2 pixels

        Discard motion of blocks that...
        ...have mach value: 300
        ...have second best match >best: 1
        ...move >: 1 pixel in "wrong" direction

        Skip frame if: 1 % of blocks are ok

        ignore image area
        Outside: (unchecked)
        Inside: (checked) 0 0 20 20 (see notes at end)

    Pass 2

        Destination pixel aspect: Standard PAL
        Destination video size: 720 x 576
        Resampling: Bicubic
        Edge compensation: None
        Use previous and future frames: (unchecked)
        Extra zoom factor: 1

        (Motion smoothness)
        Horizonatal panning: 0
        Vertical panning: 500 (see notes at end)
        Rotation: 0
        Zoom: 0

        (Max. correction limits)       
        Horizonatal panning: 100 (default - not used)
        Vertical panning: 2
        Rotation: 100 (default - not used)
        Zoom: 100 (default - not used)

Media Lab Overview
LIACS Homepage
MM Conf
ACM Multimedia
ACM ICMR
IAPR ICPR
Science Direct
IEEE Library
LIACS Publications
ACM Digital Library