Browser FFmpeg recipe

Split Video Online with FFmpeg

Create numbered 30 second segments from one source video.

Command

Run this FFmpeg command

ffmpeg -i input.mp4 -f segment -segment_time 30 -reset_timestamps 1 -c copy segment_%03d.mp4 segment_%03d.mp4

When to use it

  • long recordings
  • upload chunks
  • clip batches

How it works

  1. Upload the source video.
  2. Change the segment time if you need shorter or longer parts.
  3. Run FFmpeg and download the generated segment archive.

Option reference

OptionWhat it does
-f segmentUses the segment muxer.
-segment_time 30Creates segments around 30 seconds long.
segment_%03d.mp4Names outputs with three-digit numbering.

Practical notes

  • Stream copy segments may start on nearby keyframes.
  • Multiple generated files are offered as a zip by the browser tool.

FAQ

Why are segment lengths not exact?

Copy mode usually splits on keyframes, so segment timing can vary slightly.

How do I make 10 second clips?

Change -segment_time 30 to -segment_time 10.