MahmoudAdelbghany

ffmpeg-video-editor

デザイン・メディアv1.0.0
作者:MahmoudAdelbghany更新日 2026-05-11@clawhub_mahmoudadelbghany/ffmpeg-video-editor
動画処理#Video Editor#Video Editing#Audio

AlphaMoatによると、2026-10時点でffmpeg-video-editorのダウンロード数は32,756、スター数は33で、累計ダウンロード数で今回のランキング対象AIスキル10,914件中826位、デザイン・メディアでは1,116件中107位です。

一覧の初期表示は累計ダウンロード数順で、スター数順にも並べ替えできます。詳細ページの順位は累計ダウンロード数で計算しています。

ダウンロード数
3.3万
スター数
33
累計ダウンロード順位
#826
全体の上位 8% · デザイン・メディアの上位 10%
プラットフォームダウンロード数スター数コメント
ClawHub ↗1.6万24-
SkillHub ↗3.3万33—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

切り出しとトリミング、形式変換、アスペクト比と解像度の変更、圧縮、音声の抽出、消音、速度変更、GIF 化、回転と反転、フレーム切り出し、透かし、字幕の焼き込み、結合を扱い、-y と -hide_banner を常に付けます。コマンドを出すだけで編集は実行しません。音声の速度比は 0.5 から 2.0 の範囲に収め、超える場合はフィルターを連結します。 コマンドは既存出力を上書きする場合があります。上書きしない場合は強制オプションを外し、新しいファイル名を使ってください。

資料公開日 2026-10-27

できること

  • 横長の素材から縦長のコマンドを作る
  • 開始と終了の時刻で切り出し、容量を小さくする

使う場面

  • 動画を編集したいが引数を調べたくないとき
  • 編集の依頼を再利用できるコマンドにしたいとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

video.mp4 を 1:21 から 1:35 に切るコマンドをください
この動画を画質を保ちながら小さくしてください

月次の推移

ダウンロード数3.3万
89042.2万3.5万2026-03 · ダウンロード数 1.1万2026-05 · ダウンロード数 1.4万2026-06 · ダウンロード数 1.5万2026-07 · ダウンロード数 1.7万2026-08 · ダウンロード数 1.8万2026-09 · ダウンロード数 2.1万2026-10 · ダウンロード数 3.3万26-0326-0926-10
スター数33
1625342026-03 · スター数 172026-05 · スター数 222026-06 · スター数 262026-07 · スター数 312026-08 · スター数 322026-09 · スター数 322026-10 · スター数 3326-0326-0926-10

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-103.3万—33
2026-092.1万—32
2026-081.8万+6.8%32
2026-071.7万+14.5%31
2026-061.5万+5.6%26
2026-051.4万—22
2026-031.1万—17

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

9.9 KB・ClawHub v1.0.0
---
name: FFmpeg Video Editor
description: Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.
---

# 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
すべて表示(全 394 行)

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., `video_trimmed.mp4`)
5. **Always include** `-y` (overwrite) and `-hide_banner` 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:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -ss START_TIME -to END_TIME -c copy "OUTPUT"
```

**Examples:**
- Cut from 1:21 to 1:35:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -ss 00:01:21 -to 00:01:35 -c copy "video_trimmed.mp4"
  ```
- Extract first 2 minutes:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -ss 00:00:00 -to 00:02:00 -c copy "video_clip.mp4"
  ```

---

### 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:**
```bash
# MP4 (most compatible)
ffmpeg -y -hide_banner -i "INPUT" -c:v libx264 -c:a aac "OUTPUT.mp4"

# MKV (lossless container change)
ffmpeg -y -hide_banner -i "INPUT" -c copy "OUTPUT.mkv"

# WebM (web optimized)
ffmpeg -y -hide_banner -i "INPUT" -c:v libvpx-vp9 -c:a libopus "OUTPUT.webm"

# AVI
ffmpeg -y -hide_banner -i "INPUT" -c:v mpeg4 -c:a mp3 "OUTPUT.avi"

# MOV
ffmpeg -y -hide_banner -i "INPUT" -c:v libx264 -c:a aac "OUTPUT.mov"
```

---

### 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):**
```bash
ffmpeg -y -hide_banner -i "INPUT" -vf "scale=WIDTH:HEIGHT:force_original_aspect_ratio=decrease,pad=WIDTH:HEIGHT:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "OUTPUT"
```

**Examples:**
- 16:9 for YouTube:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "video_16x9.mp4"
  ```
- Square for Instagram:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1080:1080:force_original_aspect_ratio=decrease,pad=1080:1080:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "video_square.mp4"
  ```
- Vertical for TikTok:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "video_vertical.mp4"
  ```

---

### 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:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -vf "scale=WIDTH:HEIGHT" -c:a copy "OUTPUT"
```

**Example - Resize to 720p:**
```bash
ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1280:720" -c:a copy "video_720p.mp4"
```

---

### Compress Video

Reduce file size. CRF controls quality: 18 (high quality) → 28 (low quality), 23 is balanced.

**User might say:** "compress video", "reduce file size", "make smaller for email"

**Command:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -c:v libx264 -crf CRF_VALUE -preset medium -c:a aac -b:a 128k "OUTPUT"
```

**Examples:**
- Balanced compression (CRF 23):
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k "video_compressed.mp4"
  ```
- High compression/smaller file (CRF 28):
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -c:v libx264 -crf 28 -preset fast -c:a aac -b:a 96k "video_small.mp4"
  ```
- High quality (CRF 18):
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -c:v libx264 -crf 18 -preset slow -c:a aac -b:a 192k "video_hq.mp4"
  ```

---

### Extract Audio

Extract audio track from video.

**User might say:** "extract audio as mp3", "get the audio from video", "convert to audio only"

**Command:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -vn -acodec CODEC "OUTPUT.FORMAT"
```

**Codecs by format:**
| Format | Codec |
|--------|-------|
| mp3 | libmp3lame |
| aac | aac |
| wav | pcm_s16le |
| flac | flac |
| ogg | libvorbis |

**Example - Extract as MP3:**
```bash
ffmpeg -y -hide_banner -i "video.mp4" -vn -acodec libmp3lame "video.mp3"
```

---

### Remove Audio

Create silent video (remove audio track).

**User might say:** "remove audio", "mute video", "make silent"

**Command:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -an -c:v copy "OUTPUT"
```

**Example:**
```bash
ffmpeg -y -hide_banner -i "video.mp4" -an -c:v copy "video_silent.mp4"
```

---

### Change Speed

Speed up or slow down video.

**User might say:** "speed up 2x", "slow motion", "make 10x timelapse"

**Command:**
```bash
# Speed up (e.g., 2x speed)
ffmpeg -y -hide_banner -i "INPUT" -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" "OUTPUT"

# Slow down (e.g., 0.5x speed / half speed)
ffmpeg -y -hide_banner -i "INPUT" -filter_complex "[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]" -map "[v]" -map "[a]" "OUTPUT"
```

**Formula:**
- Video: `setpts = (1/speed)*PTS` (2x speed → 0.5*PTS)
- Audio: `atempo = speed` (must be 0.5-2.0, chain for extremes)

**Examples:**
- 2x speed:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" "video_2x.mp4"
  ```
- Half speed (slow motion):
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -filter_complex "[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]" -map "[v]" -map "[a]" "video_slowmo.mp4"
  ```

---

### Convert to GIF

Create animated GIF from video.

**User might say:** "make a gif", "convert to gif", "gif from 0:10 to 0:15"

**Command:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -ss START -t DURATION -vf "fps=15,scale=480:-1:flags=lanczos" -loop 0 "OUTPUT.gif"
```

**Example - GIF of 5 seconds starting at 0:10:**
```bash
ffmpeg -y -hide_banner -i "video.mp4" -ss 00:00:10 -t 5 -vf "fps=15,scale=480:-1:flags=lanczos" -loop 0 "video.gif"
```

---

### Rotate/Flip Video

Rotate or flip video orientation.

**User might say:** "rotate 90 degrees", "flip horizontally", "rotate upside down"

**Commands:**
```bash
# Rotate 90° clockwise
ffmpeg -y -hide_banner -i "INPUT" -vf "transpose=1" -c:a copy "OUTPUT"

# Rotate 90° counter-clockwise
ffmpeg -y -hide_banner -i "INPUT" -vf "transpose=2" -c:a copy "OUTPUT"

# Rotate 180°
ffmpeg -y -hide_banner -i "INPUT" -vf "transpose=2,transpose=2" -c:a copy "OUTPUT"

# Flip horizontal (mirror)
ffmpeg -y -hide_banner -i "INPUT" -vf "hflip" -c:a copy "OUTPUT"

# Flip vertical
ffmpeg -y -hide_banner -i "INPUT" -vf "vflip" -c:a copy "OUTPUT"
```

---

### Extract Screenshot/Frame

Capture a single frame from video.

**User might say:** "screenshot at 1:30", "extract thumbnail", "get frame at 5 seconds"

**Command:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -ss TIMESTAMP -frames:v 1 "OUTPUT.jpg"
```

**Example:**
```bash
ffmpeg -y -hide_banner -i "video.mp4" -ss 00:01:30 -frames:v 1 "screenshot.jpg"
```

---

### Add Watermark/Logo

Overlay image on video.

**User might say:** "add logo.png", "put watermark in corner", "overlay image"

**Positions:**
| Position | Overlay Value |
|----------|--------------|
| Top-left | overlay=10:10 |
| Top-right | overlay=W-w-10:10 |
| Bottom-left | overlay=10:H-h-10 |
| Bottom-right | overlay=W-w-10:H-h-10 |
| Center | overlay=(W-w)/2:(H-h)/2 |

**Command:**
```bash
ffmpeg -y -hide_banner -i "VIDEO" -i "LOGO" -filter_complex "overlay=POSITION" "OUTPUT"
```

**Example - Logo in top-right:**
```bash
ffmpeg -y -hide_banner -i "video.mp4" -i "logo.png" -filter_complex "overlay=W-w-10:10" "video_watermarked.mp4"
```

---

### Burn Subtitles

Permanently embed subtitles into video.

**User might say:** "add subtitles", "burn srt file", "embed captions"

**Command:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -vf "subtitles='SUBTITLE_FILE'" "OUTPUT"
```

**Example:**
```bash
ffmpeg -y -hide_banner -i "video.mp4" -vf "subtitles='subtitles.srt'" "video_subtitled.mp4"
```

---

### Merge/Concatenate Videos

Join multiple videos together.

**User might say:** "merge video1 and video2", "combine clips", "join intro and main"

**Method:** First create a text file listing videos, then concatenate.

**Step 1 - Create file list (files.txt):**
```
file 'video1.mp4'
file 'video2.mp4'
file 'video3.mp4'
```

**Step 2 - Concatenate:**
```bash
ffmpeg -y -hide_banner -f concat -safe 0 -i files.txt -c copy "merged.mp4"
```

---

## Time Format Reference

Use these formats for timestamps:
- `HH:MM:SS` → 01:30:45 (1 hour 30 min 45 sec)
- `MM:SS` → 05:30 (5 min 30 sec)
- `SS` → 90 (90 seconds)
- `HH:MM:SS.mmm` → 00:01:23.500 (with milliseconds)

---

## Response Format

When generating commands:

1. Show the FFmpeg command in a code block
2. Briefly explain what it does
3. Mention if output filename was assumed

**Example response:**
```
Here's the command to cut your video from 1:21 to 1:35:

​```bash
ffmpeg -y -hide_banner -i "video.mp4" -ss 00:01:21 -to 00:01:35 -c copy "video_trimmed.mp4"
​```

This extracts the segment without re-encoding (using `-c copy` for speed). Output saved as `video_trimmed.mp4`.
```

デザイン・メディアの人気スキル

视频短视频图片音乐音频配音口播数字人全能创作デザイン・メディア

通过同一个AI创作工具完成AI图片、视频、音乐与语音创作,查找公开社交数据,编辑视觉成果,并集中查看和管理生成资产。Beatra 全能创作支持AI图片生成(文生图)、AI视频生成(图生视频)和AI视频编辑,通过AI音乐生成把想法做成歌曲或纯音乐,也可用AI语音生成(文字转语音)、多语言旁白和AI语音克隆完成跨媒介内容;还能查找抖音数据、小红书数据,以及 YouTube、TikTok、Instagram 与 X 上的公开帖子、笔记、评论、账号和趋势,把社交媒体数据用于竞品调研和创作。它是一款面向AI内容创作与多模态内容创作的AI创作套件,用起来就是一个把图片、视频、音乐与语音收在同一处的AI创作助手,适用于社交内容、产品展示、营销素材、课程、播客、短片和跨媒介项目;还能在不同媒介间复用原始素材、已有成果和查到的公开资料,查看制作进度、返回文件、实际用量和积分记录。

↓ 147.6万★ 113u_319b171b
AI数字人口播与虚拟主播视频デザイン・メディア

用一张人像和一段短脚本或语音,制作有明确讲述内容的数字人口播视频。可使用现成录音,也可以先选择音色,把脚本生成旁白,让画面中的人物随声音完成稳定、自然的口播。适合 AI 主播、虚拟主播视频、数字人讲解、让照片说话、照片说话视频、产品讲解视频、数字人培训视频、公告和社交口播,并在交付后检查人物一致性、声音清晰度、口型同步和动作稳定性。一节课的讲解也能做成课程口播。

↓ 50.8万★ 39u_319b171b
架构图一键生成デザイン・メディア

ContextWeaveアーキテクチャ図ワンショット生成

↓ 47万★ 280user_bddf3fe6
海报设计工作室デザイン・メディア

将一段活动描述、一张产品照片或品牌参考图,转化为抓人眼球的活动海报、宣传 banner 或社交媒体配图。这款 AI海报设计与制作工具生成图片丰富的海报,在海报排版上搭配清晰视觉层级、按品类匹配的风格和预留文字区域,覆盖活动、音乐节、电影、产品发布和促销场景。你可以把它当作 AI宣传单制作工具来制作促销宣传单,当作活动海报设计工具,当作电影海报生成器,当作音乐节海报设计工具,当作产品发布会海报的 banner设计 AI,或当作平面设计海报工作室。从活动主题出发,用品牌风格参考图变换产品或场景照片,或在已认可草稿上做定向精修,完成可印刷或可分享的成品。

↓ 30.5万★ 28user_87b8e34f
自动化克隆数字人口播混剪视频デザイン・メディア

抖音短视频双路径生产体系(单 Skill 版)。Path A[付费·高质量]:策略大脑→(可选:素材混剪/AI高光提取)→脚本优化→AI生图/素材准备→配音渲染(百炼/GPT-SoVITS/CosyVoice/VoxCPM2+剪映/Remotion/ffmpeg/数字人)。Path B[免费·动画风]:采集热点→脚本→edge-tts免费配音+HyperFrames开源渲染→MP4,零云费开箱快。触发词分层:①"抖音短视频/选题规划/合规闸门/运营策略" ②"口播脚本/AI生图/AI配音/视频渲染/Remotion渲染" ③"蹭热点/快速出片/免费做视频" ④"混剪/高光提取/素材粗剪/autoclip

↓ 29.7万★ 79user_3b54b400
GPT Image 2.5生图デザイン・メディア

GPT Image 2.5生图是一款 AI 工具,用 GPT-Image-2.5 和 ChatGPT Images 2.5 出一张图。GPT Image 2.5 Studio 支持 gpt-image-2.5-flare 与 gpt-image-2.5-sunburst,可文生图或参考图生图,做中文海报、商品图、信息图和社媒画面。

↓ 27.1万★ 27user_87b8e34f
MiniMax H3 AI视频创作デザイン・メディア

用 MiniMax H3 这款 AI视频生成器创作高质感 2K AI 视频。从文字创意出发完成文生视频,让静态图片自然动起来,用首尾画面做首尾帧视频的完整转场,也可以结合图片、视频和音频参考,以多模态视频生成塑造统一场景。适合 AI 广告视频、电商产品视频、品牌宣传视频、动态海报、游戏 UI、电影片头和社交短视频创作,形成电影感画面与同步的原生立体声。使用 Beatra 账号即可开始,创作进度与成片集中管理。

↓ 26.3万★ 23user_87b8e34f
AI Logo设计·品牌标识创作デザイン・メディア

输入品牌名称、行业方向或参考图,生成专业 AI Logo、品牌标识和应用图标。这款 AI logo 设计工具从你的品牌简报出发——公司名、行业气质、配色偏好——先探索多个商标设计方向,再用精确品牌色、简洁几何和可缩放构图精修最强概念。制作企业 logo、创业公司标志、字母标、徽章、组合标识和 VI设计中的主标,从网站 favicon 到门头招牌都清晰可辨。从文字描述出发,将已有草图和品牌素材转化为精致标识,或在已认可草稿上做定向精修。

↓ 26万★ 19user_87b8e34f

データ月:2026-10 · ダウンロード数とスター数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。