ffmpeg-usage

Generate ffmpeg commands for converting and optimizing audio and video files.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill ffmpeg-usage-augustscl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg-usage
Source: https://github.com/augustscl/awesome-xiawang-skills/tree/main/ffmpeg-usage
Command: npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill ffmpeg-usage-augustscl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides clear, actionable ffmpeg commands and workflows to remove guesswork from multimedia tasks so users can convert, edit, compress, and optimize audio and video reliably across platforms.

Core Features & Use Cases

  • Comprehensive command examples for format conversion (MP4, WebM, MOV), resizing, padding, and platform-specific presets for YouTube, Instagram, TikTok, and Twitter.
  • Editing workflows including trimming, concatenation (concat protocol, concat demuxer, and concat filter), speed changes, rotation, and GIF generation with palette optimization.
  • Audio operations (extraction, format conversion, mixing), subtitle handling (hardcode, soft subtitles, extraction), thumbnail/frame extraction, and CRF-based compression recommendations.
  • Real-world example: batch-convert a folder of MOV files to web-optimized MP4 with H.264, apply 1080p scaling with aspect-ratio padding, and extract a 5-second GIF preview for social sharing.

Quick Start

Convert my MOV file to a web-optimized MP4 using H.264 video, AAC audio, and faststart for progressive streaming.

Frequently Asked Questions about ffmpeg-usage

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

FAQPage Schema
How do I convert MOV files to web-optimized MP4 with ffmpeg?

Convert MOV to web-optimized MP4 using ffmpeg by applying the H.264 video codec, AAC audio, and the faststart flag. This configuration enables progressive streaming and ensures broad format compatibility across web platforms.

What is the best way to compress video for social platforms like Instagram and TikTok?

The best way to compress video for social platforms is using CRF-based compression recommendations alongside platform-specific presets for Instagram and TikTok. This applies scaling and padding rules to meet exact platform encoding requirements.

Can I extract audio and burn subtitles into a video using ffmpeg?

Yes, you can extract audio and burn subtitles into a video using ffmpeg. The workflow supports audio extraction, format conversion, and both hardcoding subtitles directly into the video or adding soft subtitle tracks.

How does GIF creation with palette optimization work in ffmpeg?

GIF creation with palette optimization in ffmpeg generates a custom color palette before encoding to produce higher quality outputs. This workflow extracts frames and applies palette filters to create optimized GIF previews for social sharing.

Do I need special dependencies to batch convert videos and generate ffmpeg commands?

No special dependencies are required to batch convert videos and generate ffmpeg commands. The process generates actionable ffmpeg command strings and workflow steps that handle batch processing, concatenation, and resizing natively.

Why does ffmpeg concatenation offer different methods like concat protocol and concat filter?

FFmpeg concatenation offers different methods because concat protocol, concat demuxer, and concat filter suit different source formats and editing needs. Choosing the right approach ensures reliable merging without re-encoding or sync issues.