ffmpeg

Run FFmpeg commands in Docker containers for media processing.

16|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/kubiyabot/skill --skill ffmpeg-kubiyabot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg
Source: https://github.com/kubiyabot/skill/tree/main/examples/docker-runtime-skills/ffmpeg-skill
Command: npx skills add https://github.com/kubiyabot/skill --skill ffmpeg-kubiyabot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually installing and configuring FFmpeg across environments is error-prone and insecure. This Skill provides a consistent, containerized FFmpeg workflow that runs in a dedicated Docker runtime with strict isolation.

Core Features & Use Cases

  • Containerized FFmpeg: Execute FFmpeg commands inside a Docker container to avoid host environment drift.
  • Format & media operations: Convert formats, extract audio, resize video, generate thumbnails, and more.
  • Use Case: Automate media processing in CI pipelines or batch workflows, processing multiple files with a single command.

Quick Start

Use the skill to convert a video: skill run ffmpeg -- -i input.mp4 output.webm Generate a thumbnail: skill run ffmpeg -- -i input.mp4 -vframes 1 thumb.jpg

Frequently Asked Questions about ffmpeg

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

FAQPage Schema
How do I run FFmpeg securely in Docker for video processing?

You can run FFmpeg securely in Docker by executing commands inside an isolated container with strict resource limits for CPU, memory, and network. This approach prevents host environment drift during video processing.

What is the best way to automate batch transcoding and format conversion in CI pipelines?

The best way to automate batch transcoding and format conversion in CI pipelines is using a containerized FFmpeg workflow. It processes multiple media files consistently within an isolated Docker runtime, avoiding environment configuration errors.

How do I generate a video thumbnail or extract audio from an MP4 file?

To generate a thumbnail or extract audio from an MP4 file, run an FFmpeg command inside the Docker container. You can use specific flags like `-vframes 1` for thumbnails to output a single image frame.

Do I need Docker to use this FFmpeg containerization approach?

Yes, Docker is required as the runtime environment. You must also configure a mounted working directory to handle input and output files, along with configured resource limits to ensure secure isolation.

Why should I use a Docker sandbox instead of installing FFmpeg directly on my host?

Using a Docker sandbox avoids error-prone manual installations and provides consistent, secure isolation. Configuring resource limits prevents runaway processes from affecting your host system during batch media processing.