Token导航 LogoToken导航

Agent Skill · 开发

video-editor(视频编辑器)

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

video-editor 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 11,973。

总安装 1,497周安装 63GitHub Stars 5下载 524核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:video-editor(视频编辑器)
来源仓库:https://github.com/ckorhonen/claude-skills
仓库路径:skills/video-editor
安装命令:
npx skills add https://github.com/ckorhonen/claude-skills --skill video-editor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ckorhonen/claude-skills --skill video-editor

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

提供视频处理与编码的专业指导,基于 FFmpeg 工作流。支持格式转换、码率优化、字幕硬嵌及色彩空间处理。适用于视频制作、平台适配或质量提升等生产环节需求。使用外部素材或商业发布前应核对版权许可和内容合规要求。video-editor 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/video-editor

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ckorhonen/claude-skills --skill video-editor;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

video-editor 怎么安装?

在终端执行 npx skills add https://github.com/ckorhonen/claude-skills --skill video-editor。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

video-editor 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

video-editor 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

video-editor 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

video-editor 用的人多吗?

公开数据是累计安装 1,497 次,近一周安装 63 次,下载 524 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

video-editor 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
video-editor

视频编辑器 · 本页

1,4975需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Video Editor - FFmpeg & Encoding Expert

Expert guidance for video editing, encoding, and processing with ffmpeg. This skill covers container formats, codecs, encoding best practices, and quality optimization for video production workflows.

When to Use This Skill

Use this skill when:

  • Encoding or transcoding video files
  • Converting between container formats (MKV, MP4, etc.)
  • Optimizing encoding settings for quality or file size
  • Troubleshooting video quality issues
  • Working with color spaces and color matrices
  • Hardsubbing or softsubbing videos
  • Preparing videos for specific platforms or devices
  • Understanding why a video looks wrong after processing

Core Concepts

Container vs. Codec

This distinction is critical. File extensions like .mkv or .mp4 are container formats that package already-compressed streams. The actual compression happens through codecs like H.264, H.265, VP9, or AV1.

ConceptWhat It IsExamples
ContainerWrapper that holds video/audio/subtitle streamsMKV, MP4, AVI, MOV, WebM
CodecAlgorithm that compresses/decompresses videoH.264, H.265/HEVC, VP9, AV1
EncoderSoftware that implements a codecx264, x265, libvpx, NVENC

Remuxing vs. Reencoding

OperationWhat It DoesQuality ImpactSpeed
RemuxingMoves streams between containers without re-compressionNone (lossless)Very fast
ReencodingDecodes and re-encodes video with new settingsAlways loses qualitySlow

Rule of thumb: If you only need to change the container format, remux. Only reencode when absolutely necessary.

Quality Principles

What "Quality" Actually Means

Video quality measures how closely the output resembles the source. Every processing step moves the video further from the original. There is no way to add quality - only preserve or lose it.

Common Misconceptions

MythReality
Higher resolution = better qualityResolution is just dimensions; a 720p video can look better than a 4K one
Higher bitrate = better qualityEncoder efficiency matters more; same quality at different sizes is possible
H.265 is always 50% smallerDepends on encoder settings; poorly-configured H.265 can be worse than H.264
Hardware encoding is fine for qualityHardware encoders (NVENC, QuickSync) sacrifice quality for speed
AI upscaling improves qualityUpscaling adds artificial detail that wasn't in the source

The Encoding Quality Hierarchy

From most to least important:

  1. Encoder settings (CRF, preset, tuning)
  2. Encoder choice (x264/x265 vs. hardware encoders)
  3. Codec (H.265 vs. H.264 vs. VP9)

Quick Reference: FFmpeg Commands

Remux (Change Container, No Quality Loss)

# MKV to MP4 (preserves all streams)
ffmpeg -i input.mkv -c copy output.mp4

# MP4 to MKV
ffmpeg -i input.mp4 -c copy output.mkv

Basic Encoding

# Encode with x264, copy audio
ffmpeg -i input.mkv -c:a copy -c:v libx264 -preset slower -crf 20 output.mkv

# Encode with x265
ffmpeg -i input.mkv -c:a copy -c:v libx265 -preset slower -crf 22 output.mkv

Quality-Focused Encoding

# High-quality x264 for animation
ffmpeg -i input.mkv -c:a copy -c:v libx264 -preset slower -crf 18 \
  -x264-params bframes=8 output.mkv

# High-quality x265
ffmpeg -i input.mkv -c:a copy -c:v libx265 -preset slower -crf 20 \
  -x265-params bframes=8 output.mkv

Encoding Settings Deep Dive

CRF (Constant Rate Factor)

CRF controls quality vs. file size tradeoff. Lower = higher quality, larger file.

CRF RangeQuality LevelTypical Use
0LosslessArchival, intermediate
15-18Visually losslessHigh-quality archival
19-23High qualityGeneral use, streaming
24-28Medium qualityWeb, mobile
29+Low qualityPreviews, thumbnails

Note: CRF values aren't directly comparable between encoders. x265 CRF 22 ≈ x264 CRF 20.

Preset

Presets control encoding speed vs. compression efficiency.

PresetSpeedFile SizeUse When
ultrafastFastestLargestLive streaming
fastFastLargeQuick transcodes
mediumModerateModerateDefault
slowSlowSmallerQuality-focused
slowerVery slowEven smallerRecommended for quality
veryslowExtremely slowSmallestMaximum compression

Recommendation: Use slower for quality-focused encoding. The difference between slower and veryslow is minimal for significant time cost.

Tune Options

TuneBest For
filmLive-action with film grain
animationCartoons, anime, flat areas
grainPreserve film grain
stillimageSlideshow, static content
fastdecodePlayback on weak devices
# Animation tuning
ffmpeg -i input.mkv -c:v libx264 -preset slower -crf 20 -tune animation output.mkv

Container-Specific Considerations

MKV (Matroska)

Pros:

  • Supports virtually any codec
  • Multiple audio/subtitle tracks
  • Chapter markers
  • Variable frame rate support

Cons:

  • Less compatible with some devices/software
  • Some streaming services don't accept it

MP4

Pros:

  • Universal compatibility
  • Web-friendly
  • Hardware decoder support everywhere

Cons:

  • Limited subtitle format support
  • Stricter codec requirements
  • Constant frame rate expected

Converting MKV to MP4 for Editing Software

Some editing software requires constant frame rate MP4. Use this two-pass approach:

# Step 1: Initial remux with timescale adjustment
ffmpeg -i input.mkv -c copy -video_track_timescale 24000 intermediate.mp4

# Step 2: Fix timestamps
ffmpeg -i intermediate.mp4 -c copy \
  -bsf:v "setts=dts=1001*round(DTS/1001):pts=1001*round(PTS/1001)" output.mp4

Color Space & Color Management

Understanding Color Metadata

Videos store colors in YCbCr format with metadata specifying:

  • Color matrix: How to convert YCbCr to RGB (BT.709, BT.601)
  • Color range: Limited (16-235) vs. Full (0-255)
  • Chroma location: Where color samples are positioned

Common Issues

SymptomLikely Cause
Washed out colorsWrong color range (Limited treated as Full)
Crushed blacks/blown whitesWrong color range (Full treated as Limited)
Greenish/pinkish tintWrong color matrix
Colors look "off" after encodeMismatched color metadata

Preserving Color Information

# Explicitly preserve color metadata
ffmpeg -i input.mkv -c:v libx264 -preset slower -crf 20 \
  -colorspace bt709 -color_primaries bt709 -color_trc bt709 output.mkv

Hardsubbing (Burning In Subtitles)

Using FFmpeg

# Hardsub from external subtitle file
ffmpeg -i input.mkv -vf "subtitles=subs.ass" -c:v libx264 -preset slower -crf 20 output.mkv

# Hardsub from embedded subtitle track
ffmpeg -i input.mkv -vf "subtitles=input.mkv:si=0" -c:v libx264 -preset slower -crf 20 output.mkv

Using mpv (Better for Complex Subtitles)

mpv handles complex ASS subtitles (styling, positioning) more accurately:

mpv --no-config input.mkv -o output.mkv \
  --audio=no \
  --ovc=libx264 \
  --ovcopts=preset=slower,crf=20,bframes=8

What to Avoid

Tools

ToolProblem
HandbrakeUnpredictable settings, hides important options
Online convertersQuality loss, privacy concerns
"AI upscalers"Add fake detail, move further from source
Windows built-in toolsPoor quality, limited options

Practices

PracticeWhy It's Bad
Unnecessary sharpeningAdds artifacts, moves from source
Upscaling to higher resolutionDoesn't add real detail
Multiple reencodesQuality loss compounds
Using NVENC for qualityHardware encoders prioritize speed over quality
Frame rate interpolationAdds fake frames with artifacts

Recommended Tools

Essential

ToolPurpose
ffmpegSwiss army knife for video processing
MediaInfoInspect video properties and metadata
mpvSuperior media player, encoding support
MKVToolNixGUI for MKV muxing operations

Specialized

ToolPurpose
AegisubSubtitle editing
HandBrakeSimple transcoding (use with caution)
yt-dlpDownload online videos

Troubleshooting

Video Won't Play

  1. Check codec support on target device
  2. Try remuxing to different container
  3. Verify file isn't corrupted: ffmpeg -v error -i file.mkv -f null -

Colors Look Wrong After Encoding

  1. Compare color metadata: mediainfo input.mkv vs. mediainfo output.mkv
  2. Check color range (Limited vs. Full)
  3. Check color matrix (BT.709 vs. BT.601)
  4. Explicitly set color parameters in ffmpeg command

File Size Too Large

  1. Increase CRF (e.g., 20 → 23)
  2. Use slower preset for better compression
  3. Consider x265 for better efficiency
  4. Check if you're unnecessarily encoding (remux instead)

Encoding Takes Forever

  1. Use faster preset (but accept larger file)
  2. Check if hardware encoding is acceptable for your use case
  3. Ensure source isn't being decoded unnecessarily

Audio/Video Out of Sync

  1. Check source file for sync issues first
  2. Use -async 1 for audio sync correction
  3. Try remuxing instead of reencoding

Examples

Archive a Blu-ray Rip

ffmpeg -i input.mkv -c:a copy -c:v libx265 -preset slower -crf 18 \
  -x265-params bframes=8 output.mkv

Prepare for YouTube Upload

ffmpeg -i input.mkv -c:a aac -b:a 384k -c:v libx264 -preset slower -crf 18 \
  -profile:v high -level 4.2 -pix_fmt yuv420p output.mp4

Quick Preview/Proxy

ffmpeg -i input.mkv -c:a aac -b:a 128k -c:v libx264 -preset fast -crf 28 \
  -vf scale=640:-2 output.mp4

Extract Audio Only

# Copy audio stream (no re-encoding)
ffmpeg -i input.mkv -vn -c:a copy output.mka

# Convert to MP3
ffmpeg -i input.mkv -vn -c:a libmp3lame -b:a 320k output.mp3

Trim Without Re-encoding

# Trim from 1:00 to 2:30
ffmpeg -i input.mkv -ss 00:01:00 -to 00:02:30 -c copy output.mkv

Resources

平台分布

Codex

34.51%
按下载量换算181

Claude

28.3%
按下载量换算148

Cursor

19.56%
按下载量换算102

Gemini CLI

8.35%
按下载量换算44

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills