FFmpeg Video Editor

Generates FFmpeg commands from natural language video editing requests.

39|1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/HKU-MMLab/UniClawBench --skill ffmpeg-video-editor-hku-mmlab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: FFmpeg Video Editor
Source: https://github.com/HKU-MMLab/UniClawBench/tree/main/injection/101_skill_usage/task_101_34_video_multilang/skills/ffmpeg-video-editor
Command: npx skills add https://github.com/HKU-MMLab/UniClawBench --skill ffmpeg-video-editor-hku-mmlab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Translating video editing requests into correct FFmpeg command-line syntax is error-prone and requires memorizing dozens of flags, filters, and codec options. This Skill converts plain-language requests into ready-to-run FFmpeg commands for common editing operations. ## Core Features & Use Cases - Command Generation for 12+ Operations: Covers cut/trim, format conversion, aspect ratio changes, resolution scaling, compression, audio extraction/removal, speed changes, GIF creation, rotation, screenshots, watermarks, subtitle burning, and video merging. - Parameter Extraction: Parses timestamps, formats, resolutions, and quality levels from user requests and maps them to correct FFmpeg flags like -ss, -to, -crf, and -vf filters. - Use Case: A user asks to "cut video.mp4 from 1:21 to 1:35 and convert it to a square format for Instagram" and receives the exact FFmpeg commands with letterboxing and stream-copy settings. ## Quick Start Ask the assistant to cut a video from 1:21 to 1:35 and it will generate the corresponding FFmpeg command with the correct timestamps and output filename.

Frequently Asked Questions about FFmpeg Video Editor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cut a video with FFmpeg between two timestamps?▼

Use the -ss and -to flags with stream copy: ffmpeg -y -hide_banner -i "input.mp4" -ss 00:01:21 -to 00:01:35 -c copy "output.mp4". The -c copy option avoids re-encoding, making the cut nearly instant.

How to change video aspect ratio to 16:9 or 9:16 with FFmpeg?▼

Use the scale and pad filters together: scale=WIDTH:HEIGHT:force_original_aspect_ratio=decrease,pad=WIDTH:HEIGHT:(ow-iw)/2:(oh-ih)/2:black. This resizes the video and adds black bars to reach the target ratio without cropping content.

What CRF value should I use for FFmpeg video compression?▼

CRF 23 is the balanced default, 18 gives high quality with larger files, and 28 produces small files with visible quality loss. Lower CRF means better quality; combine with -preset medium or slow for better compression efficiency.

Can FFmpeg extract audio from video as MP3?▼

Yes, use ffmpeg -i "input.mp4" -vn -acodec libmp3lame "output.mp3". The -vn flag drops the video stream and libmp3lame encodes the audio. Other codecs like aac, flac, and pcm_s16le work for different output formats.

Why does FFmpeg atempo fail for extreme speed changes?▼

The atempo audio filter only accepts values between 0.5 and 2.0. For speed factors outside that range, chain multiple atempo filters together, such as atempo=2.0,atempo=2.0 for 4x speed.