- Home
- Skills
- Image & Video
- Speed Ramp
More screenshots
Works with the AI Agents you already use
Speed Ramp
by nok kanato
Professional ffmpeg-based velocity editing and beat-synced speed ramping for video clips.
Free
Speed Ramp
Example session with this skill installed
I have a 10 s, 30 fps clip. Give it a hero slow-down starting at 3 s and land the whip on the beat of a 100 BPM song. 1280x720 out.
- Read your context and instructions
- Compiled the speed ramp
Summary
Hero ramp rendered: 1.0x eases down to 0.4x at 3.0 s, holds, whips to 2.5x and settles back to 1.0x. The whip peak lands
1.1 ms off the beat.
| Metric | Value |
|---|---|
| Source | 10.0 s, 30 fps |
| Interpolation | 30 -> 120 fps (motion-compensated) before slowing |
| Hero hold ends (source time) | 4.98 s |
| Whip peak (output time) | 7.799 s |
| Nearest beat (100 BPM grid) | 7.800 s |
| Beat error | 1.1 ms |
| Output | 12.067 s, 362 frames, 1280x720 |
Command I ran
python3 speed-ramp/hero_whip.py clip.mp4 --down-at 3 --bpm 100 \
--size 1280x720 -o renders/hero.mp4
Script output
interpolating to 120 fps (motion-compensated; ~1 min per 15 s at 480p) ...
{"hold_end_src": 4.98, "whip_peak_out": 7.799, "beat": 7.8, "beat_error_ms": 1.1, "total_out": 12.067, "min": 0.4, "max": 2.5}
done renders/hero.mp4 12.067s 362 frames
Next steps
- The output is silent: drop it in your editor and start the song at 0 s.
- If the whip feels early or late, shift it one beat with
--hold-end(+/- beat x slow, here 0.6 x 0.4 = 0.24 s). - Have the real song? Pass its beat times with
--beats-jsoninstead of--bpm.
Connects securely to your tools. The creator never sees your data.
About this skill
Raw phone footage and AI-generated clips often look amateur when slowed down, leading to stuttering frames and disjointed transitions. Manual speed ramping in traditional editors is time-consuming and frequently results in "ghosting" or missed beats. This skill provides a suite of ffmpeg-based Python tools to execute precise, professional-grade velocity edits that sync perfectly with musical beats.
What it does
- Velocity montage creates rhythmic edits where cuts are hidden inside high-speed peaks.
- Hero ramps execute a smooth slow-down followed by a single sharp "whip" transition.
- Frame interpolation handles 30 fps or AI footage by upsampling to 120 fps to maintain fluid motion at low speeds.
- Beat synchronization aligns speed peaks to specific timestamps using BPM data or JSON beat maps.
- Live preview UI provides a local browser interface to visualize ramps before committing to a render.
How it works
- Analyze timing by providing either a BPM or a JSON file containing specific audio beat timestamps.
- Select a script based on the footage type, choosing between
velocity.pyfor multiple shots orhero_whip.pyfor continuous takes. - Run a dry run to verify the retiming plan and check for beat alignment errors in milliseconds.
- Execute the render using ffmpeg to produce the final retimed MP4, typically outputting to a dedicated renders directory.
Frameworks & tools
This skill requires ffmpeg 7+ and Python 3.10+. It uses the standard library only, ensuring no external dependencies or API keys are needed. Retiming logic relies on -/filter_complex for precise frame manipulation.
Why this beats prompting it yourself
Writing ffmpeg filter chains for non-linear speed ramps is notoriously difficult and prone to syntax errors. These scripts handle the complex math of integrating speed curves and retiming frames automatically, ensuring the output length matches the retimed motion perfectly without manual calculation.
Use cases
- Creating high-energy social media montages with cuts synced to music beats.
- Smoothing out jittery AI-generated video clips using motion-compensated interpolation.
- Adding professional "hero" slow-motion moments to b-roll for product reveals.
- Batch processing multiple clips into a rhythmic velocity sequence.
Known limitations
Requires ffmpeg 7 or higher to support modern filter syntax. Outputs are silent by design, requiring audio to be muxed back in during final assembly. Continuous takes should not use the velocity script to avoid motion glitches.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
This skill has been used 5 times.
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Python 3.10+ffmpeg 7+
Git
Permissions
Terminal: runs python3 and ffmpeg. Read/Write files: reads your clips, writes renders where you point -o. Network: only the optional preview UI (ramp_ui.py), a local server on 127.0.0.1; nothing connects to the internet. Environment variables: only the optional PORT for that UI.
What's inside
Frequently Asked Questions
New in Image & Video
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Video Skills.