> with ffmpeg you need to make two temporary videos and then concatenate them

It can be done in a single command, no temp files needed.