Split mkv

By Chapter 

# Splits in front of the chapter marker
# This examples pull out the segment running from chapters 2-5
# leaving you with three parts start-2, 2-5, 5-end. Discard the beginning and end segments
mkvinfo title00.mkv | grep ChapterString
mkvmerge -o output.mkv --split chapters:2,5 title00.mkv

# Add additional segments similarly
mkvmerge -o output.mkv --split chapters:2,5,8,11 title00.mkv

On all chapters

mkvmerge -o output.mkv --split chapters:all title01.mkv