AGENT SKILL

FFmpeg 命令行音视频处理

ffmpeg-cli

暂无简介

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

02 资源文件 9

03 SKILL.md 正文

FFmpeg CLI

Quick Reference

Task Command
Cut video {baseDir}/scripts/cut.sh -i <input> -s <start> -e <end> -o <output>
Merge clips {baseDir}/scripts/merge.sh -o <output> <file1> <file2> ...
Extract audio {baseDir}/scripts/extract-audio.sh -i <video> -o <output.mp3>
Generate thumbnail {baseDir}/scripts/thumb.sh -i <video> -t <timestamp> -o <out.jpg>
Create GIF {baseDir}/scripts/gif.sh -i <video> -s <start> -e <end> -o <out.gif>
Convert format {baseDir}/scripts/convert.sh -i <input> -o <output.mp4>
Change speed {baseDir}/scripts/speed.sh -i <input> -r <0.5-2.0> -o <output>
Add watermark {baseDir}/scripts/watermark.sh -i <video> -w <image> -o <output>

Scripts

cut.sh - Cut video segment

{baseDir}/scripts/cut.sh -i video.mp4 -s 00:01:30 -e 00:02:45 -o clip.mp4

merge.sh - Concatenate videos

{baseDir}/scripts/merge.sh -o merged.mp4 part1.mp4 part2.mp4 part3.mp4

extract-audio.sh - Pull audio track

{baseDir}/scripts/extract-audio.sh -i video.mp4 -o audio.mp3

thumb.sh - Extract frame as image

{baseDir}/scripts/thumb.sh -i video.mp4 -t 00:00:15 -o frame.jpg

gif.sh - Convert clip to GIF

{baseDir}/scripts/gif.sh -i video.mp4 -s 00:00:10 -e 00:00:15 -o clip.gif

convert.sh - Transcode to new format

{baseDir}/scripts/convert.sh -i input.avi -o output.mp4

speed.sh - Adjust playback speed

{baseDir}/scripts/speed.sh -i video.mp4 -r 2.0 -o fast.mp4  # 2x speed
{baseDir}/scripts/speed.sh -i video.mp4 -r 0.5 -o slow.mp4  # 0.5x speed

watermark.sh - Overlay image watermark

{baseDir}/scripts/watermark.sh -i video.mp4 -w logo.png -o output.mp4

Notes

  • All scripts support common video formats (mp4, avi, mov, mkv, webm, etc.)
  • Output quality is optimized for balanced file size and clarity
  • Use -h or no args to see script usage

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

★ 1