Media qc delivery

From calesthio/generative-media-skills · View interactive version

Media qc delivery is an AI agent skill from the GitHub repository calesthio/generative-media-skills. Provider-independent media quality control and delivery direction for generated images, video, audio, ads, product content, social clips, broadcast and streaming assets, localization packages, and mixed-source edits. Use when an agent must define final export specs, inspect technical and perceptual

How to use this skill

Skill file

Media QC and delivery

Use this skill at the finish line of media production: after creative approval or near-final assembly, before the files are sent to a client, platform, publisher, broadcaster, streamer, localization vendor, or ad operations team.

Do not invent universal export specs. Delivery is governed in this order:

  1. The signed client/platform/broadcaster delivery specification.
  2. The campaign media plan, insertion order, distribution platform, or localization brief.
  3. Official public platform specs verified for the current date.
  4. A conservative house mezzanine plus platform-ready derivatives, clearly labeled as a production heuristic.

If the destination is unknown, ask for it. If the user needs a fast default, deliver a high-quality mezzanine plus common web/social derivatives and state that the package is provisional until the destination spec is confirmed.

Evidence labels to use in every QC decision

Separate the basis for each QC call:

Example evidence language:

Documented fact: YouTube upload guidance, verified 2026-07-10, recommends uploading at the same frame rate as recorded and lists H.264 High Profile, progressive scan, CABAC, closed GOP, variable bitrate, 4:2:0 chroma subsampling, and audio codec options including AAC-LC, Opus, or Eclipsa for upload encodes.

Empirical observation: ffprobe reports the delivered file is 29.97 fps CFR; visual review shows no cadence judder in the 00:00:07-00:00:12 pan.

Production heuristic: For an unspecified 1080p web review file, H.264 MP4 with AAC-LC stereo at 48 kHz is a low-friction review encode, but it is not a broadcast master.

Delivery triage

Before exporting or judging a file, write a delivery intent in plain language:

High-risk deliveries require a second human or independent automated QC pass. Generated-media deliveries require an explicit provenance and rights pass even when the technical file is clean.

Source-of-truth facts to keep in mind

Use these as anchors, not as a replacement for the current destination spec.

Documented facts

Empirical observations worth recording

Record empirical evidence when it affects acceptance:

Production heuristics when no spec exists

Use these only after labeling them as defaults:

QC workflow

1. Intake and spec lock

Create a short delivery sheet before export:

| Field | Required entry |

|---|---|

| Project / campaign | Human-readable title |

| Delivery ID | Unique package or work order ID |

| Destination | Platform, client, vendor, broadcaster, streamer, ad network |

| Deliverable role | Master, upload, proxy, captions, stems, localization, source package |

| Spec authority | URL, PDF, contract section, or "house heuristic" |

| Verified date | Required for public platform specs |

| Technical specs | Container, codec, raster, aspect, fps, color, audio, captions |

| Versions | Language, market, cutdown, aspect ratio, revision |

| Rights/provenance requirements | Licenses, releases, AI disclosure, C2PA/metadata, asset ledger |

| Acceptance owner | Person or team that can approve/reject |

Block delivery if the sheet lacks destination, deliverable role, or authority for a paid/public/high-risk delivery.

2. Pre-export timeline checks

Check the timeline before rendering:

3. Export

For each file, state why the export settings match the destination. A useful export note includes:

Never rename an old file to simulate a new export. Re-export or copy with a new checksum and manifest entry.

4. Automated technical inspection

Use available tools proportionate to risk. Common local checks:

ffprobe -hide_banner -show_format -show_streams -print_format json "deliverable.mp4"
ffmpeg -hide_banner -i "deliverable.mp4" -filter_complex ebur128=peak=true -f null -
ffmpeg -hide_banner -i "deliverable.mp4" -vf blackdetect=d=0.5:pic_th=0.98 -an -f null -
ffmpeg -hide_banner -i "deliverable.mp4" -af astats=metadata=1:reset=1 -f null -

Use the output to verify, not merely to decorate notes. Flag mismatches between target specs and actual stream properties: wrong raster, wrong frame rate, interlacing, unexpected variable frame rate, wrong channel count, missing audio, wrong sample rate, wrong color tags, missing timecode, extreme bitrate, or unexpected duration.

For high-risk broadcast/streamer/ad trafficking, use the client's required automated QC tool or vendor portal when available. If the required tool is unavailable, note that the pass is preliminary.

5. Perceptual review

Watch the final exported file, not only the timeline. For short assets, review the whole file. For long assets, review the whole program when risk is high; otherwise do structured spot checks plus all transitions, all generated shots, all title/legal cards, first/last 30 seconds, and all known trouble timecodes.

Check:

6. Acceptance, rejection, and waiver rules

Reject or hold delivery for:

Allow with written waiver only when:

Never waive missing rights, missing required accessibility deliverables, or an unplayable/corrupt master without explicit written authority.

Delivery sheets

Maintain a delivery sheet that a different agent or human can use to reconstruct the package. Minimum columns:

package_id
asset_id
filename
version
status
destination
deliverable_role
language_locale
market
duration
aspect_ratio
resolution
frame_rate
container
video_codec
audio_codec
audio_channels
loudness_target
measured_loudness
true_peak
caption_files
color_space
source_master
export_tool
checksum_sha256
rights_status
provenance_status
qc_result
qc_notes
approved_by
delivery_date

Use status values such as ready, hold, rejected, waived, delivered, and superseded. Avoid ambiguous values like final_final.

Filenames and versions

Use filenames that survive handoff without the folder context:

<project>_<deliverable>_<market-or-locale>_<aspect>_<duration>_<spec-or-platform>_<version>_<date>.<ext>

Example:

orchid-launch_paid-social_en-US_9x16_15s_tiktok-infeed_v03_20260710.mp4
orchid-launch_captions_en-US_9x16_15s_tiktok-infeed_v03_20260710.vtt
orchid-launch_mezzanine_en-US_16x9_30s_prores422hq_v03_20260710.mov

Versioning rules:

Checksums, manifests, and package structure

For any non-trivial handoff, create a package manifest. For high-risk or archival transfer, use a BagIt-like structure or the client's package format.

Example package:

orchid-launch_delivery_v03_20260710/
  manifest-sha256.txt
  delivery-sheet.csv
  delivery-notes.md
  masters/
    orchid-launch_mezzanine_en-US_16x9_30s_prores422hq_v03_20260710.mov
  platform/
    orchid-launch_paid-social_en-US_9x16_15s_tiktok-infeed_v03_20260710.mp4
    orchid-launch_paid-social_en-US_1x1_15s_meta-feed_v03_20260710.mp4
  captions/
    orchid-launch_captions_en-US_9x16_15s_tiktok-infeed_v03_20260710.vtt
  rights/
    asset-ledger.csv
    music-license.pdf

Generate SHA-256 checksums after final files are in their delivery locations. Use GNU-style manifest lines with exactly two spaces between the checksum and a package-relative POSIX path:

sha256sum platform/*.mp4 captions/*.vtt masters/*.mov > manifest-sha256.txt

On Windows PowerShell:

Get-ChildItem -Recurse -File | Where-Object { $_.Name -ne "manifest-sha256.txt" } |
  ForEach-Object {
    $relative = Resolve-Path -LiteralPath $_.FullName -Relative
    "$((Get-FileHash -Algorithm SHA256 -LiteralPath $_.FullName).Hash.ToLower())  $($relative.TrimStart('.\').Replace('\', '/'))"
  } |
  Set-Content manifest-sha256.txt

When this skill package includes scripts/verify_manifest.py, use it as a deterministic fixity and completeness check before delivery:

python scripts/verify_manifest.py orchid-launch_delivery_v03_20260710 manifest-sha256.txt --require-all-files

The verifier accepts a package root and a SHA-256 manifest path, absolute or relative to that root. It rejects malformed lines, duplicate entries, absolute paths, traversal, paths outside the root, symlink escapes, non-regular manifest entries, and manifest self-inclusion. It hashes files as byte streams and emits stable JSON with verified, failures, and unlisted arrays. The script refuses symlink manifest paths and uses no-follow regular-file opens where the platform supports them; on platforms without no-follow open support, a malicious same-host actor with write access to the package directory could still race a file between validation and read, so run it on a stable package tree. Exit code 0 means all listed files verified; 2 means verification failed because files are missing, mismatched, unlisted under --require-all-files, or otherwise not acceptable payload files; 3 means the manifest or invocation could not be parsed or operated safely.

Do not treat checksum verification as creative, legal, accessibility, policy, or QC approval. The tool proves only that the files under the package root match the manifest and, with --require-all-files, that regular payload files were not silently omitted from the manifest. Rights, provenance, captions, loudness, playback, perceptual defects, and destination-spec conformance still require the QC workflow above.

After upload or copy, re-download or re-read the receiver-side file when possible and compare checksums. If the platform transcodes on ingest, verify ingest status and inspect the platform's playback/transcode output instead of expecting the same checksum.

Delivery notes

Every final package should include concise delivery notes, either in the email/portal message or as a file:

Project:
Package ID:
Delivered on:
Spec authority and verification date:
Files included:
Checksums:
QC summary:
Known waivers or limitations:
Rights/provenance summary:
Accessibility deliverables:
Contact / next action:

Good notes make hidden assumptions visible. Bad notes say only "attached final."

Common deliverable profiles

Social and paid ads

Check the specific placement, not only the platform brand. A Reels/Stories-style vertical asset, Facebook Feed asset, TikTok In-Feed ad, YouTube in-stream ad, YouTube Shorts upload, Google Performance Max asset, and CTV VAST asset can all have different safe zones, durations, aspect ratios, file-size limits, captions, and policy constraints.

QC emphasis:

Product/ecommerce content

QC emphasis:

Broadcast and streamer delivery

Do not infer these specs. Broadcast/streamer delivery often involves MXF, IMF, AS-11, ProRes, WAV stems, timed text, slate, timecode, bars/tone, act breaks, audio channel order, language metadata, and formal automated QC.

QC emphasis:

Localization packages

QC emphasis:

Mixed-source edits

QC emphasis:

Complete examples

Example: paid social launch pack

Intent: Deliver three approved variants of a 15-second AI-assisted product launch ad for TikTok In-Feed, Meta Feed, and YouTube Shorts.

Authority: TikTok Ads Manager in-feed specs verified 2026-07-10; Meta placement specs verified 2026-07-10; YouTube upload guidance verified 2026-07-10; client media plan for exact durations and copy.

Delivery plan:

Master:
  orchard-watch_mezzanine_en-US_16x9_15s_prores422hq_v04_20260710.mov
Platform:
  orchard-watch_paid-social_en-US_9x16_15s_tiktok-infeed_v04_20260710.mp4
  orchard-watch_paid-social_en-US_4x5_15s_meta-feed_v04_20260710.mp4
  orchard-watch_paid-social_en-US_9x16_15s_youtube-shorts_v04_20260710.mp4
Captions:
  orchard-watch_captions_en-US_9x16_15s_tiktok-infeed_v04_20260710.srt
  orchard-watch_captions_en-US_4x5_15s_meta-feed_v04_20260710.srt
Manifest:
  manifest-sha256.txt
  delivery-sheet.csv
  delivery-notes.md

QC decisions:

Delivery note excerpt:

QC summary: Passed technical and perceptual QC on 2026-07-10. TikTok public specs checked the same day; Meta and YouTube specs are placement-dependent and were checked against the media plan. Known limitation: generated lifestyle background is synthetic; product packshot and claims are client-approved. Rights ledger included.

Example: streamer localization handoff

Intent: Prepare a final locked episode package for a localization vendor creating subtitles and dubbed audio in three languages.

Authority: Client localization brief and streamer delivery guide; public SMPTE IMF information used only as background.

Delivery plan:

QC decisions:

Example: client archive package for generated campaign assets

Intent: Handoff final campaign files and provenance records for client DAM/archive.

Authority: Client DAM naming convention; BagIt/RFC 8493 used as a packaging model; SHA-256 selected as a house heuristic because the client did not mandate a hash algorithm.

Delivery plan:

data/
  final-images/
  final-video/
  captions/
  audio/
  source-prompts-approved/
  rights/
manifest-sha256.txt
delivery-sheet.csv
bag-info.txt
delivery-notes.md

QC decisions:

Source notes

These sources informed the guidance above. Volatile public platform facts were checked on 2026-07-10:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.