ffmpeg-usage

Automate FFmpeg audio/video processing for conversion, scaling, and batch workflows.

1|Updated May 12, 2026
One-click install
npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill ffmpeg-usage-cocyuhao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg-usage
Source: https://github.com/cocyuhao/my-ai-skills-library/tree/main/ffmpeg-usage
Command: npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill ffmpeg-usage-cocyuhao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables robust multimedia processing across formats, resolutions, and edits by leveraging FFmpeg and related tools, reducing time spent on manual tasks.

Core Features & Use Cases

  • Format conversion between common video and audio formats
  • Resolution & aspect-aware scaling and padding
  • GIF creation from video with palette optimization
  • Audio extraction and format conversion
  • Subtitles handling: hard and soft subtitle embedding, extraction
  • Video editing: trimming, concatenation, speed adjustments, rotation
  • Batch processing and platform-specific presets for YouTube, Instagram, and more

Quick Start

Convert a 4K video to 1080p and optimize for web delivery using the included ffmpeg workflows.

Frequently Asked Questions about ffmpeg-usage

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

FAQPage Schema
How do I convert a 4K video to 1080p and optimize it for web delivery?

You can convert a 4K video to 1080p by applying resolution-aware scaling and platform-specific web optimization presets via FFmpeg, outputting a compressed video tailored for online delivery.

What is the best way to create a GIF from a video with optimized colors?

Creating a GIF from a video is best handled by FFmpeg workflows that apply palette optimization during extraction, resulting in a high-quality GIF with accurate color representation and reduced file size.

How do I embed subtitles into a video using FFmpeg?

Embedding subtitles into a video involves using FFmpeg workflows that support both hard subtitle burning and soft subtitle embedding, inserting text tracks directly into the video stream or metadata.

Do I need a specific FFmpeg version to use these multimedia processing workflows?

Yes, using these multimedia processing workflows requires FFmpeg version 4.0 or higher, and optionally includes ffprobe for media analysis to ensure compatibility with the automated transcoding tasks.

Can I batch process audio extraction and format conversion for multiple files?

Batch processing audio extraction and format conversion is fully supported, allowing you to automate the extraction of audio tracks from multiple video files and convert them into common audio formats simultaneously.

Does this skill provide presets for platform-specific video optimization like YouTube or Instagram?

Platform-specific video optimization presets for YouTube, Instagram, and other platforms are included, enabling you to automatically adjust aspect ratios, resolutions, and compression settings for bulk media workflows.