I have a high definition recording of a concert that starts with behind-the-scenes footage and is stored in a MKV container. Unfortunately my media player (LibreELEC, i.e. Kodi on raspi 4) struggles jumping around the play back.

However, FFmpeg comes to the rescue:

ffmpeg -ss 00:07:54 -to 02:02:00 -i input.mkv -c copy output.mp4

This command simply converts/copies my video file from a .mkv to a .mp4 format and only keeps the content from 7 minutes and 54 seconds to 2 hours and 2 minutes.

Enjoy!