Tool (mkvsubmerge) to split MKV video by sentences according to subs from SRT-file and merge into a new video

I needed to remove all parts not covered by subtitle timestamp pairs and found this post https://www.reddit.com/r/mkvtoolnix/comments/a9hnz4/how_to_split_mkv_video_audio_from_video_by/

The reply inspired me and I wrote a tool called mkvsubmerge (the name comes from subtitle and merge) to do that, and you can install it using pip:

pip install mkvsubmerge

For detailed information please check https://pypi.org/project/mkvsubmerge/

Since the original post was archived and not allowing reply, I write this post and hope it will help someone.