Joining AVI files

Original Page URL:
Author/Publisher: Digital Digest
Date Added: Jun 28, 2001
Date Updated: Jun 28, 2001


Joining AVI files is actually quite an easy thing to do, if you know which software to use. Although there are many generic file joining tools available, the problem with them is that they don't "understand" the AVI format, and the files that are joined with them will most likely have problems.

However, using an AVI editing tool to join AVIs, will almost always yield good results. There are many AVI editors around, but for this tutorial, we'll use VirtualDub, a freeware open-source AVI editor, popular amongst the DivX community.

We hope you enjoy this guide.

Required Software

You'll need to download and install the following software before you proceed with the rest of this guide.

  • VirtualDub - an AVI editor

  • Instructions

    First, make sure all the AVI files you want to join have audio synch (ie. the video matches the audio). Joining AVI files without audio synch will mean that by the end of the joined AVI, you'll have a massive audio synch problem, and since at the beginning the AVI is in synch, but not at the end, it will be very hard to fix this.

    Please remember that you can only join AVI files that have the same properties - eg. they must have been encoded with the same video codec, same frames per seconds, same resolution, same audio codec, same bitrate ... - they must be exactly the same (other than the length of the film and the content, of course).

    1. Start VirtualDub and load in your first AVI file (from the "File" menu).

    2. From the "Video" menu, select "Direct Stream Copy".

    3. VirtualDub Video Direct Stream Copy

    4. From the "Audio" menu, select "Direct Stream Copy".

    5. VirtualDub Audio Direct Stream Copy

    6. From the "Audio" menu, select "Interleaving" and disable (uncheck) the A/V interleaving option.

    7. From the "File" menu, select "Append AVI Segment" and load in your second file. Keep on doing this until all of your files are loaded (please make sure you load them in the right order, from the first file, to the last).

    8. From the "File" menu, select "Save as AVI" and save the AVI as a new file.


    假如你懂得使用適合的軟體, 組合 AVI 文檔其實是很簡單的事情. 儘管可以很容易得到一些通用的文檔組合工具, 但它們一般都不懂AVI 文檔的格式, 所以它們組合出來的AVI 文檔都會有各種各樣的問題出現.

    如果用一個AVI 編輯軟體來組合AVI 文檔一般都會得到令人滿意的效果. 儘管AVI 的編輯軟體有很多, 但在這一篇指引中我們以 VirtualDub 作例子, 因為它是一個免費的開放原碼軟體, 而且最流行的一個檔




  • VirtualDub - 一個AVI 編輯軟體


    首先要保证所有要组合的 AVI 文件都能够做到音像同步 (例如声音与影像的播放速度相同). 在把它们组合以前你需要首先解决每个电影文件的同步问题, 否则会让组合出来的电影出现很多很复杂的同步错误, 这些错误是非常难纠正的. 如果你还不知道怎样修正音像同步的问题, 可以参考这篇指引, 或者这篇文章.

    请无论如何要记住 只有 相同属性的 AVI 文件才能组合在一起. 例如它们都是用同一个编码解码器(Codec)压缩的(包括影像与声音), 有相同的帧速度(Frame Rate), 有相同的解像度(Resolution), 有相同的数据速率(Bit Rate).... 除了内容跟长度(时间)以外, 其他所有的参数都必须绝对相同.

    1. 运行 VirtualDub 从文件菜单(File)打开第一个 AVI 文件. (Alt-F + Alt-O 或 Ctrl-O)

    2. 从影像菜单 (Video Alt-V) 选择 "Direct Stream Copy"

      VirtualDub Video Direct Stream Copy

    3. 从声音菜单 (Video Alt-A) 选择 "Direct Stream Copy"

      VirtualDub Audio Direct Stream Copy

    4. 再重文件菜单(Alt+F) 选择 "Append AVI Segment" (添加片段), 然后选择并打开第二个要组合的文件. 重复这些步骤, 直到所有的文件都按顺序加上.

    5. 最后把组合文件储存起来就好了, 文件菜单 (Alt+F) => Save as AVI

    Translated by iCy-fLaME

  • About Digital Digest | Help | Privacy | Submissions | Sitemap

    © Copyright 1999-2011 Digital Digest. Duplication of links or content is strictly prohibited.