Why Do This in Your Browser?
Changing video playback speed is more common than it looks. Tutorials and lectures benefit from 1.25× or 1.5× to cut watch time. Sports footage and product demos benefit from 0.5× slow motion. Speed-ups up to 16× also turn long screen recordings into quick overviews. Until recently, all of this required a paid editor or a desktop FFmpeg install.
This tool handles speed changes in browser, with optional audio pitch preservation. The video PTS (presentation timestamps) are scaled by the chosen factor; the audio is independently re-tempo'd with the `atempo` filter, which preserves pitch — voices don't sound like chipmunks at 2× or like baritone whales at 0.5×.
How It Works
Speed changes are conceptually simple: multiply all timestamps by 1/speed_factor. A 1-minute video at 2× becomes a 30-second video; at 0.5× becomes a 2-minute video. Changing timestamps alone would leave a video at an odd frame rate, so the tool re-encodes it to H.264 (CRF 23) at the source frame rate: speeding up drops frames, slowing down repeats them. Audio is the tricky part, because naively speeding up audio also raises pitch (the chipmunks effect). The fix is the `atempo` filter, which preserves pitch by intelligently overlap-adding short audio segments.
Optional second-order tweaks: drop the audio entirely if pitch preservation isn't enough (silent slow-motion is a common cinematic effect), or mute it for big speed-ups, where even pitch-preserved audio turns choppy.
Tip: If you only want a portion of the video at a different speed, trim it first, then change speed. After a speed change, convert to WebM or another format for web embedding.
Common Use Cases
Worked example: what happens to frames and audio at each speed
We took a 4-second, 30 fps test clip (120 frames, each one different) on October 12, 2026 and applied the tool's video filter (setpts) at four speeds with desktop FFmpeg 6.1, keeping the output at 30 fps as the tool does. We then counted how many of the output frames were actually distinct, by hashing every decoded frame.
| Speed | Output length | Output frames | Distinct frames | Audio filter chain the tool builds |
|---|---|---|---|---|
| 0.25× | 16.0 s | 479 | 120 | atempo=0.5,atempo=0.5 |
| 0.5× | 8.0 s | 239 | 120 | atempo=0.5 |
| 2× | 2.07 s | 62 | 62 | atempo=2 |
| 4× | 1.07 s | 32 | 32 | atempo=2.0,atempo=2 |
- Slow motion repeats frames rather than creating new ones. At 0.25×, the 120 original frames fill 16 seconds of 30 fps video by being shown about four times each. Motion looks steppy, like 7.5 fps footage. Real smooth slow motion needs footage shot at a high frame rate (a phone's 120 or 240 fps mode). Slowing that to 0.25× gives 30 or 60 new frames per second. FFmpeg's
minterpolatefilter can invent in-between frames on desktop, with visible artefacts on fast motion. - Speeding up drops frames. At 4× only every 4th frame survives, which is what makes a sped-up screen recording look like a time-lapse.
- Audio keeps its pitch through chained atempo. FFmpeg's
atempofilter accepts 0.5 to 100 per instance, but its documentation notes that tempo changes over 2× skip samples rather than blending them. The tool therefore chains 2× steps for big speed-ups and 0.5× steps for slow-downs, as above. A 440 Hz tone stayed at 440 Hz across the range in an earlier test. Speech at 4× and beyond becomes choppy because so little of each syllable remains.
See also: Pair reversal with the speed changer; the Video Reverser runs FFmpeg’s reverse filter in-browser.