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 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 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 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 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),按月更新。口徑說明見資料方法。