ffmpeg

Convert and optimize video and audio files for web and Remotion workflows.

1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/shige1014-dev/backup-OpenMontage --skill ffmpeg-shige1014-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg
Source: https://github.com/shige1014-dev/backup-OpenMontage/tree/main/.agents/skills/ffmpeg
Command: npx skills add https://github.com/shige1014-dev/backup-OpenMontage --skill ffmpeg-shige1014-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FFmpeg commandlines and encoding options are complex and easy to get wrong, leading to incompatible files, large uploads, or playback failures; this skill consolidates best-practice commands and patterns to produce web- and Remotion-ready media reliably.

Core Features & Use Cases

  • Format conversion & compatibility: Convert GIFs, MOVs, WAVs, and other formats into H.264 MP4 or WebM suitable for browsers and Remotion.
  • Resizing, cropping, and padding: Scale to target resolutions, maintain aspect ratios, or crop to fill compositions while ensuring even dimensions.
  • Compression & quality tradeoffs: Use CRF, presets, and bitrate targets to balance file size and visual quality for archive, production, or web preview workflows.
  • Audio extraction and speed manipulation: Extract MP3/M4A/WAV, chain atempo for extreme speed changes, and keep audio-video sync for voiceovers and demos.
  • Platform optimization & batch exports: Produce platform-specific outputs (YouTube, Twitter/X, LinkedIn, web) and automate exports for multiple targets.
  • Use Case: Prepare a Remotion-rendered master file, then generate optimized outputs for YouTube, Twitter, and a fast web-embed version with a single batch workflow.

Quick Start

Use the ffmpeg skill to convert an input video into a web-optimized H.264 MP4 with even dimensions, movflags faststart, and AAC audio.

Frequently Asked Questions about ffmpeg

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

FAQPage Schema
How do I convert a video to web-optimized H.264 MP4 for browser playback?

To convert video to web-optimized H.264 MP4, apply movflags faststart for progressive streaming, ensure even dimensions during scaling, and encode AAC audio. This produces browser-compatible files with reliable playback and balanced compression.

What is the best way to compress video files for Remotion workflows?

The best way to compress video for Remotion is using CRF and bitrate targets to balance file size and visual quality. This approach yields H.264 MP4 or WebM outputs suitable for archive, production, or web preview workflows.

Can I extract audio and change playback speed without losing sync?

You can extract MP3, M4A, or WAV audio and chain atempo filters for extreme speed changes while keeping audio-video sync. This prepares voiceovers and demos reliably across different playback speeds.

How do I export video files optimized for YouTube, Twitter/X, and LinkedIn?

To export video optimized for YouTube, Twitter/X, and LinkedIn, apply platform-specific resizing, cropping, and compression settings. This batch workflow generates targeted outputs meeting each platform's resolution and bitrate requirements.

Does converting MOV or GIF to WebM require even dimensions and faststart?

Converting MOV or GIF to WebM requires even dimensions for compatibility, while faststart applies specifically to H.264 MP4 for progressive web delivery. This ensures browser playback without loading failures or incompatible frames.