Splitting video in multiple episodes with ffmpeg

Solution 1:

ffmpeg is probably re-encoding out2.mp4 because you did not include your copy options for your second output:

ffmpeg -i 001.mp4 -codec copy -t 00:00:25.5 out1.mp4 -codec copy -ss 00:00:25.5 -t 00:00:33.75 out2.mp4
  • -strict -2 is not required in this case. If you are re-encoding, and no other AAC encoders are available, then ffmpeg will use -codec:a aac which requires -strict -2 (or the alias -strict experimental which I prefer).

  • -codec copy will copy all streams of each type if present. For MP4 that usually just means audio and video, but other containers can have subtitles or even a data stream.

  • You do not need to use -ss if the value is 0.