ffmpeg-transcode

Transcode media files between codecs and containers using FFmpeg presets.

15|4|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/damionrashford/media-os --skill ffmpeg-transcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg-transcode
Source: https://github.com/damionrashford/media-os/tree/main/skills/ffmpeg-transcode
Command: npx skills add https://github.com/damionrashford/media-os --skill ffmpeg-transcode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Transcode media files between codecs and containers quickly and predictably, reducing manual re-encoding guesswork.

Core Features & Use Cases

  • Preset-driven ffmpeg workflows for common tasks (web MP4, HEVC MKV, AV1 MP4, WebM).
  • Supports remux vs re-encode decisions, CRF-based quality control, 2-pass encoding, and container changes.
  • Use cases include converting sources for browser playback, archiving, or editing pipelines, with safe defaults and performance notes.

Quick Start

Provide the input file and a target format, and I will generate the full ffmpeg command.

Frequently Asked Questions about ffmpeg-transcode

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

FAQPage Schema
How do I convert video to web-friendly MP4 format using ffmpeg?

To convert video to web-friendly MP4 format, this tool applies preset-driven ffmpeg workflows with sensible defaults and safety checks. It automatically builds and executes the ffmpeg command for browser playback, ensuring proper codec compatibility.

What is the difference between remuxing and re-encoding when converting MKV to MP4?

Remuxing changes the container without altering the video stream, preserving original quality. Re-encoding transcodes the actual codec, which is necessary for compatibility but affects quality and processing time. The preset approach handles both remux and re-encode decisions automatically.

How do I use CRF and 2-pass encoding for size and quality targeting?

CRF-based quality control and 2-pass encoding are supported for size and quality targeting. By providing an input file and target format, the script generates ffmpeg commands that apply these encoding options to balance file size against visual fidelity.

Can I transcode media to AV1 or WebM containers with ffmpeg presets?

Transcoding media to AV1 MP4 and WebM containers is fully supported. The preset-driven script generates the necessary ffmpeg commands, applying safe defaults and performance notes specifically for these modern web formats.

What's the best way to automate ffmpeg conversion tasks for archiving?

The best way to automate ffmpeg conversion for archiving is using a preset-driven Python script. It builds and executes ffmpeg commands with safe defaults, supporting HEVC MKV and other formats with CRF quality control for predictable results.

Why does my ffmpeg transcode output have quality loss?

Quality loss during ffmpeg transcode happens when re-encoding changes the video codec. To preserve quality, the preset workflows support remuxing to change containers without re-encoding, or using CRF-based quality targeting to minimize degradation.