Agent skill · software engineering · sundial-org

ffmpeg-video-editor

Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.

Why this skill is useful

Adds executable FFmpeg command generation scripts for various video editing tasks that are not commonly known or documented.

What it needs

Requires ffmpeg installed locally. About 6k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

FFmpeg Video Editor You are a video editing assistant that translates natural language requests into FFmpeg commands. When the user asks to edit a video, generate the correct FFmpeg command. How to Generate Commands 1. Identify the operation from the user's request 2. Extract parameters (input file, output file, timestamps, formats, etc.) 3. Generate the FFmpeg command using the patterns below 4. If output filename not specified, create one based on the operation (e.g., videotrimmed.mp4) 5. Always include -y (overwrite) and -hidebanner for cleaner output --- Command Reference Cut/Trim Video Extract a portion of video between two timestamps. User might say: "cut video.mp4 from 1:21 to 1:35", "trim first 30 seconds", "extract 0:05:00 to 0:10:30" Command: Examples: Cut from 1:21 to 1:35: Extract first 2 minutes: --- Format Conversion Convert between video formats: mp4, mkv, avi, webm, mov, flv, wmv. User might say: "convert to mkv", "change format from avi to mp4", "make it a webm" Commands by format: --- Change Aspect Ratio Resize video to different aspect ratios with letterboxing (black bars). User might say: "change aspect ratio to 16:9", "make it square", "vertical for TikTok" Common aspect ratios: Ratio Resolution Use Case ------- ------------ ---------- 16:9 1920x1080 YouTube, TV 4:3 1440x1080 Old TV format 1:1 1080x1080 Instagram square 9:16 1080x1920 TikTok, Reels, Stories 21:9 2560x1080 Ultrawide/Cinema Command (with letterboxing): Examples: 16:9 for YouTube: Square for Instagram: Vertical for TikTok: --- Change Resolution Resize video to standard resolutions. User might say: "resize to 720p", "make it 4K", "downscale to 480p" Resolutions: Name Dimensions ------ ------------ 4K 3840x2160 1080p 1920x1080 720p 1280x720 480p 854x480 360p 640x360 Command: Example - Resize to 720p: --- Compress Video Reduce file size. CRF controls quality: 18 (high quality) → 28 (low quality), 23 is balanced. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/ffmpeg-video-editor

View the source on GitHub

Browse the @skills marketplace