ffmpeg

Provide FFmpeg and FFprobe command-line instructions for video and audio manipulation.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/MartinPirate/video-toolkit --skill ffmpeg-martinpirate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg
Source: https://github.com/MartinPirate/video-toolkit/tree/main/.claude/skills/ffmpeg
Command: npx skills add https://github.com/MartinPirate/video-toolkit --skill ffmpeg-martinpirate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive command-line toolkit for virtually any video or audio manipulation task, from simple conversions to complex editing and optimization.

Core Features & Use Cases

  • Format Conversion: Convert between various video and audio formats (MP4, WebM, GIF, MOV, etc.).
  • Editing: Trim, concatenate, adjust speed, and apply basic effects like fades.
  • Extraction & Optimization: Extract audio, resize, compress, and optimize videos for specific platforms (YouTube, Twitter, Web).
  • Use Case: Convert a large MP4 video into a smaller, web-optimized WebM format, suitable for faster loading on a website.

Quick Start

Use the ffmpeg skill to convert the video 'input.mp4' to a GIF named 'output.gif' with a frame rate of 15 frames per second and a width of 640 pixels.

Frequently Asked Questions about ffmpeg

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

FAQPage Schema
How do I convert an MP4 video to a GIF using command-line tools?

FFprobe enables file inspection and format conversion between MP4, WebM, GIF, and MOV. It handles tasks like trimming, concatenation, speed adjustment, resizing, and compression for various video and audio formats.

What is the best way to compress a video for web loading?

The best way to compress video for web loading is converting large MP4 files into web-optimized WebM format. This reduces file size for faster website loading while maintaining suitable visual quality for online viewing platforms.

Can I extract audio from a video file without re-encoding?

Yes, you can extract audio from video files using command-line instructions. The process allows direct audio extraction and format conversion, enabling you to isolate soundtracks efficiently without necessarily re-encoding the entire video stream.

How do I trim and concatenate multiple video files together?

You can trim and concatenate video files by running specific FFmpeg commands. This process allows you to cut segments from multiple videos and join them sequentially into a single continuous output file.

Why does my video conversion fail and how do I verify the output?

Video conversion failures are addressed through common error handling and verification steps. After running your conversion command, you should use FFprobe to inspect the output file and verify the encoding was successful.