'smart' split by parts feature, and 'cheat' precision splitting
Original reporter: jyonkheel
first thing first, i have done my home work and i know mkvmerge can only split mkvfiles before a keyframe, it is also known to me that the splitting occurs past the specified split point and happens before the next key frame, i have thought of a way to make the splitting seem more precise
firstly let me write about 'smart' split by parts feature,
let say i want to omit Ending Credits of a video but after the Ending Credits ends there is still a continuation to the show, there would be two split points and my CLI code would look like this
--split parts:-0A:00,+0B:00-
ASCII seeker [XXX]-omitted frames [OOO] - unwanted frames but are retained + wanted frames but are omitted -----------------------A------B---- - original file ---------------------A[XXXX]B-- - desired output -----------------------AOO][XXB++][ - actual output (some wanted frames have been omitted) -----------------------AOO][XX][OOB- - 'smart' split by parts (retain all wanted frames but compromise with few retained unwanted frames),
instead of splitting after point B all wanted frame are retained by splitting before point B, the unwanted frames that are retained are negligible
the next is 'cheat' precision splitting (toggled on or off)
to accomplish this Ordered Chapters are used to 'hide' unwanted frames, assuming 'smart' split by parts have been done to the previous mkv file, very few unwanted frame stioll persists
ASCII seeker [NNN] - frames not played because no chapter node has ended prematurely -------------------------AOOB- - 'smart' split by parts have been done -------------------------A][NN][B - hide unwanted frames by specifying an start and end time until A, and a new chapter node starting point B to the end of mkv file
if Ordered Chapters already implemented then just simply delete unwanted chapter, if no OCs then simply generate one