mkvcut implementation in order to cut the necessary part