josiahsiegel/claude-plugin-marketplace/ffmpeg-stabilization-360
Claude Code and agent skill by josiahsiegel/claude-plugin-marketplace
- community
Checking that the SKILL.md file is still in the repository.
Complete FFmpeg video stabilization and 360/VR video processing. PROACTIVELY activate for: (1) Video stabilization (deshake, vidstab), (2) Hardware-accelerated stabilization (deshake_opencl), (3) 360/VR video transforms (v360), (4) Perspective correction (perspective), (5) Ken Burns/zoom-pan effects (zoompan), (6) Lens distortion correction (lenscorrection, lensfun), (7) Action camera footage, (8) Drone video processing, (9) VR headset formats. Provides: Stabilization workflows, 360 projection conversions, motion effects, lens correction.
Install
npx vskill@latest install josiahsiegel/claude-plugin-marketplace/ffmpeg-stabilization-360SKILL.md
The same SKILL.md was published earlier as josiahsiegel/claude-plugin-marketplace/ffmpeg-stabilization-360.
CRITICAL GUIDELINES
Windows File Path Requirements
MANDATORY: Always Use Backslashes on Windows for File Paths
When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).
Quick Reference
| Task | Filter | Command Pattern | |
|---|---|---|---|
| Basic stabilization | deshake | -vf deshake | |
| VidStab (2-pass) | vidstab | See two-pass workflow | |
| OpenCL stabilization | deshake_opencl | -vf deshake_opencl | |
| 360 projection | v360 | -vf v360=e:c3x2 | |
| Ken Burns effect | zoompan | -vf zoompan=z='...' | |
| Lens correction | lenscorrection | -vf lenscorrection=k1=... |
When to Use This Skill
Use for motion correction and VR workflows:
- Stabilizing shaky handheld footage
- Action camera (GoPro, DJI) processing
- Drone video smoothing
- 360/VR video format conversion
- Creating zoom/pan effects
- Correcting lens distortion
FFmpeg Stabilization & 360 Video (2025)
Comprehensive guide to video stabilization, VR processing, and motion effects.
Video Stabilization
deshake - Basic Stabilization
Built-in single-pass stabilization filter.
Parameters:
| Parameter | Description | Default | Range | |
|---|---|---|---|---|
x, y | Motion search start | -1 (auto) | 0-width/height | |
w, h | Motion search size | -1 (auto) | 0-width/height | |
rx, ry | Maximum shift | 16 | 0-64 | |
edge | Edge handling | mirror | blank, original, clamp, mirror | |
blocksize | Block size for motion search | 8 | 4-128 | |
contrast | Contrast threshold | 125 | 1-255 | |
search | Search method | exhaustive | exhaustive, less |
Edge modes:
blank- Fill edges with blackoriginal- Keep original edge pixelsclamp- Clamp to edge valuesmirror- Mirror edge pixels (usually best)
deshake_opencl - GPU-Accelerated Stabilization
Faster stabilization using OpenCL.
VidStab - Professional Two-Pass Stabilization
VidStab provides the highest quality stabilization using a two-pass approach.
Pass 1: Analyze motion
Pass 2: Apply transforms
vidstabdetect Parameters:
| Parameter | Description | Default | Range | |
|---|---|---|---|---|
stepsize | Step size for motion estimation | 6 | 1-32 | |
shakiness | Shakiness amount (higher = more analysis) | 5 | 1-10 | |
accuracy | Detection accuracy | 15 | 1-15 | |
result | Output transform file | transforms.trf | filename | |
show | Visualize detection | 0 | 0-2 |
vidstabtransform Parameters:
| Parameter | Description | Default | Range | |
|---|---|---|---|---|
input | Transform file | transforms.trf | filename | |
smoothing | Smoothing frames (higher = smoother) | 10 | 0-100 | |
zoom | Zoom percentage | 0 | -100 to 100 | |
optzoom | Optimal zoom calculation | 1 | 0-2 | |
zoomspeed | Max zoom change per frame | 0.25 | 0-5 | |
crop | Cropping mode | keep | keep, black | |
relative | Transform type | 1 | 0-1 | |
tripod | Tripod mode (fixed position) | 0 | 0-1 |
Complete VidStab workflow:
Stabilization Comparison
| Method | Quality | Speed | GPU | Use Case | |
|---|---|---|---|---|---|
deshake | Good | Fast | No | Quick fixes | |
deshake_opencl | Good | Very Fast | Yes | Quick fixes with GPU | |
vidstab (2-pass) | Best | Slow | No | Professional work |
360/VR Video Processing
v360 - 360 Video Projection Conversion
Converts between various 360 video projections.
Input/Output Projections:
| Code | Projection | Description | |
|---|---|---|---|
e | Equirectangular | Standard 360 format (2:1 ratio) | |
c3x2 | Cubemap 3x2 | 3 faces wide, 2 high | |
c6x1 | Cubemap 6x1 | 6 faces in a row | |
c1x6 | Cubemap 1x6 | 6 faces in a column | |
eac | Equi-Angular Cubemap | YouTube 360 format | |
dfisheye | Dual Fisheye | Two circular fisheye images | |
sg | Stereographic | Low distortion projection | |
flat | Flat/Rectilinear | Normal perspective view | |
barrel | Barrel | Barrel split | |
fb | Facebook 360 format |
Parameters:
| Parameter | Description | Example | |
|---|---|---|---|
id_fov | Input diagonal FOV | id_fov=195 | |
ih_fov, iv_fov | Input H/V FOV | ih_fov=190:iv_fov=190 | |
yaw, pitch, roll | Rotation angles | yaw=90:pitch=0 | |
w, h | Output size | w=4096:h=2048 | |
interp | Interpolation | nearest, linear, cubic, lanczos |
360 Video Rotation and Reframing
Stereoscopic 360 Processing
Ken Burns and Zoom Effects
zoompan - Pan and Zoom Animation
Creates Ken Burns style effects on still images or video.
Parameters:
| Parameter | Description | Example | |
|---|---|---|---|
z | Zoom factor expression | z='min(zoom+0.001,1.5)' | |
x, y | Pan position expression | x='iw/2' | |
d | Duration per image (frames) | d=125 | |
s | Output size | s=1920x1080 | |
fps | Output frame rate | fps=30 |
Useful expressions:
zoom- Current zoom valuepzoom- Previous zoom valueiw,ih- Input width/heighton- Output frame number
Animated Slideshow Example
Lens Correction
lenscorrection - Barrel/Pincushion Correction
Corrects lens distortion mathematically.
Parameters:
| Parameter | Description | Default | Range | |
|---|---|---|---|---|
cx, cy | Center position | 0.5 | 0-1 | |
k1 | Primary coefficient | 0 | -1 to 1 | |
k2 | Secondary coefficient | 0 | -1 to 1 | |
i | Interpolation | bilinear | nearest, bilinear |
Tips for finding coefficients:
- Barrel distortion (fisheye): negative k1 (-0.1 to -0.5)
- Pincushion distortion: positive k1 (0.1 to 0.5)
- Start with k2=0, adjust k1 first
lensfun - Database-Driven Lens Correction
Uses the lensfun database for automatic lens correction.
Requires: lensfun library and database installed
perspective - Perspective Correction
Corrects keystone/perspective distortion.
Common Workflows
Action Camera Processing
Drone Footage Processing
360 Camera to Flat Video
Best Practices
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ffmpeg-core/skills/ffmpeg-stabilization-360/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 10
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/josiahsiegel/claude-plugin-marketplace/ffmpeg-stabilization-360)