Creating a splitme, the easy way:
First get yourself an existing splitme, like:
James Bond - Dr. No
And with this one we are going to make a new one for: James Bond - Goldfinger
Save the splitme in a folder next to your file to be splitted.
You should currently have the following files:
Code:
- James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters.avi
- FlashSfv.exe
- SplitMe.bat
- splitme.syl
- VirtualDubMod.jobs
- VirtualDubMod.exe
- vorbis.dll
- corona.dll
- ogg.dll
First the movie, the batch file and some vdub files. Also there is a flashsfv.exe, but you don't really need that unless you want to check if the splitted files check out okey. (But I'm tooo lazy etc blabla)
You can read the bat/syl/jobs files in notepad or whatever, to see whats in it. You'll need to edit syl later on.
Now for the tricky part:
-Open the movie in virtual dub.
-Set: Video on Direct stream copy!
-Set: Streams - Stream List - Select the stream, right mouse and Interleaving.
Enter the correct values. Mostly that is preload 96ms, and interleave 96
ms NOT FRAMES
And no delay for the audio. (This is for ac3 tracks, you should use different values for mp3 etc)
-Twice oke.
Now you need to create a selection. You can do that with the black arrow buttons on the bottom, just left of the word Frame.
Or you can use, Home & End keyboard shortcuts.
Next steps need to be repeated just as often as in how many pieces you want to cut the movie.
Selecting the first frame is easy.
-Go to the first frame (0) and press Home.
The second one is a bit trickier, you have to keep in mind key-frames and scene changes.
You need to select a key-frame just in between a scene change, this gives the best transition between files (imo)
So no frames will be repeated.
In this case we want to cut the movie in 2 parts, they don't need to be equally sized. Just below 2 gig each. In this case both will be around 1GB something.
The total amount of frames for this movie is: 158196. I cut that in halve: 79098 and press ctrl+g and enter 79098.
Now you are on the halve of the movie. Which is close to about 1GB something. Doesn't need to be real close.
In here you need to find the closest key-frame with a scene change.
In my case I go for: frame 81342 and press End
Press F7 (save as), and select a location to save the file (put it in the same folder as the splitme).
I'll save the first part as: James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters-part1.avi
Before you enter Save. You need to make sure you Checked the option: 'Don't run this job now...'
This will add it to the jobs.
Press save.
Now you are back in the main screen of vdub and you need to select the second part.
You should still have the last frame of the first part on screen, which was 81342. You need to select the frame after that. There are several ways. 'ctrl+g 81343 enter' or click right arrow button on your keybord.
Press Home, go to the end of the movie 'ctrl+right' and press End/
Again press F7 and repeat the same steps as for the first part.
Except name it part2.
Now open job control, F4.
You should only see the 2 jobs you just created.
Select 'Save job list..' in the File menu.
Navigate to the folder where your splitme recides.
In the 'Save as type' Select the second option 'Sylia scropt for VirtualDub (*.syl) and you see the splitme.syl
Select that one. And save. Replace it? yes.
Press ok, close vdub.
Now you should have a working splitme.syl for your movie. If you run splitme.bat it should also work.
But to work for other people as well, you need to make some changes.
Open splitme.syl in notepad.
Goto the line which says: VirtualDub.Open("..
Remove the path to the movie file. In my case it should say:
Code:
VirtualDub.Open("James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters.avi","",0);
Goto the line which says: VirtualDub.SaveAVI("
Remove the path:
Code:
VirtualDub.SaveAVI("James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters-part1.avi");
You need to repeat this for each part.
My splitme looks like this:
Code:
// VirtualDub job list (Sylia script format)
// This is a program generated file -- edit at your own risk.
//
// $numjobs 2
//
// $job "Job 1"
// $input "James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters.avi"
// $output "James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters-part1.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters.avi","",0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0);
VirtualDub.stream[0].DeleteComments(1);
VirtualDub.stream[0].AdjustChapters(1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.stream[0].EnableFilterGraph(0);
VirtualDub.stream[0].filters.Clear();
VirtualDub.video.DeleteComments(1);
VirtualDub.video.AddComment(0x00000002,"ISFT","VirtualDubMod 1.5.10.2 (build 2540/release)");
VirtualDub.video.AdjustChapters(1);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,3074160);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(0,158196);
VirtualDub.SaveAVI("James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters-part1.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $job "Job 2"
// $input "James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters.avi"
// $output "James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters-part2.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters.avi","",0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0);
VirtualDub.stream[0].DeleteComments(1);
VirtualDub.stream[0].AdjustChapters(1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.stream[0].EnableFilterGraph(0);
VirtualDub.stream[0].filters.Clear();
VirtualDub.video.DeleteComments(1);
VirtualDub.video.AddComment(0x00000002,"ISFT","VirtualDubMod 1.5.10.2 (build 2540/release)");
VirtualDub.video.AdjustChapters(1);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(3253720,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(0,158196);
VirtualDub.SaveAVI("James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters-part2.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
Run a test, and you should end up with 2 working parts. Which shouldn't have problems running on standalone players cause of filesizes.
Remove the avi's from this folder. (keep copy of original for release!)
And rar the splitme files together in a rar file and release it.
Tadaaaa:
James.Bond.003-Goldfinger.UE.1964.Xvid.AC3-ShitBusters-SplitMe.rar