ffmpeg-media

Transcodes and manipulates video/audio media using FFmpeg command lines and filter graphs.

60|13|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/plurigrid/asi --skill ffmpeg-media
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg-media
Source: https://github.com/plurigrid/asi/tree/main/skills/ffmpeg-media
Command: npx skills add https://github.com/plurigrid/asi --skill ffmpeg-media

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FFmpeg-media provides a compact guide to media processing, covering transcoding, stream extraction, filter graphs, and hardware-accelerated transformations. It helps you automate common video/audio workflows and generate outputs with repeatable, reproducible commands.

Core Features & Use Cases

  • Container/codec transcoding: Convert between formats and codecs.
  • Filter graphs: Build complex processing pipelines (scaling, text, color adjustments).
  • Extraction & muxing: Extract audio, video, or combine streams into new containers.

Quick Start

ffmpeg -i input.mp4 -c:v libx264 -crf 23 output.mp4

Frequently Asked Questions about ffmpeg-media

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

FAQPage Schema
How do I transcode video between different codecs and containers?

Transcoding converts video between formats and codecs using FFmpeg command-line operations. Use ffmpeg -i input.mp4 -c:v libx264 -crf 23 output.mp4 to re-encode with a specific codec; adjust the output container extension and codec flags (-c:v for video, -c:a for audio) to target your desired format.

Can I use FFmpeg filter graphs to build complex video processing pipelines?

FFmpeg filter graphs enable complex processing pipelines combining scaling, color adjustments, text overlays, and effects in a single command. Chain filters with -vf or -af flags—for example, -vf "scale=1280:720,drawtext=text='Label'" applies multiple transformations sequentially before output.

How do I extract audio from video or combine streams into a new container?

Stream extraction and muxing let you isolate audio, video, or combine them into new containers. Use ffmpeg -i input.mp4 -q:a 0 -map a output.mp3 to extract audio, or -map 0:v:0 -map 1:a:0 to merge video and audio streams from separate inputs.

Does FFmpeg support hardware-accelerated video processing?

FFmpeg supports hardware acceleration for faster transcoding on compatible GPUs. Use hardware-specific encoders like -c:v hevc_nvenc (NVIDIA) or -c:v hevc_videotoolbox (Apple) instead of software codecs to offload processing and reduce CPU usage.

What's the best way to automate repeated video conversion workflows?

FFmpeg's command-line interface supports batch automation and reproducible operations through shell scripts or orchestration tools. Define your filter graph, codec, and output parameters once, then apply identical settings across multiple files for consistent, repeatable conversions.

Can I scale video resolution and apply effects in a single FFmpeg command?

Yes; combine scaling, color adjustments, and effects in one filter graph using -vf. For example, -vf "scale=1920:1080,eq=brightness=0.1" scales and adjusts brightness simultaneously, reducing intermediate files and processing overhead.