Home > Software > Using VirtualDub for Time-Lapse

Using VirtualDub for Time-Lapse

VDub blank

Bam! Open VirtualDub and you’re immediately hit with one of the most desolate user interfaces around.  There’s no flashy logo or timeline, just a wall of gray.  You’d be forgiven for thinking you made a mistake.  But if you can get past the stark UI, VirtualDub offers a highly functional and free way to create time-lapse videos.

What is VirtualDub?

VirtualDub is a GNU General Public License video editor.  Basically, it’s an open source piece of software with plenty of free third-party filters available on the web.  For our purposes, it’s also an excellent way to create time-lapse videos.  While my recent post Using Windows Movie Maker for Time-Lapse showed how to make a time-lapse video using software already installed on most PCs, it was a bit of a jury-rigged solution.  VirtualDub is actually intended for time-lapse, among many other things.  The program can be overwhelming in its simplicity so today’s tutorial will stick to the very basics of creating a time lapse-video.

Download VirtualDub

The VirtualDub software can be found at http://virtualdub.sourceforge.net/.  After downloading, install the software onto your computer.

Arranging Your Pictures

Unlike Windows Movie Maker, VirtualDub requires the photos used for a time-lapse be in their own folder and numbered sequentially without gaps between number (i.e. 2,3,4 works but 1,3,5 doesn’t).  The easiest way to do this is to select all files, right click, and choose “Rename.”  It doesn’t matter what the beginning number is as long as the rest follow in order.  If you’re like me and take snapshots as well as time-lapse sequences on the same memory card, make sure you seperate them before proceeding.

Once your photos are separated, go to “File>Open video file…” and select the first photo in the series.  Make sure “Automatically load linked segments” is checked at the bottom of the import window.

VDub open video

You should now see a large, distorted image of your first photo.  Right click and choose 25% viewing size and then resize the window next to it.  The photos might still look distorted because the resizing filter hasn’t yet been applied.  The left window is the input file and the right is the output file.

Frame Rate

The first adjustment we’ll make is to the frame rate.  For Windows Movie Maker, we used a 16fps frame rate because we had to use a trick in order to get a working time-lapse.  While 16fps is usually fast enough to create persistence of motion, 24fps is the movie standard as well as the television standard in North America.  Europe uses just under 30fps.

In VirtualDub, go to “Video>Frame rate…” and select “Change frame rate to (fps):”  Change the frame rate to 24 and click “Ok.”  This might be too fast or too slow for you, so play around until you find a rate that works.


The photos you imported are probably bigger than the final video you want, so we’ll have to resize the output.

Go to “Video>Filters…” and click “Add.”  Find the “resize” filter and click “Ok.”  Because you’ve already imported your photos, the filter knows the image dimension and aspect ratio.

VDub resize filter

At the top of the window, select “Absolute (pixels).”  The pixel size of a modern HDTV is 1920×1080.  This size is called 1080i or 1080p depending on whether the image is interlaced or progressive scan, but that doesn’t matter at this stage.  What matters is the maximum resolution of a TV screen is 1920×1080 so your video won’t gain anything by being larger than this.

Change the second number of absolute pixels to 1080.  If you shoot in 16:9 ratio, the first number should now read 1920.  If you shoot in the photographic standard 4:3 ratio, the first number should read 1440.  Click “Ok” to close the filter details and then click “Ok” again to close the filter list.


We’re going to save the final video as an avi. file, so we’ll need to use compression to prevent the video from becoming unwieldy.

Go to “Video>Compression…”  Here you’ll see a list of codecs.  You might have different codecs installed on your system than mine but many people will have the Divx or Xvid codec.  I use the Xvid codec; not for any particular reason.


Now all the basic settings have been adjusted, you can either render your video or watch a preview.

At the bottom of the screen is a series of small buttons.  The first is a stop button, followed by a play button with a little “I,” and a play button with a little “O.”  These are the input and output play buttons.  Click on the output play button and your video should start rendering in the output window.

VDub preview

Saving Your File

To save, simply select “File>Save as AVI…” and VirtualDub will do the rest.  You can upload this file type directly to websites such as youtube or edit it further in another program.

As I said at the beginning of this post, this is just a basic tutorial meant to get you started without any unnecessary complications.  I’ll go into more detail in future posts.

(Update: If you liked this tutorial, check out another VDub tutorial about video flicker)




Categories: Software Tags: , , ,
  1. Karl Kluge Rudisile
    June 7, 2010 at 2:01 pm

    WOW!! Thankyou so much! Just what i was looking for. I was already considering buying a program.

    Thanks again for the great tutorial =D

    • owenscharlotte
      June 7, 2010 at 8:08 pm

      I’m glad I could help. I’ll be on writing hiatus for a few more months, but let me know if you have any questions. Good luck!

  2. Jen
    September 10, 2010 at 9:04 am

    Thanks! That was great – I just used your walkthrough to make my first-ever timelapse. Once I realized that “sequential” really means sequential and not just “next one is a higher number” (I’m using a Droid X, and the app numbers the files with the milliseconds, I think) then everything went VERY smoothly! This is just what I was looking for, thanks so much!

    • owenscharlotte
      September 10, 2010 at 6:25 pm

      Thanks Jen. I’m glad it helped. VDub lacks some of the polished UI of other software, but it’s a great tool once you take the time to learn its quirks.

      Feel free to link to your first video, if you’ve posted it.

  3. Horgy
    January 13, 2011 at 3:01 am

    Great tutorial man.

    • timelapseblog
      January 13, 2011 at 2:04 pm

      Thanks Horgy. I’m always open to post suggestions if you have any questions.

  4. Sid
    January 19, 2011 at 8:54 am

    Very nice and clear tutorial. Thanks a lot. 🙂 Downloaded VirtualDub a few minutes back and couldn’t get it to create a time-lapse video since my image filenames were based on time stamps. Thanks for the renaming trick as well. Very convenient that way. 🙂

  1. January 25, 2010 at 12:12 am
  2. February 8, 2010 at 1:44 pm
  3. November 26, 2010 at 12:55 pm
  4. February 9, 2011 at 3:49 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: