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.mp4When to use it
- long recordings
- upload chunks
- clip batches
How it works
- Upload the source video.
- Change the segment time if you need shorter or longer parts.
- Run FFmpeg and download the generated segment archive.
Option reference
| Option | What it does |
|---|---|
-f segment | Uses the segment muxer. |
-segment_time 30 | Creates segments around 30 seconds long. |
segment_%03d.mp4 | Names 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.