ffmpeg-expert

Generate FFmpeg commands for converting, editing, and optimizing media files.

5|4|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/takusaotome/claude-skills-library --skill ffmpeg-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg-expert
Source: https://github.com/takusaotome/claude-skills-library/tree/main/skills/ffmpeg-expert
Command: npx skills add https://github.com/takusaotome/claude-skills-library --skill ffmpeg-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ffprobe, ffmpeg, json, argparse, subprocess, pathlib, datetime, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of reliably converting, editing, and optimizing media files by turning common FFmpeg tasks into clear, actionable workflows and recommended command patterns.

Core Features & Use Cases

  • Format conversion & codec selection: Convert between MP4/WebM/MKV/MOV and choose codecs like H.264, H.265/HEVC, VP9, and AV1 for the right compatibility and size/quality tradeoff.
  • Editing operations: Trim/cut, concatenate videos, resize, change frame rate, rotate/flip, crop, and speed-adjust while choosing between fast stream copy and precise re-encode.
  • Media preparation & output tuning: Extract/convert audio, create GIFs and thumbnails, apply filters (overlays, watermarks, subtitles), and prepare streaming outputs (HLS/DASH) including adaptive bitrate patterns.
  • Quality and troubleshooting guidance: Use CRF/preset guidance, hardware acceleration options (NVENC/QSV/VideoToolbox), and troubleshooting references for common errors like encoder availability and timing/compatibility issues.

Quick Start

Use the FFmpeg Expert to convert input.mp4 to an H.264 MP4 optimized for web playback with fast start and AAC audio.

Frequently Asked Questions about ffmpeg-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a video to H.264 MP4 for web playback using FFmpeg?

To convert video to H.264 MP4 for web playback using FFmpeg, select the H.264 codec with AAC audio and enable fast start. This ensures proper streaming and broad compatibility across web browsers.

What is the best FFmpeg command to cut and join video segments?

Cutting and joining video segments with FFmpeg involves choosing between fast stream copy for speed or precise re-encode for accuracy. You trim specific timestamps or concatenate multiple files while maintaining codec compatibility.

Does FFmpeg support hardware acceleration for H.265 and AV1 transcoding?

FFmpeg supports hardware acceleration for transcoding codecs like H.265 and AV1 using NVENC, QSV, or VideoToolbox options. These hardware encoders significantly reduce processing time during video conversion.

How do I prepare adaptive bitrate streaming outputs like HLS or DASH with FFmpeg?

Preparing adaptive bitrate streaming outputs like HLS or DASH with FFmpeg involves generating multiple resolution variants and packaging them into segment playlists. This creates compatible streaming patterns for dynamic video delivery.

What FFmpeg parameters should I use to optimize video quality and file size?

Optimizing video quality and file size with FFmpeg requires adjusting the CRF value and preset parameters. Lower CRF values increase visual quality, while slower presets improve compression efficiency for smaller file outputs.

Why does FFmpeg fail to encode with codec availability or timing errors?

FFmpeg encoding errors related to codec availability or timing often occur when the required encoder library is missing or input streams have mismatched timestamps. Troubleshooting references help resolve these compatibility issues.