11

I found mkvtoolnix command line, installed with brew. But i found nothing about splitting a movie with the command line, i only found with GUI.

The installation create 4 binary mkvextract mkvinfo mkvmerge mkvpropedit .

SOLUTION :

mkvmerge --split 3G -o "film.mkv" ./mymkvfile

albttx
  • 2,404
  • 3
  • 18
  • 39

1 Answers1

19

Either use the command line mkvmergewith --split (see https://mkvtoolnix.download/doc/mkvmerge.html) or use the GUI on the "Global" tab ("Splitting").

For example, to split the file movie.mkv into 1.5GB chunks:

mkvmerge --split 1500M -o movie-split.mkv movie.mkv

Note that fractional split sizes aren't supported, so --split 1.5G won't work.

ntc2
  • 9,654
  • 4
  • 43
  • 63
urbanhusky
  • 1,206
  • 13
  • 30