ffmpeg

Convert media formats and apply filters using FFmpeg command-line tools.

1|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/alex-tgk/saasaas --skill ffmpeg-alex-tgk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg
Source: https://github.com/alex-tgk/saasaas/tree/main/.claude/skills/ffmpeg
Command: npx skills add https://github.com/alex-tgk/saasaas --skill ffmpeg-alex-tgk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Processing and manipulating multimedia files often requires complex command-line syntax and deep knowledge of codecs and formats. This Skill provides a comprehensive guide to FFmpeg, simplifying video/audio conversion, streaming, and advanced filtering tasks.

Core Features & Use Cases

  • Universal Media Conversion: Convert between virtually any video/audio format (MP4, MKV, MP3, AAC) with precise control over codecs and quality.
  • Advanced Filtering: Apply complex video filters (scale, crop, denoise, watermark) and audio filters (volume, normalize, mix) with ease.
  • Live Streaming & Batch Processing: Set up RTMP/HLS streams for platforms like Twitch/YouTube and automate tasks for multiple files.
  • Use Case: Convert a folder of .mkv video files to .mp4 format, resizing them to 720p and ensuring optimal quality for web streaming.

Quick Start

Use the ffmpeg skill to convert 'input.mov' to 'output.mp4' using H.264 video and AAC audio codecs.

Frequently Asked Questions about ffmpeg

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

FAQPage Schema
How do I convert video files between formats like MP4, MKV, and WebM?

Video format conversion uses ffmpeg to transcode between codecs and containers. Specify input and output files with desired codecs (H.264, H.265, VP9, AV1) and quality settings; ffmpeg handles the encoding automatically, preserving or adjusting resolution and bitrate as needed.

Can I apply filters like scaling, cropping, or watermarking to videos?

FFmpeg's filter graph system applies complex video and audio transformations. Chain filters to scale resolution, crop frames, denoise, normalize audio, adjust volume, or overlay watermarks in a single pass, optimizing performance and maintaining quality.

How do I set up live streaming to Twitch or YouTube with ffmpeg?

Live streaming uses ffmpeg to encode and push media via RTMP or HLS protocols. Configure bitrate, codec, and audio settings, then stream directly to your platform's ingestion server using the appropriate stream key and endpoint.

What's the best way to batch process multiple video files?

Batch processing automates format conversion and filtering across file sets using ffmpeg in loops or scripts. Define encoding parameters once, then apply them to directories of files, producing consistent output with minimal manual intervention.

Can ffmpeg extract audio from video files or combine audio and video?

Audio extraction and muxing isolate or merge audio and video streams using ffmpeg. Extract audio to MP3 or AAC, replace soundtracks, or combine separate audio and video files into a single container with precise synchronization.

What codec and bitrate settings should I use for web streaming quality?

Web streaming optimization balances quality and file size using H.264 or VP9 codecs with CRF-based or two-pass bitrate control. Resize to 720p or lower, select appropriate audio bitrate (128–192 kbps), and test playback across devices before deployment.