You’ve downloaded a long video from the internet, only to find it split across two AVI files—or, worse, several. Playing the files one after another is easy enough, but every interruption can break the mood of a film. If you’d rather keep your movies in single, neatly organized files, this guide will show you how to join AVI segments.
Before you begin
We’ve previously covered converting DVDs to DivX and turning DivX video files into DVDs with ConvertXtoDVD. Now it’s time to tackle another common task for multimedia users: joining AVI videos.
Joining AVI files is straightforward, but the format matters. The steps here are for AVI, not MPG or the increasingly popular MP4, which require different tools.
Install a good codec pack first so your computer can play the files without trouble. Codec installations can sometimes cause conflicts between drivers, so it’s worth choosing a complete, reliable package. NeoTeo recommends K-Lite Codec Pack, available here. Run the installer once and it will take care of the setup, rather than leaving you to hunt for incomplete packages or outdated codecs.
Get VirtualDubMod and check your files
VirtualDubMod is a free video-editing utility, similar in purpose to Adobe Premiere or Final Cut Pro but simpler and more compact. It’s well suited to working with DivX and other encoded video. Download it here.
The files you join must have matching characteristics: the same video codec, such as DivX or XviD; the same audio codec; the same resolution; and the same frame rate. VirtualDubMod can change these settings, but doing so takes additional steps that are beyond this guide.
Open VirtualDubMod and load the first AVI using File > Open Video File. If a warning appears, click No. This warning commonly appears with AVI files containing variable-bitrate MP3 audio. Clicking Yes can completely desynchronize the audio.
Set the streams to copy directly
Choose Video > Direct Stream Copy. This is an essential setting: it keeps the original codecs and file characteristics instead of recompressing the video. The other options under Video are for recompressing a file or changing its codec.
Next, open Streams > Stream List. You’ll see the available audio tracks—usually just one, unless you’re working with a multitrack OGM or MKV file. Right-click the audio track and make sure Direct Stream Copy is selected there too.
Append the segments and save the video
To add the next AVI segment, choose File > Append Segment. Before selecting the second file, clear Autodetect Additional Segments by Filename so VirtualDubMod doesn’t add other segments automatically and leave you with a disordered file. Repeat File > Append Segment for any further segments. If an error appears when you add the second file, the files are incompatible for one of the reasons described above.
If no error appears, choose File > Save As and select a name and location for the finished file. Check that Direct Stream Copy is still selected under Video Mode, and clear Don’t Run This Job Now. Confirm to start the process. Depending on your computer’s performance and the AVI files, it may take anywhere from a few seconds to several minutes.
When the process is complete, open the finished video in your preferred player to make sure everything worked. That’s it: you’ve successfully joined two AVI files.