- Home
- Skills
- Image & Video
- Media Preflight
Works with the AI Agents you already use
Media Preflight
by snepssen
Audit and repair audio/video files against ACX, EBU R128, and streaming specs using local ffmpeg analysis.
Free
Media Preflight
Example session with this skill installed
Check chapter_01.mp3 against the ACX spec. If it fails, show me the plan to fix it but don't write anything yet.
- Read your context and instructions
- Compiled the media preflight
Verdict: not ready for ACX
chapter_01.mp3 (40 s, MP3 192 kbps CBR, 44.1 kHz mono) would be rejected: 3 failed, 2 warned, 10 passed.
| Check | Measured | ACX requires | Status | Where |
|---|---|---|---|---|
| RMS level | -31.33 dBFS | -23 to -18 dBFS | ✕ Fail | whole file |
| Peak level | -0.69 dBFS | ≤ -3 dBFS | ✕ Fail | 00:12 |
| Noise floor | -29.52 dBFS RMS | ≤ -60 dBFS RMS | ✕ Fail | whole file |
| Opening room tone | 0 s | 1 to 5 s | ⚠ Warn | head |
| Closing room tone | 0 s | 1 to 5 s | ⚠ Warn | tail |
Why these numbers: ACX specifies
RMS, not LUFS, so level is measured as RMS. Room tone is an ACX recommendation ("between 1 and 5 seconds"), which is why it warns rather than fails.
Proposed fix (nothing written yet)
1. Add 1.5 s of digital silence to the head
2. Add 3 s of digital silence to the tail
3. Apply +10.83 dB gain (-31.33 → about -20.50 dBFS)
4. Limit peaks to -4.1 dBFS (1 dB headroom for the MP3 encode)
5. Re-encode as MP3, matching the source
Output: chapter_01.preflight.mp3 Source: unchanged
Caveats the tool raises
- The file has no quiet stretch to copy as room tone, so the head/tail are
digital silence. ACX asks for real room tone.
- +10.8 dB would push the 00:12 peak 10 dB past full scale, so the limiter does a lot of work. Listen to the result.
- Not corrected: noise floor (30 dB over the ceiling). No denoiser is run, because that changes the recording. Treat the room or re-record.
Next steps
- Listen to 00:12. A peak that loud on narration is usually a plosive or a bump.
- Say "apply the fix" to write the copy. It is measured again from scratch, and that new report is what you get.
- The noise floor will still fail. Re-record in a treated room before submitting.
Connects securely to your tools. The creator never sees your data.
About this skill
Media delivery often fails due to technical non-compliance, resulting in rejected audiobooks, broadcast flags, or platform down-ranking. This skill automates the inspection of finished audio and video files against industry-standard specifications using local tools.
What it does
- Standardized inspection Measures files against ACX, EBU R128, YouTube, Spotify, and broadcast specs.
- Fault detection Identifies clipping, DC offset, dead channels, and black frames.
- Loudness analysis Reports integrated LUFS, RMS, true peak, and noise floor levels.
- Caption auditing Validates subtitle reading speed, line length, and cue timing.
- Safe correction Generates ffmpeg commands to fix gain or padding without modifying the source.
How it works
- Identify target Select a profile like
acxorebu_r128based on the delivery destination. - Run preflight Execute the check command to generate a pass/fail report with specific timestamps for every violation.
- Review findings Analyze the plain-English verdict, comparing actual measurements against target requirements.
- Execute fixes Preview a corrective plan before running a non-destructive repair that creates a compliant copy.
Frameworks & tools
This skill runs locally using Python 3.10 and requires ffmpeg and ffprobe installed on the system path. It utilizes standard ffmpeg filters including loudnorm, astats, silencedetect, and blackdetect.
Why this beats prompting it yourself
Generic prompts often guess at loudness standards or hallucinate ffmpeg flags that do not exist. This skill uses a hardened codebase and precise platform profiles to ensure measurements are technically accurate and reproducible.
Use cases
- Validating audiobook chapters for ACX submission to prevent manual rejection.
- Checking broadcast masters for EBU R128 compliance before transmission.
- Auditing subtitle files for readability and timing constraints.
- Batch inspecting social media exports for silence or video artifacts.
Known limitations
Does not perform noise reduction, de-clicking, or generative audio repair. Flashing-light checks are heuristics and do not constitute official photosensitivity clearance.
How to use
- 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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
Trust & safety
Security scan
Security scan passed 15 days ago
- Free with an Agensi account
Mac only
- Software
Python 3.10+FFmpegffprobe
Runs on macOS, Windows and Linux. Install ffmpeg with brew install ffmpeg, winget install -e --id Gyan.FFmpeg, or your Linux package manager.
Permissions
Terminal: runs the bundled Python CLI, which calls ffmpeg and ffprobe. Read files: the media and caption files you point it at. Write files: only when you ask for a fix, a corrected copy beside the source (<name>.preflight.<ext>) or optional JSON/Markdown reports. The source file is never modified. Environment variables: only optional path overrides (MEDIA_PREFLIGHT_FFMPEG, MEDIA_PREFLIGHT_FFPROBE, MEDIA_PREFLIGHT_CONFIG) and standard config-directory variables. No API keys, and no network access.
What's inside
Frequently Asked Questions
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.