Kein-chronicle

Ffmpeg Video QA Gates — Testing skill for Claude Code

Testing community

Machine QA for short videos with ffmpeg: frozen frames, dead air, loudness, true peak, size, a busy opening, and readable subtitle timing.

How to install Ffmpeg Video QA Gates

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Kein-chronicle/ffmpeg-video-qa-gates and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ffmpeg Video QA Gates does

Machine QA for short videos with ffmpeg: frozen frames, dead air, loudness, true peak, size, a busy opening, and readable subtitle timing.

Alternatives in Testing

  • PR Visual Diff — Post before/after stills + GIFs on a visual PR, captured headlessly with Playwright + ffmpeg 324 ★
  • N9e Config Driven E2e — Maintain config-driven Nightingale E2E tests that convert JSON config data into UI-readable normalized values 301 ★
  • Claude Code Video Toolkit — AI-native video production workspace for Claude Code with Remotion, ElevenLabs, FFmpeg, and Playwright skills 133 ★

README

ffmpeg-video-qa-gates

**Machine QA for short videos with ffmpeg: frozen frames, dead air, loudness, true peak, size, a busy opening, and readable subtitle timing.**

[![test](https://github.com/Kein-chronicle/ffmpeg-video-qa-gates/actions/workflows/test.yml/badge.svg)](https://github.com/Kein-chronicle/ffmpeg-video-qa-gates/actions/workflows/test.yml) ![license](https://img.shields.io/badge/license-MIT-blue.svg)

Why

AI-generated videos fail in ways nobody looks for until upload: a six-second still frame, a silent middle, audio at the wrong level. These gates measure it and exit non-zero.

Install

**As a Claude Code skill** (Claude uses it when the task matches the skill description):

git clone https://github.com/Kein-chronicle/ffmpeg-video-qa-gates.git ~/.claude/skills/video-qa-gates

For a single project, clone into `/.claude/skills/video-qa-gates` instead, then start a new Claude Code session.

**As plain scripts:**

git clone https://github.com/Kein-chronicle/ffmpeg-video-qa-gates.git
cd ffmpeg-video-qa-gates

**Requires:** Python 3.10+, ffmpeg, Pillow.

Use the security-patched Pillow runtime:

python3 -m pip install -r requirements.txt

Quick start

Generate test clips and run the gates:

$ bash examples/demo.sh
# Test clips are generated with ffmpeg (a real clip, one with a 6 s frozen picture, one with no audio track)
$ python3 scripts/qa_video.py .demo-tmp/good.mp4
[PASS] has-audio: audio stream present
[PASS] no-long-freeze: longest near-still stretch 0.00s (limit 4.0s)
[PASS] no-dead-air: 0 silent segment(s) (>=0.3s below -50 dB)
[PASS] loudness: -13.8 LUFS (target -14.0+-1.5)
[PASS] true-peak: -9.0 dBFS (limit -1.0)
all measured checks pass
[exit 0]

$ python3 scripts/qa_video.py .demo-tmp/frozen.mp4
[PASS] has-audio: audio stream present
[FAIL] no-long-freeze: longest near-still stretch 6.00s (limit 4.0s)
[PASS] no-dead-air: 0 silent segment(s) (>=0.3s below -50 dB)
[PASS] loudness: -13.8 L