Splitting files in VirtualDub

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RumCoke
    Junior Member
    Junior Member
    • Nov 2001
    • 17

    Splitting files in VirtualDub

    I've heard that I can use VirtualDub to split avi's into smaller files, but how do I do it? (I have allready one 1.4Gb file, and wish to split it so that it fits on two CD's.)
  • setarip
    Retired
    • Dec 2001
    • 24955

    #2
    Use v.1_4_9 (or1.4D or earlier) as follows:

    1)Load your original .AVI into VirtualDub
    2) Set BOTH "Video" and "Audio" to "Direct Stream Copying"
    3) From the "Edit" dropdown menu, select "Set Selection Start"
    4) Move slider to approximate halfway point
    5) From the "Edit" dropdown menu, select "Go to next keyframe"
    6) From the "Edit" dropdown menu, select "Set Selection End'
    7) From the "File" dropdown menu, select "Save as AVI" - Save as a new filename (e.g. "Movie1of2.avi").
    8) From the "Edit" dropdown menu, select "Set Selection Start"
    9) From the "Edit" dropdown menu, select "Move to End"
    10) From the "Edit" dropdown menu, select "Set Selection End"
    11) From the "File" dropdown menu, select "Save as AVI" - Save as a new filename (e.g. "Movie2of2.avi").

    Let us know of your success ;>}

    Comment

    • bzhk
      Junior Member
      Junior Member
      • Mar 2002
      • 14

      #3
      This is a good and easy method that I use often:

      Load your video. then go to Video >> Select range.
      There are two columns, one for Time (ms) and one for Frames. The "Frames" one is the one that you want to work with. The End offset is the number of frames in the entire movie. Divide that exactly in half and use that number in the "Length" text field. Press OK and save your AVI (...1of2).

      Next, take the value in the "Length" text field and put it in the Start offset MINUS 1. Then put the same value back in the "Length" text field PLUS 1. Your end offset should be zero (or close to it). Save your AVI (....2of2). That should cut the movie exactly in half. (PS...make sure you set your audio and video to Direct stream copy)

      ALSO: if you dont get your disered file sizes after this, use setarip's method. That works great also.

      Comment

      • RumCoke
        Junior Member
        Junior Member
        • Nov 2001
        • 17

        #4
        Tried setarpis method, and it worked perfectly! But maybe if I 'm gonna do it again, I'll try it he bzhk way.
        Thank you guys. (Or who knows...girls?)

        Comment

        • Mac Sidewinder
          Platinum Member
          Platinum Member
          • Apr 2002
          • 175

          #5
          Remember to go to a keyframe before you cut your file or you may end up with a few frames of corrupted video.

          Comment

          • RumCoke
            Junior Member
            Junior Member
            • Nov 2001
            • 17

            #6
            OK, now I want to merge 4 mpg-files! Should I still use VirtualDub?

            Comment

            • RumCoke
              Junior Member
              Junior Member
              • Nov 2001
              • 17

              #7
              Oops, obviously not.
              VirtualDub Error: MPEG Import Filter: pack synchronization error
              ...but I can open other mpg-files...whats wrong with these?

              Comment

              • setarip
                Retired
                • Dec 2001
                • 24955

                #8
                "VirtualDub Error: MPEG Import Filter: pack synchronization error"

                There's nothing wrong with the files. They're in MPEG2 or SVCD (not MPEG1 or VCD) format, which VirtualDub cannot handle.

                Use TMPGEnc to join the files, as follows:

                File>>MPEGTools>>Merge&Cut

                Load the files in the sequence you want them to be joined
                Set the mode to "MPEG2" (NOT MPEG2-SuperVideoCD, unless you intend to burn SVCDs for playing on a standalone player and viewing on a television)

                Enter a new filename in the "Output" box

                Click on the "Run" radio button

                Let us know of your success ;>}

                Comment

                Working...