refresh-ffmpeg-patches

Rebase an ffmpeg patch series onto upstream changes and regenerate clean patches.

3|1|Updated May 28, 2026
One-click install
npx skills add https://github.com/VMAFx/vmafx --skill refresh-ffmpeg-patches
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refresh-ffmpeg-patches
Source: https://github.com/VMAFx/vmafx/tree/main/.claude/skills/refresh-ffmpeg-patches
Command: npx skills add https://github.com/VMAFx/vmafx --skill refresh-ffmpeg-patches

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill keeps an ffmpeg patch series aligned with upstream changes, reducing the manual effort needed to rebase, refresh, and review patch drift after ffmpeg updates.

Core Features & Use Cases

  • Patch Rebase Automation: Applies each patch in the series against a chosen ffmpeg ref using a three-way merge workflow.
  • Conflict Triage: Detects failed patches, captures the conflicting hunks, and separates trivial conflicts from issues that need human review.
  • Patch Regeneration: Rebuilds cleanly rebased patches into a refreshed series so integration stays current.
  • Use Case: Run it after an upstream ffmpeg sync or when a build starts failing because a patch no longer applies cleanly.

Quick Start

Use the refresh-ffmpeg-patches skill to rebase the ffmpeg patch series onto the latest upstream ref and report any unresolved conflicts for review.

Frequently Asked Questions about refresh-ffmpeg-patches

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

FAQPage Schema
How do I rebase ffmpeg patches onto upstream changes after a sync?

To rebase ffmpeg patches onto upstream changes, the Skill applies each patch in the series against a chosen ffmpeg ref using a three-way merge workflow. This automates the patch rebase process to keep your integration current after updating upstream sources.

Why does my ffmpeg build fail when a patch no longer applies cleanly?

An ffmpeg build fails when a patch no longer applies cleanly due to upstream code drift causing patch application errors. This Skill detects failed patches, captures conflicting hunks, and separates trivial conflicts from issues requiring human review.

What is the best way to refresh a patch series after ffmpeg updates?

The best way to refresh a patch series after ffmpeg updates is to rebuild cleanly rebased patches into a refreshed series. This Skill regenerates patches after drift, ensuring your integration stays current and reducing manual review effort.

How does three-way patch application work for conflict resolution in ffmpeg?

Three-way patch application for conflict resolution in ffmpeg works by applying each patch against a chosen ref to merge changes. The Skill captures conflicting hunks and reports unresolved conflicts for review, separating trivial issues from complex ones.

Can I automate conflict triage for failed patches in an ffmpeg patch series?

You can automate conflict triage for failed patches in an ffmpeg patch series using this Skill. It detects failed patches, captures the conflicting hunks, and separates trivial conflicts from issues that need human review during upstream synchronization.

What should I do when a patch rebase leaves unresolved conflicts for review?

When a patch rebase leaves unresolved conflicts for review, you should manually resolve the issues flagged by the conflict triage. The Skill separates trivial conflicts from those needing human review and reports them for manual intervention.