Create a boomerang loop

speed & reverse

// shell

$ ffmpeg -i input.mp4 -filter_complex "[0:v]reverse[r];[0:v][r]concat=n=2:v=1:a=0" output.mp4