ffmpeg

Convert, resize, compress, trim, and optimize video and audio files with FFmpeg.

46.2k|5.7k|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/calesthio/OpenMontage --skill ffmpeg-calesthio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg
Source: https://github.com/calesthio/OpenMontage/tree/main/.agents/skills/ffmpeg
Command: npx skills add https://github.com/calesthio/OpenMontage --skill ffmpeg-calesthio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FFmpeg commands and patterns to convert, resize, compress, trim, and otherwise prepare video and audio assets so they play reliably on the web and in Remotion compositions.

Core Features & Use Cases

  • Format conversion and transcoding: Convert GIFs, MOVs, WAVs and other sources into web-friendly MP4, WebM, or platform-specific formats using appropriate codecs.
  • Asset preparation for Remotion and platforms: Resize, pad or crop, enforce even dimensions, set frame rates, apply movflags for progressive loading, and optimize outputs for YouTube, Twitter, LinkedIn, and web embeds.
  • Editing and batch workflows: Trim and concatenate clips, change playback speed with audio tempo chaining, extract or convert audio, run batch GIF-to-MP4 conversions, and tune quality via CRF and presets.

Quick Start

Convert input.gif into a Remotion-ready MP4 with even dimensions, yuv420p pixel format, and faststart metadata so it streams correctly.

Frequently Asked Questions about ffmpeg

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

FAQPage Schema
How do I convert a GIF to an MP4 for web embedding?

Converting a GIF to an MP4 for web embedding involves transcoding to H.264, enforcing even dimensions, applying the yuv420p pixel format, and adding faststart metadata so it streams correctly.

What is the best way to compress video for YouTube, Twitter, and LinkedIn?

The best way to compress video for YouTube, Twitter, and LinkedIn is to apply platform-specific encoding by selecting appropriate codecs, tuning quality via CRF and presets, and enforcing even dimensions for reliable playback.

How do I change video playback speed without distorting the audio pitch?

Changing video playback speed without distorting audio pitch requires managing audio atempo chains to handle extreme speed changes, ensuring the audio tempo remains correct during the transcoding process.

Does this video compression workflow support batch GIF-to-MP4 conversions?

Yes, this video compression workflow supports batch GIF-to-MP4 conversions, allowing you to run batch exports alongside trimming, concatenating clips, and extracting audio from multiple files.

Why does my video not play correctly in Remotion compositions?

Your video may not play correctly in Remotion because it lacks web-friendly flags like progressive loading metadata, or it has uneven dimensions and an incompatible pixel format that must be corrected before playback.

Can I extract and convert audio from a video file for web optimization?

Yes, you can extract and convert audio from a video file for web optimization, processing WAVs and other sources into web-friendly formats while adjusting quality controls via codec selection and CRF presets.