ffmpeg

Provide FFmpeg command-line examples for media conversion, encoding, filtering, and streaming.

4|Updated Oct 27, 2014
One-click install
npx skills add https://github.com/B-Galati/dotfiles --skill ffmpeg-b-galati
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg
Source: https://github.com/B-Galati/dotfiles/tree/main/claude/skills/ffmpeg
Command: npx skills add https://github.com/B-Galati/dotfiles --skill ffmpeg-b-galati

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and command-line examples for using FFmpeg, a powerful tool for processing all types of media files, enabling efficient video and audio manipulation.

Core Features & Use Cases

  • Format Conversion: Convert between various video and audio formats (MP4, MKV, MP3, AAC, etc.).
  • Encoding & Transcoding: Optimize media for different platforms and reduce file sizes using various codecs (H.264, H.265, VP9, Opus).
  • Editing & Filtering: Trim, crop, scale, add watermarks, adjust volume, and apply complex filters to media.
  • Streaming: Set up live streams (RTMP) and adaptive streams (HLS).
  • Media Analysis: Inspect file properties, extract metadata, and analyze stream data using ffprobe.
  • Batch Processing: Automate repetitive media tasks using shell scripts or parallel processing.

Quick Start

Use the ffmpeg skill to convert the video file '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 formats like MOV to MP4 using H.264 and AAC?

To convert video formats, use FFmpeg command-line examples to transcode input MOV files to MP4 outputs by specifying the H.264 video codec and AAC audio codec for broad compatibility.

What is the best way to reduce video file size and optimize media for streaming?

Reduce video file size and optimize media for streaming by using FFmpeg transcoding commands to apply efficient codecs like H.265 or VP9, and set up adaptive HLS or RTMP live streams.

Can I batch process multiple media files and apply complex filters automatically?

Yes, you can automate batch processing of repetitive media tasks using shell scripts for parallel processing, applying complex FFmpeg filters to crop, scale, add watermarks, or adjust volume.

How do I extract metadata and inspect media file properties for analysis?

Extract metadata and inspect media file properties by using the ffprobe command-line tool to analyze stream data, providing detailed insights into codecs, container formats, and file attributes.

Does FFmpeg support hardware acceleration for encoding and transcoding tasks?

Yes, FFmpeg supports hardware acceleration for encoding and transcoding tasks, enabling faster multimedia processing by leveraging system GPU capabilities alongside various supported codecs.