Skip to content
Back to skills

Video Qa

ASecurity

Quality-check a rendered video before delivery - probe resolution, fps, duration, codecs, loudness and clipping, detect black frames and silence, build a contact sheet, and verify playback compatibility. Use after any render or export, or when the user says a video looks or sounds wrong.

  • 4 stars
  • 0 votes
  • 1 copy
  • 5 views
  • Added November 21, 2026
ai-agentspythonshellbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 21, 2026

npx -y skills add iamaanahmad/agents-video-editing-skills --skill video-qa --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Video Qa?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Video Qa
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iamaanahmad-video-qa/badge)](https://www.skillsdirectory.com/skills/iamaanahmad-video-qa)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: video-qa
description: Quality-check a rendered video before delivery - probe resolution, fps, duration, codecs, loudness and clipping, detect black frames and silence, build a contact sheet, and verify playback compatibility. Use after any render or export, or when the user says a video looks or sounds wrong.
---

# Video QA

Never deliver a file you have not inspected. A successful exit code is not proof.

## 1. Run the probe script

```bash
python scripts/probe.py out/final.mp4
python scripts/probe.py out/final.mp4 --expect-width 1920 --expect-height 1080 --expect-fps 30 --max-mb 50
```

It prints video and audio stream details, duration, size, and flags problems (odd dimensions, missing audio, non-`yuv420p`, no faststart hint, mismatches against expectations). Exit code is non-zero when a check fails.

## 2. Look at it

```bash
# Contact sheet: see the whole video at a glance
ffmpeg -i out/final.mp4 -vf "fps=1/5,scale=320:-1,tile=5x4" -frames:v 1 out/qa-sheet.jpg
```

View the sheet. Check for cut-off text, wrong frames, flashes, stretched aspect, and black ends.

## 3. Automated detectors

```bash
# Black frames (min 0.5 s)
ffmpeg -i out/final.mp4 -vf blackdetect=d=0.5:pix_th=0.10 -an -f null - 2>&1 | grep blackdetect

# Silence longer than 1.5 s
ffmpeg -i out/final.mp4 -af silencedetect=noise=-40dB:d=1.5 -vn -f null - 2>&1 | grep silence_

# Frozen video
ffmpeg -i out/final.mp4 -vf freezedetect=n=-60dB:d=2 -an -f null - 2>&1 | grep freeze

# Loudness and peaks
ffmpeg -i out/final.mp4 -af ebur128=peak=true -vn -f null - 2>&1 | tail -12
ffmpeg -i out/final.mp4 -af volumedetect -vn -f null - 2>&1 | grep -E "mean_volume|max_volume"
```

PowerShell: replace `grep X` with `Select-String X` (and merge stderr with `2>&1`).

## 4. Pass criteria

| Check | Pass |
|---|---|
| Container opens, duration matches plan (within 1 s) | yes |
| Resolution and aspect match the target platform | yes |
| fps constant and as planned | yes |
| Pixel format `yuv420p`, H.264 + AAC for broad playback | yes |
| Integrated loudness near target (-14 LUFS online) and true peak at most -1 dBTP | yes |
| No unintended black, silent or frozen sections | yes |
| Captions present where required and inside safe area | yes |
| Spelling of names, numbers, URLs verified | yes |
| File size under platform limit | yes |

## 5. Report

Tell the user: path, duration, resolution, fps, codecs, size, loudness, and anything you could not check (for example subjective pacing or whether music licensing is cleared). If a check failed, fix and re-run before sending.

## Common fixes

| Finding | Fix |
|---|---|
| Odd dimensions | `scale=trunc(iw/2)*2:trunc(ih/2)*2` |
| No audio track | Map the audio stream explicitly with `-map` |
| Won't stream in browser | `-movflags +faststart -pix_fmt yuv420p` |
| Too loud / clipping | `loudnorm` (see `audio-mixing`) |
| Variable frame rate | `-fps_mode cfr -r 30` |

Files in this skill

  • SKILL.md2.9 KB
  • scripts/probe.py5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.