You could also use those timecodes for mkvmerge as mbunkus explained. You may especially find LosslessCut useful if you want to remove lots of small parts because the debug console shows the actual ffmpeg command lines it runs to do your job. Click on the Add button and go through the mkv file you want to split. When the program starts up, you will see a screen and this screen will have selected the Input tab. Now, hit Finish so you can move on with the process.
udp host:port: Read the input via UDP (listening in the specified port). Since we are splitting files, a GUI will be included. LosslessCut's preview is not as smooth as mpv, and a bit more fussy about the content it accepts. Theres a GUI for Windows, as well as provisions so other programs can easily. Most of the time I prefer the flexibility of mpv+command line tools. mkvmerge, only on Windows: fixed non-ASCII characters getting mangled in the destination file name when splitting is active. You can adjust the seek to be less than 5 seconds if you find it's not working well for your content.Īnother free GUI tool based on ffmpeg, which includes keyframe seek, is here: This applies to both ffmpeg and mkvmerge cut examples shown here as they cut at the nearest keyframe. Then you can use ctrl-left/right to seek to keyframes and this will show you the likely lossless cut-point you will get near to the cut times you've given on the command line. Another little trick I found is you can add something like this to your mpv config file (on linux this is ~/.config/mpv/nf):