Browser FFmpeg recipe

Loop Video Online with FFmpeg

Repeat the input video three total times using stream copy.

Command

Run this FFmpeg command

ffmpeg -stream_loop 2 -i input.mp4 -c copy looped.mp4

When to use it

  • short loops
  • background clips
  • repeated demos

How it works

  1. Upload the source clip.
  2. Change the stream loop count if needed.
  3. Run FFmpeg and download the looped video.

Option reference

OptionWhat it does
-stream_loop 2Repeats the input two extra times.
-c copyCopies streams without re-encoding.
looped.mp4Writes the repeated clip output.

Practical notes

  • The loop count is extra repeats, so 2 means three total plays.
  • If copy mode fails, re-encode with H.264 and AAC.

FAQ

How do I loop forever?

For file output, choose a finite count. Infinite loops are for playback, not saved files.

Can I make a GIF loop?

Yes. Use the MP4 to GIF recipe after creating or trimming a short loop.