Articles - > Cutting AVI Files

Printer Friendly Version Printer Friendly Version

User Rating:
No ratings recorded - Vote Now

User Comments:
gasac: Doesn't seem to work for divx...
More / Post Your Comments

Page Select:

1   2   3   Next Page

Categories:

Page 1 of 3: English Version

Introduction

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

However, using an AVI editing tool to cut 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.

What VirtualDub does isn't strictly cutting, but what it does is allow you to select a part of the movie, save it as another AVI file (no re-compression needed, so it will only take a few seconds to save the AVI file), and repeat this process until all your AVI cut is completed.

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

    1. Start VirtualDub and load in your 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. Let's also get familiar with VirtualDub's controls


    7. VirtualDub Controls


      1. Slider - Can be used to slide to parts of the movie
      2. Move to last frame - Pressing this button will move the slider to the end of the movie
      3. Keyframe previous - Skip to the previous keyframe
      4. Keyframe next - Skip to the next keyframe
      5. Mark in - Marks a position that tells VirtualDub where to start the cut
      6. Mark out - Marks a position that tells VirtualDub where to end the cut
      7. Current Slider position - Tells you where the slider is currently positioned at


    8. First, press the Move to last frame button to move the slider to the end of the movie. Take a note of the Current Slider position, especially the Frame number. This is the total number of frames. Example : total number of frames is 2387


    9. Decide how many parts you want to cut the movie, and divide the total number of frames by the number of parts you want to cut - this is the number of frames for each part. Example : number of parts you want to cut is 4. If total number of frames is 2387, then each part will be 596 frames.


    10. Slide the slider back to the beginning of the movie.


    11. Press the Mark in button.


    12. Slide the slider to where you want to stop cutting. Example : move the slider to frame 596 x 1 = 596 (or roughly there).


    13. Press the Keyframe previous or Keyframe next button once to skip to the next keyframe (it is good to cut at a keyframe, to avoid problems).


    14. Now press the Mark out button. Note that part of the slider bar will now have been highlighted - the highlighted part is the part you are cutting.


    15. VirtualDub Cutting


    16. From the "File" menu, select "Save as AVI" and save the file as a new AVI (don't overwrite your existing files). Example : save the AVI as movie-1.avi


    17. Press the Mark in button.


    18. Slide the slider to where you want to stop cutting. Example : move the slider to 596 x 2 = 1192 (or roughly there).


    19. Press the Keyframe previous or Keyframe next button once to skip to the next keyframe (it is good to cut at a keyframe, to avoid problems).


    20. Now press the Mark out button. Note that part of the slider bar will now have been highlighted - the highlighted part is the part you are cutting.


    21. From the "File" menu, select "Save as AVI" and save the file as a new AVI (don't overwrite your existing files). Example : save the AVI as movie-2.avi


    22. Repeat step 13 through 17 until you are near the end of the movie - if you are near the end of the movie, press the Move to last frame button to cut the last part of the movie.


    23. Please note that you should have several new AVI files, but your original AVI file should still be there (you can delete it if you don't need it anymore).



    Fixing Audio Synch

    The primary reason for audio synch problems is that audio interleaving option in VirtualDub's "Audio" menu. You should uncheck the "Enable audio/video interleaving" option and make sure the audio track delay setting is at 0. Also, it is wise to cut on keyframes to avoid similar audio problems.

     

     

     


    1   2   3   Next Page

    Article Navigation:

    Page 1: English Version <--
    Page 2: Chinese Version
    Page 3: Italian Version

    Revision History:

    Version 1.0:
    • Date Updated: Jun 28, 2001

    User Rating:

      Average Rating: Your Rating:
    Registered Users: No ratings recorded
    Non-Registered Users: (96 votes)

    User Comments:

    Doesn't seem to work for divx files with multiple audio and subtitles.
    Posted by: gasac, 14:46:26, Jan 7, 2007


    gasac: This article is dated 2001. You can try a newer version of the article (using VirtualDubMod) here: http://www.digital-digest.com/dvd/articles/article_virtualdubmod_cutavi_page1.html
    Posted by: DVDGuy, 15:17:47, Jan 7, 2007


    The editor is easy to use. However, while editting a divx avi file and saving it into a new one, I was surprised that the new file has expanded from 700mb to 75gb. I'm not sure if the application compresses the final output file afterwards. I didn't reach that part since I ran out of disk space. Great editor though. :) Any explanation or tips on how to save my divx avi to approximately the same original size? Thanks.
    Posted by: alqhiqeurass, 18:06:35, Feb 12, 2007


    alqhiqeurass: You've most likely did not select "Direct Stream Copy" from the video menu, and did not set a compressor, so the video was outputted uncompressed (hence the large size). Also, please refer to my earlier comment about using VirtualDubMod
    Posted by: DVDGuy, 21:12:56, Feb 12, 2007



    Comments: