There are a number of ways to do that. Several dashcam viewer packages will take multiple segments, allow you to adjust, edit, clip etc can do it.
Also a lot of video editing software can do this. Most of my videos are created using Movavi Video Editor.