konradre/video-production-skills / skills/video-finish-qc
video-finish-qc
VerifiedRuns the FINISH of a whole spot from its EDL — part of every video job; a builder's render before it is PRE-FINISH — and the QC of the delivered master: the per-shot upscale tier (after approval and a cost line), the per-shot normalise, the hero pass, the three-stage finish (graded cut, master, deliverable), the finals run, and the one-pass QC (duration, loudness, true peak, cuts, take-cut leaks, VO placement, the finish against the previous version). Use when approved keepers must be upscaled, shots normalised, a hero pass is due, a spot must be rendered from its EDL, finals are requested, or a delivered file must be verified or sent. Triggers — "upscale the keepers", "run the hero pass", "normalise the shots", "apply the ads look", "has it been finished", "render the spot", "finish it", "final renders", "QC the deliverable", "rogue frames", "is the loudness right", "send me the 1080p", "starlight on the wides". Not for the per-clip ordering doctrine — use video-finish. Not for the cut or the beat gate — use video-edit-edl. Not for voicing or sourcing the sound — use spot-audio-assembly. Not for LUFS mastering of a standalone mix — use mastering-audio.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 32.3 KB |
| references/FAQ.md | markdown | 3.4 KB |
| references/PIPELINE.md | markdown | 13.7 KB |
| references/QC.md | markdown | 26.4 KB |
| scripts/aac_packet_clock.pyexecutable | script | 7.8 KB |
| scripts/decoded_checks.py | script | 65.1 KB |
| scripts/final_renders.shexecutable | script | 1.9 KB |
| scripts/finish_clip.pyexecutable | script | 11.9 KB |
| scripts/finish_spot.pyexecutable | script | 41.0 KB |
| scripts/hero_distinct.pyexecutable | script | 2.1 KB |
| scripts/hero_pass.shexecutable | script | 3.8 KB |
| scripts/look_sheet.py | script | 9.7 KB |
| scripts/matrix_check.pyexecutable | script | 23.6 KB |
| scripts/normalise_shots.pyexecutable | script | 18.9 KB |
| scripts/phone_texture_probe.py | script | 7.0 KB |
| scripts/qc_deliverable.pyexecutable | script | 61.8 KB |
| scripts/upscale_fal_topaz.pyexecutable | script | 8.5 KB |
| scripts/upscale_local.shexecutable | script | 3.4 KB |
scripts/hero_distinct.py
View on GitHub#!/usr/bin/env python3
"""hero_distinct.py — are these hero renders actually different clips? DNxHR/ProRes intermediates of equal frame count
have IDENTICAL byte sizes, so a size listing cannot tell a fresh render from a stale one served from a cached media-pool
path. Each file's first, middle and last frames are hashed (raw grey pixels) and identical frame-hash triples are
reported as duplicates; frame counts and rasters are printed beside them. Self-test: a file against itself must read as
identical, or nothing else is printed.
hero_distinct.py edit/hero/a.mov edit/hero/b.mov …
"""
import argparse, hashlib, json, subprocess, sys
def info(p):
o = json.loads(subprocess.run(['ffprobe', '-v', 'error', '-select_streams', 'v:0', '-count_frames', '-show_entries', 'stream=nb_read_frames,width,height,pix_fmt', '-of', 'json', p], capture_output=True, text=True).stdout)['streams'][0]
return int(o.get('nb_read_frames') or 0), o.get('width'), o.get('height'), o.get('pix_fmt')
def fhash(p, idx):
raw = subprocess.run(['ffmpeg', '-v', 'error', '-i', p, '-vf', f"select='eq(n\\,{idx})',scale=64:64,format=gray", '-frames:v', '1', '-f', 'rawvideo', '-'], capture_output=True).stdout
return hashlib.md5(raw).hexdigest()[:10]
def triple(p, n): return tuple(fhash(p, i) for i in (0, n // 2, max(0, n - 1)))
def main():
ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter); ap.add_argument('files', nargs='+'); a = ap.parse_args()
n0 = info(a.files[0])[0]
if triple(a.files[0], n0) != triple(a.files[0], n0): sys.exit('SELF-TEST FAILED: a file did not match itself; the instrument is broken')
print(f'self-test ok: {a.files[0]} matches itself')
seen = {}; dup = 0
for p in a.files:
n, w, h, pf = info(p); t = triple(p, n); key = (n, t)
flag = f' DUPLICATE of {seen[key]}' if key in seen else ''; dup += bool(flag); seen.setdefault(key, p)
print(f'{p}: {n} frames {w}x{h} {pf} hashes {"/".join(t)}{flag}')
print(f'{dup} duplicate(s) among {len(a.files)} file(s)'); sys.exit(1 if dup else 0)
if __name__ == '__main__':
main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |