← Back to Portfolio

Post-Production QC Bot — n8n Automation

Javascript Javascript
Node.js Node.js
n8n n8n
AI AI

What It Does

This n8n workflow runs comprehensive quality checks on video exports before they go to the media buying team or client. It validates resolution, aspect ratio, duration, audio levels, frame rate, file size, and codec compatibility against platform-specific specs for Meta, TikTok, and YouTube Shorts.

Key Features

  • Resolution Validation — Checks width/height against platform minimums (600px Meta, 540px TikTok, 720px YouTube Shorts)
  • Aspect Ratio Check — Validates 16:9, 9:16, 1:1, 4:5 against each platform’s accepted formats
  • Duration Limits — Flags videos exceeding platform maximums (240s Meta, 180s TikTok, 60s Shorts)
  • Audio Level Analysis — Detects mean volume, peak levels, and clipping using FFmpeg
  • Frame Rate Validation — Ensures FPS falls within platform-accepted ranges (24-60fps)
  • Codec Compatibility — Warns if codec is not h264/HEVC for maximum compatibility
  • QC Score — Calculates an overall quality score (0-100) based on checks passed
  • Pass/Fail Verdict — Clear PASS or FAIL with detailed issue list

Platforms Supported

Meta (Facebook/Instagram), TikTok, and YouTube Shorts — each with specific resolution, duration, aspect ratio, file size, and audio requirements.

How It Works

Webhook receives the video URL and target platforms. The workflow downloads the video, runs FFprobe to extract all technical metadata, analyzes audio levels with FFmpeg volumedetect, then validates every metric against each platform’s specs. Results are logged to Google Sheets and a formatted PASS/FAIL report is posted to Slack.

Tech Stack

n8n, FFmpeg, FFprobe, Google Sheets, Slack

View on GitHub →