ffmpeg-video-editor
由 mahmoudadelbghany 提供
Image & Video Generation简介
Generate FFmpeg commands from natural.
描述
该技能的功能
Translates natural language video editing requests into ready-to-run FFmpeg commands. Covers cutting, trimming, format conversion, compression, aspect ratio changes, audio extraction, speed adjustments, GIF creation, watermarking, subtitle embedding, and video merging.
Generates correct FFmpeg syntax instantly without requiring users to memorize flags, filter graph syntax, or codec options.
何时使用
- Trim a recorded meeting to remove the intro and outro
- Convert a MOV file to MP4 for web upload
- Resize footage to 9:16 vertical format for TikTok
- Extract the audio track from a video as an MP3
- Compress a large video file before sending via email
示例工作流
User asks: compress video.mp4 to reduce file size for email
- 1
Identifies the operation as compression with balanced quality
- 2
Selects CRF 23 and medium preset as the default balanced setting
- 3
Chooses libx264 for video and AAC at 128k for audio
- 4
Constructs the ffmpeg command with -y and -hide_banner flags
- 5
Names the output file video_compressed.mp4
ffmpeg -y -hide_banner -i "video.mp4" -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k "video_compressed.mp4"
前置要求
- FFmpeg installed on the local machine
安装
clawhub install mahmoudadelbghany/ffmpeg-video-editor运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。