More screenshots

    Works with the AI Agents you already use

    Motion Preflight QA: Reels Safe-Area and FFmpeg Audit

    by Srinath Nanda Kumar

    1

    QuickTime and iOS turn yuv444p files into solid black screens.

    Free

    Security scanned
    Motion Preflight QA: Reels Safe-Area and FFmpeg Audit

    Motion Preflight QA: Reels Safe-Area and FFmpeg Audit

    Example session with this skill installed

    Audit renders/launch_reel_v1.mp4 for Instagram Reels, generate a safe-zone proof contact sheet so I can check if any text sits under the Reels UI, and master a clean delivery MP4 if anything fails.

    • Read your context and instructions
    • Compiled the motion preflight qa
    • Generated the document

    Ran Motion Preflight QA on renders/launch_reel_v1.mp4 for Instagram Reels (9:16).

    1. Initial 8-Gate Audit: FAIL (50/100)

    GateStatusDetails
    CodecPASSh264
    Pixel FormatFAILyuv444p breaks playback on Safari, QuickTime, and iOS
    Faststart (moov atom)WARNmoov sits at end of file (delays mobile start)
    Resolution and AspectPASS1080x1920 matches 9:16
    Frame RatePASS30.0 fps constant cadence
    Hook Black-Frame ScanPASSNo black intro frames detected
    Audio Loudness (EBU R128)WARNMeasured -49.8 LUFS (target -14 LUFS)
    File Size BudgetPASS5.51 MB for 4.00s

    2. Delivery Master (scripts/fix_delivery.py)

    Re-encoded renders/launch_reel_master.mp4 with H.264 yuv420p, +faststart, and two-pass EBU R128 loudness normalization:

    • Audit score moved from 50/100 (FAIL) to 100/100 (PASS)
    • Pixel format switched from yuv444p to yuv420p
    • Faststart changed from false to true
    • Loudness normalized from -49.8 LUFS to -14.0 LUFS (true peak -9.5 dBTP)
    • File size dropped from 5.51 MB to 3.86 MB

    3. Safe-Zone Contact Sheet (qa_contact_sheet.png)

    Generated a 6-frame Reels overlay sheet sampling 0.40s, 0.80s, 1.60s, 2.40s, 3.20s, and 3.70s. The green title-safe box covers x: 54 px, y: 269 px, 853 x 1229 px (clearing top 14%, bottom 22%, and right 16%). All headlines and the CTA stay inside the safe border.

    qa_contact_sheet.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Headless video renders often look crisp in Chrome and then fail the moment you upload them to a phone. QuickTime and iOS turn yuv444p files into solid black screens. Instagram Reels covers text behind the right-side action buttons and bottom caption bar. Unmastered audio drops too quiet or clips when social platforms re-encode it.

    Motion Preflight QA gives your coding agent three local Python and FFmpeg scripts to check and fix those delivery problems before you publish.

    What the scripts do

    scripts/audit_video.py inspects any MP4 or MOV through eight technical checks and prints a 0 to 100 scorecard. It checks codec support, catches non-yuv420p pixel formats, reads top-level MP4 boxes to confirm moov sits ahead of mdat for faststart playback, verifies resolution and frame-rate cadence, scans for accidental black intro frames longer than 0.25s, measures EBU R128 loudness and true peak, and flags oversized grain-heavy exports.

    scripts/safe_zone_overlay.py pulls six timestamps (0.4s hook, 20%, 40%, 60%, 80%, and the closing CTA frame) and draws translucent hazard boxes over the UI chrome for Instagram Reels, TikTok, YouTube Shorts, LinkedIn, square feeds, or 16:9 widescreen. It stitches all six frames into one qa_contact_sheet.png so you or a vision-capable agent can verify clearance in seconds.

    scripts/fix_delivery.py re-encodes to H.264 yuv420p with +faststart, applies two-pass EBU R128 loudness normalization to -14.0 LUFS and -1.0 dBTP, trims oversized files with configurable CRF, and prints the before and after scores.

    Local test result

    On a 4-second synthetic 1080x1920 test render (yuv444p, no faststart, -49.8 LUFS, 5.51 MB), audit_video.py scored 50/100 (FAIL). After running fix_delivery.py, the file passed at 100/100 (yuv420p, faststart: true, -14.0 LUFS, 3.86 MB).

    Everything uses Python 3 standard library plus local FFmpeg and FFprobe. No pip packages, no API keys, and no files leave your machine. Released under the MIT license.

    Safe-zone checking is visual: the script burns platform UI boxes onto a 6-frame contact sheet PNG so you or a vision model can inspect clearance. It does not edit source HTML or Remotion timelines directly.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    No. All three scripts rely only on the Python 3 standard library plus local ffmpeg and ffprobe. Nothing gets uploaded anywhere.

    Yes. It audits and masters any standard MP4 or MOV file regardless of which tool rendered it.

    Headless browser captures often default to yuv444p, which renders as a black screen in QuickTime, Safari, and Instagram on iOS. fix_delivery.py converts cleanly to yuv420p.

    New in Image & Video

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Video Skills.

    Free