VirtualDub help - Capture: Performance

Capturing live video is a real-time operation and places high demands on your system. Here are some steps you can take to improve video capture performance.

Shut down background tasks and applications

Interruptions by background programs can interfere with video capture and cause dropped frames. Applications you should watch out for, and temporarily disable, include:

CPU usage is a problem here, but competition for the hard disk is usually a much worse problem: any attempts to access the disk by another application will cause the disk to seek back and forth, which seriously cuts available write bandwidth.

Absolutely avoid using the CD-ROM drive during video capture, as the access traffic during the spin-up of the CD-ROM drive can cause the hard drive to go off-line for more than a second.

It is not recommended to use other applications during video capture. Even if the other applications are light in disk and CPU usage, they may cause momentary hiccups that result in dropped frames or timing anomalies during the capture. The less that is going on in the system, the more accurate VirtualDub's timing statistics are and the better it can keep audio and video streams in synchronization.

Note When in capture mode, VirtualDub temporarily sets its process priority to High and disables both the screensaver and power saving mode on the display device. It isn't necessary to change these manually.

Keep the disk clean

Hard drives reach peak write performance when writing sequentially on disk — the more they have to seek around to different regions, the lower the available bandwidth. When files are scattered throughout a disk, free space is broken into a lot of small chunks, which is called fragmentation. This means that it is important to have large areas of contiguous free space on a drive. Here are some tips to improve disk write performance:

Use appropriate video compression and video formats

Uncompressed video capture dumps a lot of data onto the disk — 720x480 in 16-bit YUY2 at 29.97 fps produces approximately 20 megabytes per second. Modern computers have much more CPU power and thus you can reduce the strain on the disk by storing the video in a more efficient format.

Start by choosing an efficient raw video format for your capture device to produce:

Apply video compression on top of this to further reduce data bandwidth. Because the raw video capture will likely need some post-editing to be useful, avoid formats that overly degrade video or are difficult to edit.

Note that if you have a capture device that has hardware video compression, your options here are likely very limited. In that case, browse the capture driver's configuration dialogs, usually Video > Video Source or Video > Capture Filter, and select a format with relatively light compression.

Disable audio compression

Uncompressed audio requires much less bandwidth than uncompressed video and reasonable audio compression usually requires a lot of CPU power. This is particularly true of modern audio compression formats such as MPEG audio layer III (MP3). It is highly recommended that you not use audio compression during video capture, as it can consume a lot of CPU and make video capturing less reliable.