Log in

View Full Version : splitMKV - split big MKV/AVI files + external SRT subtitles in smaller chunks (FAT32)


deank
29th October 2009, 16:55
Here we go with another handy and cool tool: splitMKV. It will be included in multiAVCHD's full download, along with a standalone app download here: http://multiavchd.deanbg.com/splitMKV/

Those of you who have multiAVCHD can simply download the .exe (http://multiAVCHD.deanBG.com/splitMKV.exe) (80KB) and put it in multiAVCHD's folder. :)

splitMKV is a CLI tool, but since it uses default split size of 4000MiB you can use drag&drop with your MKV/AVI files, too:


D:\>splitMKV.exe
splitMKV ver 0.02 - split MKV/AVI files with external SRT subtitles (deank@doom9)

Usage: splitMKV.exe input_file [output_folder] [/split:SIZE]
* input_file must be a MKV or AVI
* SIZE is set in MiB - i.e /split:4000 for FAT32 compatibility (default)


It will process MKV or AVI files and will split them in smaller parts (set by /split: option) and on-the-fly it will split the corresponding SRT file, will set new timings and will fix errors in the SRT subtitle file.

Important: SRT files must be saved in ANSI format before processing.

Note: Using this tool makes sense only if you have external SRT subtitles to be split along with the input MKV/AVI file. Otherwise it is just a simple CLI4CLI (for mkvmerge).

The whole idea is to cut the steps for splitting and adjusting subtitles, when user splits the original video, so basically that's what splitMKV does.

Example: splitMKV.exe d:\test_movie.mkv

will split test_movie.mkv in 4GiB chunks along with test_movie.srt so you will get:

test_movie-part-001.mkv
test_movie-part-001.srt
test_movie-part-002.mkv
test_movie-part-002.srt
etc..

Example 2: splitMKV.exe d:\test_movie.mkv /split:700

will split test_movie.mkv in 700MiB chunks...

***

The tool was requested by OPPO BDP-83 blu-ray player users, since it can play MKV files off a USB stick. Because there is a 4GB limit for FAT32, this small tool will come in hand. Of course, splitMKV can be used with multiAVCHD before creating a compilation.

For example you want to create a DVD5 AVCHD disc from 8GiB MKV file. So you can split the MKV with splitMKV first and then create 2 or more DVD5 discs from the split parts. :)

The tool uses mkvmerge to split the input file and then mediainfo to recalculate the proper timings for newly created SRT segments.

Dean

p.s. I'm not sure if this is the proper forum to post the thread, so if a moderator finds a better place for it, move it. Since splitMKV can be used with tsMuxeR and multiAVCHD, I guess it is not the wrong place.

claymic
29th October 2009, 17:25
What can i say ? Its a great tool and works perfect. I test in many files and the result is perfect. Dean, you are the man and i am sorry for full your mailbox, rsrsrsrs.
But you make a excelente tool, like the multiavchd, my best favorite tool ever. The invitation to the vodka is still open. I'll look around, I'm close, its only 10,000 kilometers, rsrsrsrs.
I send you a sugestion in your email.
Thanks man.
Clayton

deank
29th October 2009, 17:41
Thanks, Clayton!

I hope you and other OPPO users will find it useful. It can be also used by LG and JVC blu-ray player users, because there are some models, which also support MKV off a USB stick or DVD.

Dean :)

claymic
29th October 2009, 19:20
I will creat a tutorial for my frinds in Brasil, they are very happy with this tool, and i send them the links for this forum.
Thanks again.

Knot
17th April 2010, 19:36
Hi

A donwloaded the splitMKV but when I open the .exe it opens a window and close...
I'm using Windows 7 X64.

Can you help me?

rack04
17th April 2010, 19:41
Hi

A donwloaded the splitMKV but when I open the .exe it opens a window and close...
I'm using Windows 7 X64.

Can you help me?

It is a CLI tool. You must execute the exe through cmd.

Knot
18th April 2010, 00:19
It is a CLI tool. You must execute the exe through cmd.

Thanks! It's working!

chexmix
30th October 2015, 05:33
I lose some parts of audio sometimes when I use this tool with avi files. This is true even if the program doesn't need to split. For example I have split set to 2gb but even if I have a file like 800mb and my script runs it through the resulting file may be missing parts of audio.