ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to convert Fraps video codec using VirtualDub

Updated on March 31, 2012

If you read my previous article on "How to configure Fraps settings to create game trailers", then you should already have some footage to work with. In this article, I'm going to cover the next step in the process of creating a game trailer. We will be using a program called VirtualDub and the Lagarith Lossless Video Codec to compress and convert your Fraps game footage.

What is VirtualDub?

VirtualDub is a video and audio compression tool created by Avery Lee. It allows you to take video files such as .avi, .mpg, .divx, and convert or compress them with other video codecs. This is handy if you have an editing program that does not have a lot of options to compress video footage. Your editing program may allow you to export your video, but you may have little control over the video codec you can export with which could affect the file size and quality of your video. This is where VirtualDub comes in. It allows us to select a wide range of video codecs and re-encode your video files with that specific codec. Depending on the codec you select, you can drastically condense the size of your video at the cost of little quality.

What is the Lagarith Lossless Video Codec?

There are many different types of video codecs out there and I have spent many years perfecting how to compress and covert video footage. Lagarith is a lossless video codec. The term lossless is the brother to lossy data compression. Lossy data compression is an attempt to compress data by losing some of it. Most video codecs use lossy data compression because of the many different purposes you can use it for. Some websites like YouTube, and Vimeo, require video files to be a certain size before uploading them. By using lossy data compression, your file sizes will be a lot smaller. The cost of having a smaller file size is that your video footage may be blurry or unclear, and this is due to the compression of the footage.

Lossless data compression allows you to take the original footage and decompress it, allowing you to keep the compression identical to the original footage.

What does all this mean?

This essentially means that we are using the Lagarith Lossless Video Codec to decompress the Fraps video footage of the game you captured and still keep roughly the same size and quality of the original Fraps footage. Instead of the Fraps footage being encoded by Fraps, it is now encoded by Lagarith. The reasoning behind this is because the Fraps video codec does not work well with video editors such as Adobe Premiere Pro, or Sony Vegas. Instead of importing video captured with the Fraps codec into your video editor, we will now be importing footage encoded with the Lagarith codec. This will allow you to begin editing right away and avoid any issues in the future with the Fraps video codec not displaying the audio or video of the footage in the editor.

Download and install Lagarith Lossless Video Codec

You can download the Lagarith Lossless Video Codec here. It's a fairly small executable file that you will run to install the codec on your computer. Once the codec is installed, VirtualDub will recognize the Lagarith Lossless codec, along with the other codecs you have installed on your system.

Download and Install VirtualDub

You can download VirtualDub here. The download will come in a zip file which you will have to extract. There is no setup or installation for VirtualDub. All you need to do is create a folder on your desktop (or wherever you want VirtualDub to be) and extract the contents to that folder. You can launch VirtualDub by double clicking on the executable file: VirtualDub.exe.

Configuring VirtualDub Settings

There are a few options in VirtualDub you will need to make sure are set correctly before you begin compressing your Fraps video footage. Once you open VirtualDub, go ahead and open the first video file that you want to compress. You can do this by clicking File, and then "Open video file." When you open a video file, the first frame of the footage will appear on the screen. I don't have any footage opened yet in my examples, which is why you are seeing a gray background.

Video Tab:

  • Set compression to Lagarith Lossless Video Codec
  • Select Full processing mode

There are two things you will need to do on the video tab do once you open VirtualDub and select a video file. First, set the compression to the Lagarith Lossless Video Codec. You can do this by clicking the video tab, and then selecting "Compression."

Secondly, you will need to make sure that "Full processing mode" is selected. This will ensure that your video is decompressed and compressed with a better bitrate than direct stream copy. Direct stream copy simply copies frames from the source file to the output file without decompressing the footage. The bitrate is lower believe it or not, which makes the video footage lose more quality.

Audio Tab:

  • Select Direct stream copy

For audio, you want to have "Direct stream copy" selected. Unlike video, we don't want to compress the audio. We'll want to keep the audio quality the same as the original.

Note: VirtualDub keeps the selected video and audio settings until you close the program down. You can continue to open and save files without having to change these settings again.

Save as an .AVI

Once you have all of the options set in VirtualDub, it's time to save your file. Click File, and then select "Save as .AVI." The filename will already be filled out, since you opened this file in VirtualDub. I would recommend creating a new folder to save these files in.

You should have two folders: (label them however you want)

  • Fraps footage
  • Lagarith footage

The Fraps footage files are saved with the Fraps video codec, and those are the files you captured while you were playing your game.

The Lagarith footage files are the Fraps video files you are encoding with the Lagarith Lossless Video Codec. The Lagarith files are what you will use to import into your video editing program.

Once you save the file, open another file and then save it as an .AVI again. Do this until you have encoded all of your Fraps video files to Lagarith Lossless video files.

If you have a lot of Fraps footage, you can use VirtualDub to create a batch save and encode them all at once with the Lagarith codec. I won't go into detail on how to use that feature, but the option is there if you want to use it.

Now that you have all of your footage encoded using the Lagarith codec, you can begin importing this footage into your video editor and begin editing!


    0 of 8192 characters used
    Post Comment

    No comments yet.


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)