[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M748TZJC2QPVQ6AF6N81RR11":3,"skill-same:01M748TZJC2QPVQ6AF6N81RR11":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M748TZJC2QPVQ6AF6N81RR11","video-editor",null,"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.","surfingalien\u002FFinSurfing","surfingalien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F138259559?v=4","01M71XACCFHNXK70BHYFHFT657","01M71XACDJSV4YA5NZ191F1C8C",1,"MIT","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvideo-editor\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: video-editor\ndescription: 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.\n---\n\n# Video Editor - FFmpeg & Encoding Expert\n\nExpert 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.\n\n## When to Use This Skill\n\nUse this skill when:\n- Encoding or transcoding video files\n- Converting between container formats (MKV, MP4, etc.)\n- Optimizing encoding settings for quality or file size\n- Troubleshooting video quality issues\n- Working with color spaces and color matrices\n- Hardsubbing or softsubbing videos\n- Preparing videos for specific platforms or devices\n- Understanding why a video looks wrong after processing\n\n## Core Concepts\n\n### Container vs. Codec\n\n**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.\n\n| Concept | What It Is | Examples |\n|---------|------------|----------|\n| Container | Wrapper that holds video\u002Faudio\u002Fsubtitle streams | MKV, MP4, AVI, MOV, WebM |\n| Codec | Algorithm that compresses\u002Fdecompresses video | H.264, H.265\u002FHEVC, VP9, AV1 |\n| Encoder | Software that implements a codec | x264, x265, libvpx, NVENC |\n\n### Remuxing vs. Reencoding\n\n| Operation | What It Does | Quality Impact | Speed |\n|-----------|--------------|----------------|-------|\n| **Remuxing** | Moves streams between containers without re-compression | None (lossless) | Very fast |\n| **Reencoding** | Decodes and re-encodes video with new settings | Always loses quality | Slow |\n\n**Rule of thumb:** If you only need to change the container format, remux. Only reencode when absolutely necessary.\n\n## Quality Principles\n\n### What \"Quality\" Actually Means\n\nVideo 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.\n\n### Common Misconceptions\n\n| Myth | Reality |\n|------|---------|\n| Higher resolution = better quality | Resolution is just dimensions; a 720p video can look better than a 4K one |\n| Higher bitrate = better quality | Encoder efficiency matters more; same quality at different sizes is possible |\n| H.265 is always 50% smaller | Depends on encoder settings; poorly-configured H.265 can be worse than H.264 |\n| Hardware encoding is fine for quality | Hardware encoders (NVENC, QuickSync) sacrifice quality for speed |\n| AI upscaling improves quality | Upscaling adds artificial detail that wasn't in the source |\n\n### The Encoding Quality Hierarchy\n\nFrom most to least important:\n1. **Encoder settings** (CRF, preset, tuning)\n2. **Encoder choice** (x264\u002Fx265 vs. hardware encoders)\n3. **Codec** (H.265 vs. H.264 vs. VP9)\n\n## Quick Reference: FFmpeg Commands\n\n### Remux (Change Container, No Quality Loss)\n\n```bash\n# MKV to MP4 (preserves all streams)\nffmpeg -i input.mkv -c copy output.mp4\n\n# MP4 to MKV\nffmpeg -i input.mp4 -c copy output.mkv\n```\n\n### Basic Encoding\n\n```bash\n# Encode with x264, copy audio\nffmpeg -i input.mkv -c:a copy -c:v libx264 -preset slower -crf 20 output.mkv\n\n# Encode with x265\nffmpeg -i input.mkv -c:a copy -c:v libx265 -preset slower -crf 22 output.mkv\n```\n\n### Quality-Focused Encoding\n\n```bash\n# High-quality x264 for animation\nffmpeg -i input.mkv -c:a copy -c:v libx264 -preset slower -crf 18 \\\n  -x264-params bframes=8 output.mkv\n\n# High-quality x265\nffmpeg -i input.mkv -c:a copy -c:v libx265 -preset slower -crf 20 \\\n  -x265-params bframes=8 output.mkv\n```\n\n## Encoding Settings Deep Dive\n\n### CRF (Constant Rate Factor)\n\nCRF controls quality vs. file size tradeoff. **Lower = higher quality, larger file.**\n\n| CRF Range | Quality Level | Typical Use |\n|-----------|---------------|-------------|\n| 0 | Lossless | Archival, intermediate |\n| 15-18 | Visually lossless | High-quality archival |\n| 19-23 | High quality | General use, streaming |\n| 24-28 | Medium quality | Web, mobile |\n| 29+ | Low quality | Previews, thumbnails |\n\n**Note:** CRF values aren't directly comparable between encoders. x265 CRF 22 ≈ x264 CRF 20.\n\n### Preset\n\nPresets control encoding speed vs. compression efficiency.\n\n| Preset | Speed | File Size | Use When |\n|--------|-------|-----------|----------|\n| ultrafast | Fastest | Largest | Live streaming |\n| fast | Fast | Large | Quick transcodes |\n| medium | Moderate | Moderate | Default |\n| slow | Slow | Smaller | Quality-focused |\n| slower | Very slow | Even smaller | Recommended for quality |\n| veryslow | Extremely slow | Smallest | Maximum compression |\n\n**Recommendation:** Use `slower` for quality-focused encoding. The difference between `slower` and `veryslow` is minimal for significant time cost.\n\n### Tune Options\n\n| Tune | Best For |\n|------|----------|\n| film | Live-action with film grain |\n| animation | Cartoons, anime, flat areas |\n| grain | Preserve film grain |\n| stillimage | Slideshow, static content |\n| fastdecode | Playback on weak devices |\n\n```bash\n# Animation tuning\nffmpeg -i input.mkv -c:v libx264 -preset slower -crf 20 -tune animation output.mkv\n```\n\n## Container-Specific Considerations\n\n### MKV (Matroska)\n\n**Pros:**\n- Supports virtually any codec\n- Multiple audio\u002Fsubtitle tracks\n- Chapter markers\n- Variable frame rate support\n\n**Cons:**\n- Less compatible with some devices\u002Fsoftware\n- Some streaming services don't accept it\n\n### MP4\n\n**Pros:**\n- Universal compatibility\n- Web-friendly\n- Hardware decoder support everywhere\n\n**Cons:**\n- Limited subtitle format support\n- Stricter codec requirements\n- Constant frame rate expected\n\n### Converting MKV to MP4 for Editing Software\n\nSome editing software requires constant frame rate MP4. Use this two-pass approach:\n\n```bash\n# Step 1: Initial remux with timescale adjustment\nffmpeg -i input.mkv -c copy -video_track_timescale 24000 intermediate.mp4\n\n# Step 2: Fix timestamps\nffmpeg -i intermediate.mp4 -c copy \\\n  -bsf:v \"setts=dts=1001*round(DTS\u002F1001):pts=1001*round(PTS\u002F1001)\" output.mp4\n```\n\n## Color Space & Color Management\n\n### Understanding Color Metadata\n\nVideos store colors in YCbCr format with metadata specifying:\n- **Color matrix**: How to convert YCbCr to RGB (BT.709, BT.601)\n- **Color range**: Limited (16-235) vs. Full (0-255)\n- **Chroma location**: Where color samples are positioned\n\n### Common Issues\n\n| Symptom | Likely Cause |\n|---------|--------------|\n| Washed out colors | Wrong color range (Limited treated as Full) |\n| Crushed blacks\u002Fblown whites | Wrong color range (Full treated as Limited) |\n| Greenish\u002Fpinkish tint | Wrong color matrix |\n| Colors look \"off\" after encode | Mismatched color metadata |\n\n### Preserving Color Information\n\n```bash\n# Explicitly preserve color metadata\nffmpeg -i input.mkv -c:v libx264 -preset slower -crf 20 \\\n  -colorspace bt709 -color_primaries bt709 -color_trc bt709 output.mkv\n```\n\n## Hardsubbing (Burning In Subtitles)\n\n### Using FFmpeg\n\n```bash\n# Hardsub from external subtitle file\nffmpeg -i input.mkv -vf \"subtitles=subs.ass\" -c:v libx264 -preset slower -crf 20 output.mkv\n\n# Hardsub from embedded subtitle track\nffmpeg -i input.mkv -vf \"subtitles=input.mkv:si=0\" -c:v libx264 -preset slower -crf 20 output.mkv\n```\n\n### Using mpv (Better for Complex Subtitles)\n\nmpv handles complex ASS subtitles (styling, positioning) more accurately:\n\n```bash\nmpv --no-config input.mkv -o output.mkv \\\n  --audio=no \\\n  --ovc=libx264 \\\n  --ovcopts=preset=slower,crf=20,bframes=8\n```\n\n## What to Avoid\n\n### Tools\n\n| Tool | Problem |\n|------|---------|\n| Handbrake | Unpredictable settings, hides important options |\n| Online converters | Quality loss, privacy concerns |\n| \"AI upscalers\" | Add fake detail, move further from source |\n| Windows built-in tools | Poor quality, limited options |\n\n### Practices\n\n| Practice | Why It's Bad |\n|----------|--------------|\n| Unnecessary sharpening | Adds artifacts, moves from source |\n| Upscaling to higher resolution | Doesn't add real detail |\n| Multiple reencodes | Quality loss compounds |\n| Using NVENC for quality | Hardware encoders prioritize speed over quality |\n| Frame rate interpolation | Adds fake frames with artifacts |\n\n## Recommended Tools\n\n### Essential\n\n| Tool | Purpose |\n|------|---------|\n| [ffmpeg](https:\u002F\u002Fffmpeg.org\u002F) | Swiss army knife for video processing |\n| [MediaInfo](https:\u002F\u002Fmediaarea.net\u002Fen\u002FMediaInfo) | Inspect video properties and metadata |\n| [mpv](https:\u002F\u002Fmpv.io\u002F) | Superior media player, encoding support |\n| [MKVToolNix](https:\u002F\u002Fmkvtoolnix.download\u002F) | GUI for MKV muxing operations |\n\n### Specialized\n\n| Tool | Purpose |\n|------|---------|\n| [Aegisub](https:\u002F\u002Faegisub.org\u002F) | Subtitle editing |\n| [HandBrake](https:\u002F\u002Fhandbrake.fr\u002F) | Simple transcoding (use with caution) |\n| [yt-dlp](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp) | Download online videos |\n\n## Troubleshooting\n\n### Video Won't Play\n\n1. Check codec support on target device\n2. Try remuxing to different container\n3. Verify file isn't corrupted: `ffmpeg -v error -i file.mkv -f null -`\n\n### Colors Look Wrong After Encoding\n\n1. Compare color metadata: `mediainfo input.mkv` vs. `mediainfo output.mkv`\n2. Check color range (Limited vs. Full)\n3. Check color matrix (BT.709 vs. BT.601)\n4. Explicitly set color parameters in ffmpeg command\n\n### File Size Too Large\n\n1. Increase CRF (e.g., 20 → 23)\n2. Use slower preset for better compression\n3. Consider x265 for better efficiency\n4. Check if you're unnecessarily encoding (remux instead)\n\n### Encoding Takes Forever\n\n1. Use faster preset (but accept larger file)\n2. Check if hardware encoding is acceptable for your use case\n3. Ensure source isn't being decoded unnecessarily\n\n### Audio\u002FVideo Out of Sync\n\n1. Check source file for sync issues first\n2. Use `-async 1` for audio sync correction\n3. Try remuxing instead of reencoding\n\n## Examples\n\n### Archive a Blu-ray Rip\n\n```bash\nffmpeg -i input.mkv -c:a copy -c:v libx265 -preset slower -crf 18 \\\n  -x265-params bframes=8 output.mkv\n```\n\n### Prepare for YouTube Upload\n\n```bash\nffmpeg -i input.mkv -c:a aac -b:a 384k -c:v libx264 -preset slower -crf 18 \\\n  -profile:v high -level 4.2 -pix_fmt yuv420p output.mp4\n```\n\n### Quick Preview\u002FProxy\n\n```bash\nffmpeg -i input.mkv -c:a aac -b:a 128k -c:v libx264 -preset fast -crf 28 \\\n  -vf scale=640:-2 output.mp4\n```\n\n### Extract Audio Only\n\n```bash\n# Copy audio stream (no re-encoding)\nffmpeg -i input.mkv -vn -c:a copy output.mka\n\n# Convert to MP3\nffmpeg -i input.mkv -vn -c:a libmp3lame -b:a 320k output.mp3\n```\n\n### Trim Without Re-encoding\n\n```bash\n# Trim from 1:00 to 2:30\nffmpeg -i input.mkv -ss 00:01:00 -to 00:02:30 -c copy output.mkv\n```\n\n## Resources\n\n- [FFmpeg Documentation](https:\u002F\u002Fffmpeg.org\u002Fdocumentation.html)\n- [FFmpeg Wiki](https:\u002F\u002Ftrac.ffmpeg.org\u002Fwiki)\n- [x264 Settings Guide](https:\u002F\u002Ftrac.ffmpeg.org\u002Fwiki\u002FEncode\u002FH.264)\n- [x265 Settings Guide](https:\u002F\u002Ftrac.ffmpeg.org\u002Fwiki\u002FEncode\u002FH.265)\n- [MediaInfo](https:\u002F\u002Fmediaarea.net\u002Fen\u002FMediaInfo)\n- [mpv Manual](https:\u002F\u002Fmpv.io\u002Fmanual\u002Fstable\u002F)\n","# Video Editor - FFmpeg & Encoding Expert\n\nExpert 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.\n\n## When to Use This Skill\n\nUse this skill when:\n- Encoding or transcoding video files\n- Converting between container formats (MKV, MP4, etc.)\n- Optimizing encoding settings for quality or file size\n- Troubleshooting video quality issues\n- Working with color spaces and color matrices\n- Hardsubbing or softsubbing videos\n- Preparing videos for specific platforms or devices\n- Understanding why a video looks wrong after processing\n\n## Core Concepts\n\n### Container vs. Codec\n\n**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.\n\n| Concept | What It Is | Examples |\n|---------|------------|----------|\n| Container | Wrapper that holds video\u002Faudio\u002Fsubtitle streams | MKV, MP4, AVI, MOV, WebM |\n| Codec | Algorithm that compresses\u002Fdecompresses video | H.264, H.265\u002FHEVC, VP9, AV1 |\n| Encoder | Software that implements a codec | x264, x265, libvpx, NVENC |\n\n### Remuxing vs. Reencoding\n\n| Operation | What It Does | Quality Impact | Speed |\n|-----------|--------------|----------------|-------|\n| **Remuxing** | Moves streams between containers without re-compression | None (lossless) | Very fast |\n| **Reencoding** | Decodes and re-encodes video with new settings | Always loses quality | Slow |\n\n**Rule of thumb:** If you only need to change the container format, remux. Only reencode when absolutely necessary.\n\n## Quality Principles\n\n### What \"Quality\" Actually Means\n\nVideo 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.\n\n### Common Misconceptions\n\n| Myth | Reality |\n|------|---------|\n| Higher resolution = better quality | Resolution is just dimensions; a 720p video can look better than a 4K one |\n| Higher bitrate = better quality | Encoder efficiency matters more; same quality at different sizes is possible |\n| H.265 is always 50% smaller | Depends on encoder settings; poorly-configured H.265 can be worse than H.264 |\n| Hardware encoding is fine for quality | Hardware encoders (NVENC, QuickSync) sacrifice quality for speed |\n| AI upscaling improves quality | Upscaling adds artificial detail that wasn't in the source |\n\n### The Encoding Quality Hierarchy\n\nFrom most to least important:\n1. **Encoder settings** (CRF, preset, tuning)\n2. **Encoder choice** (x264\u002Fx265 vs. hardware encoders)\n3. **Codec** (H.265 vs. H.264 vs. VP9)\n\n## Quick Reference: FFmpeg Commands\n\n### Remux (Change Container, No Quality Loss)\n\n```bash\n# MKV to MP4 (preserves all streams)\nffmpeg -i input.mkv -c copy output.mp4\n\n# MP4 to MKV\nffmpeg -i input.mp4 -c copy output.mkv\n```\n\n### Basic Encoding\n\n```bash\n# Encode with x264, copy audio\nffmpeg -i input.mkv -c:a copy -c:v libx264 -preset slower -crf 20 output.mkv\n\n# Encode with x265\nffmpeg -i input.mkv -c:a copy -c:v libx265 -preset slower -crf 22 output.mkv\n```\n\n### Quality-Focused Encoding\n\n```bash\n# High-quality x264 for animation\nffmpeg -i input.mkv -c:a copy -c:v libx264 -preset slower -crf 18 \\\n  -x264-params bframes=8 output.mkv\n\n# High-quality x265\nffmpeg -i input.mkv -c:a copy -c:v libx265 -preset slower -crf 20 \\\n  -x265-params bframes=8 output.mkv\n```\n\n## Encoding Settings Deep Dive\n\n### CRF (Constant Rate Factor)\n\nCRF controls quality vs. file size tradeoff. **Lower = higher quality, larger file.**\n\n| CRF Range | Quality Level | Typical Use |\n|-----------|---------------|-------------|\n| 0 | Lossless | Archival, intermediate |\n| 15-18 | Visually lossless | High-quality archival |\n| 19-23 | High quality | General use, streaming |\n| 24-28 | Medium quality | Web, mobile |\n| 29+ | Low quality | Previews, thumbnails |\n\n**Note:** CRF values aren't directly comparable between encoders. x265 CRF 22 ≈ x264 CRF 20.\n\n### Preset\n\nPresets control encoding speed vs. compression efficiency.\n\n| Preset | Speed | File Size | Use When |\n|--------|-------|-----------|----------|\n| ultrafast | Fastest | Largest | Live streaming |\n| fast | Fast | Large | Quick transcodes |\n| medium | Moderate | Moderate | Default |\n| slow | Slow | Smaller | Quality-focused |\n| slower | Very slow | Even smaller | Recommended for quality |\n| veryslow | Extremely slow | Smallest | Maximum compression |\n\n**Recommendation:** Use `slower` for quality-focused encoding. The difference between `slower` and `veryslow` is minimal for significant time cost.\n\n### Tune Options\n\n| Tune | Best For |\n|------|----------|\n| film | Live-action with film grain |\n| animation | Cartoons, anime, flat areas |\n| grain | Preserve film grain |\n| stillimage | Slideshow, static content |\n| fastdecode | Playback on weak devices |\n\n```bash\n# Animation tuning\nffmpeg -i input.mkv -c:v libx264 -preset slower -crf 20 -tune animation output.mkv\n```\n\n## Container-Specific Considerations\n\n### MKV (Matroska)\n\n**Pros:**\n- Supports virtually any codec\n- Multiple audio\u002Fsubtitle tracks\n- Chapter markers\n- Variable frame rate support\n\n**Cons:**\n- Less compatible with some devices\u002Fsoftware\n- Some streaming services don't accept it\n\n### MP4\n\n**Pros:**\n- Universal compatibility\n- Web-friendly\n- Hardware decoder support everywhere\n\n**Cons:**\n- Limited subtitle format support\n- Stricter codec requirements\n- Constant frame rate expected\n\n### Converting MKV to MP4 for Editing Software\n\nSome editing software requires constant frame rate MP4. Use this two-pass approach:\n\n```bash\n# Step 1: Initial remux with timescale adjustment\nffmpeg -i input.mkv -c copy -video_track_timescale 24000 intermediate.mp4\n\n# Step 2: Fix timestamps\nffmpeg -i intermediate.mp4 -c copy \\\n  -bsf:v \"setts=dts=1001*round(DTS\u002F1001):pts=1001*round(PTS\u002F1001)\" output.mp4\n```\n\n## Color Space & Color Management\n\n### Understanding Color Metadata\n\nVideos store colors in YCbCr format with metadata specifying:\n- **Color matrix**: How to convert YCbCr to RGB (BT.709, BT.601)\n- **Color range**: Limited (16-235) vs. Full (0-255)\n- **Chroma location**: Where color samples are positioned\n\n### Common Issues\n\n| Symptom | Likely Cause |\n|---------|--------------|\n| Washed out colors | Wrong color range (Limited treated as Full) |\n| Crushed blacks\u002Fblown whites | Wrong color range (Full treated as Limited) |\n| Greenish\u002Fpinkish tint | Wrong color matrix |\n| Colors look \"off\" after encode | Mismatched color metadata |\n\n### Preserving Color Information\n\n```bash\n# Explicitly preserve color metadata\nffmpeg -i input.mkv -c:v libx264 -preset slower -crf 20 \\\n  -colorspace bt709 -color_primaries bt709 -color_trc bt709 output.mkv\n```\n\n## Hardsubbing (Burning In Subtitles)\n\n### Using FFmpeg\n\n```bash\n# Hardsub from external subtitle file\nffmpeg -i input.mkv -vf \"subtitles=subs.ass\" -c:v libx264 -preset slower -crf 20 output.mkv\n\n# Hardsub from embedded subtitle track\nffmpeg -i input.mkv -vf \"subtitles=input.mkv:si=0\" -c:v libx264 -preset slower -crf 20 output.mkv\n```\n\n### Using mpv (Better for Complex Subtitles)\n\nmpv handles complex ASS subtitles (styling, positioning) more accurately:\n\n```bash\nmpv --no-config input.mkv -o output.mkv \\\n  --audio=no \\\n  --ovc=libx264 \\\n  --ovcopts=preset=slower,crf=20,bframes=8\n```\n\n## What to Avoid\n\n### Tools\n\n| Tool | Problem |\n|------|---------|\n| Handbrake | Unpredictable settings, hides important options |\n| Online converters | Quality loss, privacy concerns |\n| \"AI upscalers\" | Add fake detail, move further from source |\n| Windows built-in tools | Poor quality, limited options |\n\n### Practices\n\n| Practice | Why It's Bad |\n|----------|--------------|\n| Unnecessary sharpening | Adds artifacts, moves from source |\n| Upscaling to higher resolution | Doesn't add real detail |\n| Multiple reencodes | Quality loss compounds |\n| Using NVENC for quality | Hardware encoders prioritize speed over quality |\n| Frame rate interpolation | Adds fake frames with artifacts |\n\n## Recommended Tools\n\n### Essential\n\n| Tool | Purpose |\n|------|---------|\n| [ffmpeg](https:\u002F\u002Fffmpeg.org\u002F) | Swiss army knife for video processing |\n| [MediaInfo](https:\u002F\u002Fmediaarea.net\u002Fen\u002FMediaInfo) | Inspect video properties and metadata |\n| [mpv](https:\u002F\u002Fmpv.io\u002F) | Superior media player, encoding support |\n| [MKVToolNix](https:\u002F\u002Fmkvtoolnix.download\u002F) | GUI for MKV muxing operations |\n\n### Specialized\n\n| Tool | Purpose |\n|------|---------|\n| [Aegisub](https:\u002F\u002Faegisub.org\u002F) | Subtitle editing |\n| [HandBrake](https:\u002F\u002Fhandbrake.fr\u002F) | Simple transcoding (use with caution) |\n| [yt-dlp](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp) | Download online videos |\n\n## Troubleshooting\n\n### Video Won't Play\n\n1. Check codec support on target device\n2. Try remuxing to different container\n3. Verify file isn't corrupted: `ffmpeg -v error -i file.mkv -f null -`\n\n### Colors Look Wrong After Encoding\n\n1. Compare color metadata: `mediainfo input.mkv` vs. `mediainfo output.mkv`\n2. Check color range (Limited vs. Full)\n3. Check color matrix (BT.709 vs. BT.601)\n4. Explicitly set color parameters in ffmpeg command\n\n### File Size Too Large\n\n1. Increase CRF (e.g., 20 → 23)\n2. Use slower preset for better compression\n3. Consider x265 for better efficiency\n4. Check if you're unnecessarily encoding (remux instead)\n\n### Encoding Takes Forever\n\n1. Use faster preset (but accept larger file)\n2. Check if hardware encoding is acceptable for your use case\n3. Ensure source isn't being decoded unnecessarily\n\n### Audio\u002FVideo Out of Sync\n\n1. Check source file for sync issues first\n2. Use `-async 1` for audio sync correction\n3. Try remuxing instead of reencoding\n\n## Examples\n\n### Archive a Blu-ray Rip\n\n```bash\nffmpeg -i input.mkv -c:a copy -c:v libx265 -preset slower -crf 18 \\\n  -x265-params bframes=8 output.mkv\n```\n\n### Prepare for YouTube Upload\n\n```bash\nffmpeg -i input.mkv -c:a aac -b:a 384k -c:v libx264 -preset slower -crf 18 \\\n  -profile:v high -level 4.2 -pix_fmt yuv420p output.mp4\n```\n\n### Quick Preview\u002FProxy\n\n```bash\nffmpeg -i input.mkv -c:a aac -b:a 128k -c:v libx264 -preset fast -crf 28 \\\n  -vf scale=640:-2 output.mp4\n```\n\n### Extract Audio Only\n\n```bash\n# Copy audio stream (no re-encoding)\nffmpeg -i input.mkv -vn -c:a copy output.mka\n\n# Convert to MP3\nffmpeg -i input.mkv -vn -c:a libmp3lame -b:a 320k output.mp3\n```\n\n### Trim Without Re-encoding\n\n```bash\n# Trim from 1:00 to 2:30\nffmpeg -i input.mkv -ss 00:01:00 -to 00:02:30 -c copy output.mkv\n```\n\n## Resources\n\n- [FFmpeg Documentation](https:\u002F\u002Fffmpeg.org\u002Fdocumentation.html)\n- [FFmpeg Wiki](https:\u002F\u002Ftrac.ffmpeg.org\u002Fwiki)\n- [x264 Settings Guide](https:\u002F\u002Ftrac.ffmpeg.org\u002Fwiki\u002FEncode\u002FH.264)\n- [x265 Settings Guide](https:\u002F\u002Ftrac.ffmpeg.org\u002Fwiki\u002FEncode\u002FH.265)\n- [MediaInfo](https:\u002F\u002Fmediaarea.net\u002Fen\u002FMediaInfo)\n- [mpv Manual](https:\u002F\u002Fmpv.io\u002Fmanual\u002Fstable\u002F)\n",{"name":5,"description":7},"main","351d6f0a5dac78be33208c688fdbb820b9053685",".claude\u002Fskills\u002Fvideo-editor",0,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing","https:\u002F\u002Fgithub.com\u002Fsurfingalien","2026-11-14 00:29:40",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add surfingalien\u002FFinSurfing --skill video-editor",{"tool":36,"command":37},"bunx","bunx skills add surfingalien\u002FFinSurfing --skill video-editor",{"tool":39,"command":40},"pnpm","pnpm dlx skills add surfingalien\u002FFinSurfing --skill video-editor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvideo-editor\u002FSKILL.md",true,[],[45,51,57,64,71,78],{"skillNo":46,"name":47,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7490VYNX3NCT8R0PPSYHTXP","portfolio-management","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fskills\u002Fportfolio-management\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M7490SNSG32QP06X1P1EVK7N","financial-analysis","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fskills\u002Ffinancial-analysis\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M7490MKJ5QCVWWXC8HK57EVQ","tradingview-mcp","AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, Reddit sentiment, news, and multi-market screener. Supports stocks, crypto, ETFs, indices, Turkish (BIST), and Egyptian (EGX) markets.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fopenclaw\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7490FHXRPVEPQMZ4KHFD161","sales-engineer","Analyzes RFP\u002FRFI responses for coverage gaps, builds competitive feature comparison matrices, and plans proof-of-concept (POC) engagements for pre-sales engineering. Use when responding to RFPs, bids, or proposal requests; comparing product features against competitors; planning or scoring a customer POC or sales demo; preparing a technical proposal; or performing win\u002Floss competitor analysis. Handles tasks described as 'RFP response', 'bid response', 'proposal response', 'competitor comparison', 'feature matrix', 'POC planning', 'sales demo prep', or 'pre-sales engineering'.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fbusiness-growth\u002Fskills\u002Fsales-engineer\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7490C91D8F7CM7AXFZK8SQE","revenue-operations","Analyzes sales pipeline health, revenue forecasting accuracy, and go-to-market efficiency metrics for SaaS revenue optimization. Use when analyzing sales pipeline coverage, forecasting revenue, evaluating go-to-market performance, reviewing sales metrics, assessing pipeline analysis, tracking forecast accuracy with MAPE, calculating GTM efficiency, or measuring sales efficiency and unit economics for SaaS teams.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fbusiness-growth\u002Fskills\u002Frevenue-operations\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M74907FEV2YRKSYPNG649HGF","customer-success-manager","Monitors customer health, predicts churn risk, and identifies expansion opportunities using weighted scoring models for SaaS customer success. Use when analyzing customer accounts, reviewing retention metrics, scoring at-risk customers, or when the user mentions churn, customer health scores, upsell opportunities, expansion revenue, retention analysis, or customer analytics. Runs three Python CLI tools to produce deterministic health scores, churn risk tiers, and prioritized expansion recommendations across Enterprise, Mid-Market, and SMB segments.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fbusiness-growth\u002Fskills\u002Fcustomer-success-manager\u002FSKILL.md",[],[]]