PDA

View Full Version : Splitting files in VirtualDub




RumCoke
31 Mar 2002, 09:26 AM
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
31 Mar 2002, 09:49 AM
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 ;>}

bzhk
1 Apr 2002, 12:57 PM
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.

RumCoke
2 Apr 2002, 12:01 AM
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?)

Mac Sidewinder
2 Apr 2002, 11:06 AM
Remember to go to a keyframe before you cut your file or you may end up with a few frames of corrupted video.

RumCoke
2 Apr 2002, 06:24 PM
OK, now I want to merge 4 mpg-files! Should I still use VirtualDub?

RumCoke
2 Apr 2002, 06:28 PM
Oops, obviously not.
VirtualDub Error: MPEG Import Filter: pack synchronization error
...but I can open other mpg-files...whats wrong with these?

setarip
3 Apr 2002, 02:42 AM
"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 ;>}