ffmpeg

Coordinate ffmpeg/ffprobe media tasks including inspect, convert, trim, and stitch.

12|4|Updated Jun 21, 2026
One-click install
npx skills add https://github.com/eccstartup/grok_skills_bundle --skill ffmpeg-eccstartup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg
Source: https://github.com/eccstartup/grok_skills_bundle/tree/main/ffmpeg
Command: npx skills add https://github.com/eccstartup/grok_skills_bundle --skill ffmpeg-eccstartup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables automated, repeatable media processing by orchestrating ffmpeg/ffprobe tasks—inspecting, converting, trimming, resizing, compressing, extracting frames and audio, replacing audio, creating GIFs, adding subtitles and overlays, and stitching videos together.

Core Features & Use Cases

  • Robust media inspection with ffprobe for format, streams, duration, and metadata queries.
  • End-to-end editing: trim, resize, crop, overlay, watermark, subtitle burn-in, and format conversion.
  • Batch workflows: generate thumbnails, storyboards, GIFs, and multi-part concatenation for social media or archival purposes.

Quick Start

Inspect the input with ffprobe, then encode or copy to the desired output format and verify the result with ffprobe.

Frequently Asked Questions about ffmpeg

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

FAQPage Schema
How do I trim video clips for social media without re-encoding the entire file?

To trim video clips without re-encoding, use ffmpeg with stream copy (-c copy) and specify start and end timestamps. This extracts the segment directly from the container, preserving original quality and ensuring fast processing.

What is the best way to extract frames from a video for thumbnail generation?

Extracting frames from a video for thumbnails is done using ffmpeg by specifying a frame rate or select filter. This generates a sequence of image files capturing specific moments, suitable for batch thumbnail generation and storyboards.

How does ffprobe inspect media file metadata and stream information?

ffprobe inspects media file metadata by querying the container format, individual streams, duration, and codec details. It outputs structured data that validates input characteristics before applying processing commands.

Can I batch convert and compress multiple videos using ffmpeg?

Yes, ffmpeg supports batch transcoding and compression workflows by iterating commands across multiple files. It handles container and codec decisions, re-encoding inputs to target formats while applying validation and compatibility checks.

How do I burn subtitles and image overlays into a video?

Burning subtitles and image overlays into a video uses ffmpeg filter complexes to render text or graphics directly onto video frames. This permanently embeds the visual elements into the output stream during the re-encoding process.

Why does ffmpeg re-encode instead of copying streams when stitching videos together?

Stitching videos with mismatched codecs or resolutions requires ffmpeg to re-encode for uniformity, ensuring seamless concatenation. When properties match, -c copy can stitch without re-encoding, but incompatible streams force a re-encode.