It is possible to extract part of a video with a program like OpenShot video editor or Kdenlive. But it is also possible with the command line interface (abbreviated as cli). It is only a small amount of code. This is the code that you have to use:
ffmpeg -ss 00:00:30 -i orginalfile -t 00:44:05 -vcodec copy -acodec copy newfile
In this case, the first 30 seconds of the video will be cut and all that follows after 44:05. If you want the output file in a different format, you will have to replace “copy” by a different format. Don’t forget to give the “newfile” an extension.
By following the link below, you will find more about this: