Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

video-editor

БесплатноБез исполняемых скриптовНе проверен

Expert guidance for video editing with ffmpeg, encoding best practices, and quality optimization. Use when working with video files, transcoding, remuxing…

ckorhonenот ckorhonen★ 35 звёзд на GitHub8 установок в других каталогах

Об этом скилле

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.

Concept What It Is Examples
Container Wrapper that holds video/audio/subtitle streams MKV, MP4, AVI, MOV, WebM
Codec Algorithm that compresses/decompresses video H.264, H.265/HEVC, VP9, AV1
Encoder Software that implements a codec x264, x265, libvpx, NVENC

Remuxing vs. Reencoding

Operation What It Does Quality Impact Speed
Remuxing Moves streams between containers without re-compression None (lossless) Very fast
Reencoding Decodes and re-encodes video with new settings Always loses quality Slow

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

Myth Reality
Higher resolution = better quality Resolution is just dimensions; a 720p video can look better than a 4K one
Higher bitrate = better quality Encoder efficiency matters more; same quality at different sizes is possible
H.265 is always 50% smaller Depends on encoder settings; poorly-configured H.265 can be worse than H.264
Hardware encoding is fine for quality Hardware encoders (NVENC, QuickSync) sacrifice quality for speed
AI upscaling improves quality Upscaling 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 Range Quality Level Typical Use
0 Lossless Archival, intermediate
15-18 Visually lossless High-quality archival
19-23 High quality General use, streaming
24-28 Medium quality Web, mobile
29+ Low quality Previews, thumbnails

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

Preset

Presets control encoding speed vs. compression efficiency.

Preset Speed File Size Use When
ultrafast Fastest Largest Live streaming
fast Fast Large Quick transcodes
medium Moderate Moderate Default
slow Slow Smaller Quality-focused
slower Very slow Even smaller Recommended for quality
veryslow Extremely slow Smallest Maximum compression

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

Tune Options

Tune Best For
film Live-action with film grain
animation Cartoons, anime, flat areas
grain Preserve film grain
stillimage Slideshow, static content
fastdecode Playback on weak devi
Полный SKILL.md на GitHub

Установить video-editor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл video-editor?

Expert guidance for video editing with ffmpeg, encoding best practices, and quality optimization. Use when working with video files, transcoding, remuxing, encoding settings, color spaces, or troubleshooting video quality issues.

Как установить скилл video-editor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл video-editor запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить video-editor с