// ------ #ffmpeg -------- cut and copy a video (or audio) file -------------------
ffmpeg -ss 00:00:00.000 -i inputFile.mp4 -to 00:01:25.500 -c:v copy -c:a copy [DESTINY]/inputFile_cut_01.mp4

ffmpeg -ss 00:00:00.000 -i inputFile.mp4 -to 00:01:25.500 -c:v copy -c:a copy inputFile_cut_01.mp4


  • ffmpeg name of the program to use
  • beginning of the cut: ss 00:00:00.000 = hours:minutes:seconds.milliseconds
    -i inputFile.mp4
  • time length of the new file: -to 00:01:25.500 = hours:minutes:seconds.milliseconds
    this might seem a little counter-intuitive, the first time stamp is where the new file starts, the second time data is the length of the snippet that will be created
  • -c:v copy -c:a copy = additional treatment of the file to be created.
    inputFile_cut_01.mp4


result:
media.troet.cafe/troet/media_a…