Saturday, June 27, 2009

Compiling images to video in Virtual Dub

virtual



Virtual Dub is a very useful program, which is also free. With this program you can compile recorded images from games like Team Fortress 2 or Counter-Strike: Source to video files.

Method 1.

Advantages
-Smaller File size than in method 2
-Easier to edit in programs because of seperate audio and video file

Disadvantages
-A bit slower than method 2

Step 1.
For Method 1 you will need the following:
Virtual Dub - Select the newest 32-bit Download
Lagarith Codec - Select the Installer

Extract the virtual dub files somewhere and then install the lagarith codec. Then open up Virtual dub.

Step 2.
To open a video file go to file -> open video file...
openvideofile

Then find the images you want to compile. If you have recorded something in TF2 then go to /Steam/steamapps/accoutname/team fortress 2/tf/ click on the first image.
openvideofile2

Step 3.
Now you need to select the framerate for your video. Go to Video -> Frame Rate...
framerate

Tick the box saying "Change frame rate to (fps):"
Type in the frame rate you recorded with. I recorded with 90 Fps so I will use that value.
framerate2

Step 4.
Next go to Video -> Compression...
compression

Then select the "Lagarith lossless codec" by clicking it and then press "OK"
compression2

Step 5.
Now you are ready to save your video. Go to File -> Save as AVI...
saveasavi

Save the movie somewhere, I have decided to save it on my desktop.
saveasavi2

The last thing you need to do is copy the audio file. If you recorded in Team Fortress 2, then you can find the file in your tf folder under the name a1.wav, b2.wav, c3.wav etc...
audiocopy

Method 2.

Advantages
-A bit faster than method 1

Disadvantages
-Larger file size
-Harder to edit due to file size

Step 1.
For method 2 you will need:
Virtual Dub - Select the newest 32-bit Download
Download and extract the files somewhere and launch the program.

Step 2.
Open your images by selecting File -> Open video file...
m2openvideofile

If you recorded the images in Team Fortress 2 then browse to:
/Steam/steamapps/accoutname/team fortress 2/tf/ and open the first image.
m2openvideofile2

Step 3.
Next open the audio file for your images.
openaudio

The name for the audio will be the same as for the images, if the images are called a1xxxx.tga then the audio will be a1.wav.
audioopen2

Step 4.
The next step is to select the correct framerate. Go to Video -> Frame Rate...
framerate

Tick the box saying "Change frame rate to (fps):"
Type in the frame rate you recorded with. I recorded with 90 Fps so I will use that value.
framerate2

Step 5.
Last step is to save the file.

Go to File -> Save as AVI...
saveasavi

Save the movie somewhere, I have decided to save it on my desktop.
saveasavi2

No comments:

Post a Comment