ffmpeg

Automate media processing tasks with FFmpeg.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive guide to FFmpeg, the powerful multimedia framework, simplifying complex video and audio processing tasks. It eliminates the need to memorize intricate command-line syntax or search through vast documentation, offering instant access to commands for conversion, streaming, filtering, and optimization.

Core Features & Use Cases

  • Universal Media Conversion: Convert between virtually any video or audio format (MP4, MKV, MP3, AAC) with ease.
  • Advanced Filtering & Processing: Apply complex video filters (scale, crop, denoise) and audio effects (volume, normalize).
  • Live Streaming & Encoding: Set up RTMP streams for platforms like Twitch/YouTube or generate adaptive HLS streams.
  • Use Case: Quickly convert a video to a smaller MP4 for web, extract audio from a lecture, or set up a live stream from your desktop.

Quick Start

Using the ffmpeg skill, convert 'input.mov' to 'output.mp4' using the H.264 video codec and AAC audio codec.

Frequently Asked Questions about ffmpeg

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

FAQPage Schema
How do I convert video formats like MOV to MP4?

Video format conversion with FFmpeg uses codec selection and container specification. Run ffmpeg -i input.mov -c:v libx264 -c:a aac output.mp4 to convert MOV to MP4 with H.264 video and AAC audio codecs, automatically handling resolution and bitrate optimization.

Can I extract audio from a video file?

Audio extraction from video uses FFmpeg's audio stream mapping. Run ffmpeg -i input.mp4 -q:a 0 -map a output.mp3 to extract audio as MP3, or specify -c:a aac for AAC format, preserving original quality or applying custom bitrate settings.

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

Live streaming to RTMP-based platforms like YouTube and Twitch uses FFmpeg's streaming encoder. Capture source input with ffmpeg -f gdigrab -i desktop -c:v libx264 -preset fast -b:v 5000k -f flv rtmp://platform-url/stream-key to stream encoded video in real time.

What's the best way to create adaptive streaming files for HLS or DASH?

Adaptive streaming with HLS or DASH uses FFmpeg to generate segmented files and manifests at multiple bitrates. FFmpeg encodes video at different quality levels, creates .m3u8 playlists for HLS or .mpd manifests for DASH, enabling playback optimization across variable bandwidth connections.

Does FFmpeg support modern video codecs like H.265 and VP9?

FFmpeg supports modern codecs H.265 (libx265), VP9 (libvpx-vp9), and AV1 (libaom) alongside legacy H.264. Use -c:v libx265 -preset medium for H.265 encoding, -c:v libvpx-vp9 for VP9, or -c:v libaom-av1 for AV1 to balance quality, file size, and encoding speed.

Can I apply video filters like cropping, scaling, and denoising?

Video filtering with FFmpeg chains multiple filters in the filtergraph. Use -vf "scale=1280:720,crop=1920:1080:0:0,hqdn3d=luma_spatial=5" to scale, crop, and denoise in sequence, or combine filters like deinterlace, normalize audio volume, and color correction before encoding output.