ffmpeg

Installation
Summary

Video and audio processing with format conversion, resizing, compression, and Remotion asset preparation.

  • Covers 10+ common operations: GIF-to-MP4 conversion, video resizing, compression, audio extraction, trimming, speed adjustment, concatenation, and fade effects
  • Includes Remotion-specific patterns for speed adjustment, demo recording preparation, and batch GIF conversion with proper codec settings
  • Provides platform-specific optimization workflows for YouTube, Twitter/X, LinkedIn, Instagram, and web embedding with quality/size trade-offs
  • Built-in troubleshooting for common issues like odd dimensions, audio sync, and file size problems with quick reference tables for quality settings and platform requirements
SKILL.md

FFmpeg for Video Production

FFmpeg is the essential tool for video/audio processing. This skill covers common operations for Remotion video projects.

Quick Reference

GIF to MP4 (Remotion-compatible)

ffmpeg -i input.gif -movflags faststart -pix_fmt yuv420p \
  -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" output.mp4

Why these flags:

  • -movflags faststart - Moves metadata to start for web streaming
  • -pix_fmt yuv420p - Ensures compatibility with most players
  • scale=trunc(...) - Forces even dimensions (required by most codecs)

Resize Video

Related skills

More from digitalsamba/claude-code-video-toolkit

Installs
3.3K
GitHub Stars
1.2K
First Seen
Jan 23, 2026