Skip to content
FramesField
Intermediate Light CLI / Copy-Paste Script
Verified Dec 1, 2026

AI Video Color Match, Film Grain and Master Export

What you’ll make

A finished 1080p 24fps H.264/yuv420p broadcast-ready MP4 master with matched color, unified 35mm film grain, crisp static PNG end-card, and -14 LUFS audio.

Turn mismatched raw clips from Google Gemini Omni Flash, Kling 4.0, Runway Gen-4 Turbo, and Alibaba Wan 2.2 into one cohesive commercial master for $0 extra API cost: conform every clip to uniform 24fps 1080p, neutralize exposure/saturation cast, apply unified 35mm temporal film grain (noise=alls=7:allf=t+u), append a sharp static PNG end-card, and normalize audio to -14 LUFS.

Before you start
  • 3–6 finished raw AI video clips exported from Gemini Omni Flash, Kling 4.0, Runway Gen-4 Turbo, or Wan 2.2.
  • Free DaVinci Resolve (desktop GUI) OR local ffmpeg installed (tested live on FFmpeg 9.0.1).
  • One crisp static 1920x1080 PNG brand end-card (created in Figma or Ideogram/Recraft).
Estimated cost
$0 extra API spend (local finishing)
Time needed
15 – 20 min
Jump to section (5)
  1. 01Why 15 minutes of finishing outperforms 10 extra video retries
  2. 02Step 1: Trim temporal drift and conform frame rates cleanly
  3. 03Step 2: Balance primary contrast before applying any shared look
  4. 04Step 3: Add temporal 35mm grain and crisp static overlays
  5. 05Step 4: Inspect final delivery compliance
Step-by-step overview
SIGNAL PATH READY Click any node or press “Step Through” to trace data flow from input plate to final deliverable.
01–04
5-Stage Multi-Model Video Conform, Temporal Grain & -14 LUFS Master Chain
Official Demo · Privacy-Enhanced Player (Zero Cookies Until Click)

5-Stage Multi-Model Video Conform, Temporal Grain & -14 LUFS Master Chain

Blackmagic Design (Official Demo) · youtube-nocookie.com
Frame 01 01 · CONFORM
24fps Canvas Lock
1920x1080 · 24.000 fps CFR

Normalize mixed 720p/1080p clips and trim 6–12 unstable head/tail frames cleanly.

Frame 02 02 · GRAIN
Shared Look + 35mm Grain
eq + noise=alls=7:allf=t+u

Replace mismatched AI micro-textures with one subtle temporal film grain emulsion.

Frame 03 03 · MASTER
End-Card + -14 LUFS
H.264 yuv420p · +faststart

Append static PNG end-card with apad protection and verify Safari/YouTube playback.

Applying one shared Rec.709 tone pass plus temporal 35mm film grain across mixed Gemini Omni Flash, Kling, Runway, and Wan cuts removes plastic diffusion sheen.

Source: Blackmagic Design (Official Demo) Model: FFMPEG / DAVINCI RESOLVE + MIXED VIDEO APIS Verified Dec 1, 2026
Original source ↗

Why 15 minutes of finishing outperforms 10 extra video retries

Creators regularly burn $10–$20 re-rolling AI video clips hoping two different models magically match in contrast and saturation. Even inside a single model family, cutting from a sunlit wide shot to an interior macro introduces tiny exposure and sharpness discrepancies.

Treating raw AI renders as camera originals rather than finished deliverables flips the math completely. Using free DaVinci Resolve or the single-pass FFmpeg master script below costs $0 in API credits and binds mixed footage from Google Gemini Omni Flash, Kling 4.0, Runway Gen-4 Turbo, and Alibaba Wan 2.2—or any other generator such as ByteDance Seedance 2.5, MiniMax H3, PixVerse V6, Pika H3 Flex, or Vidu Q4—into one cohesive film look.

Step 1: Trim temporal drift and conform frame rates cleanly

Before touching color, fix cadence and duration flaws that immediately betray AI origin:

  • Lock every sequence to constant 24.000 fps (fps=24)—mixing 30fps and 24fps clips causes visible judder on smooth pans.
  • Do not assume a source frame rate. Gemini Omni Flash and Runway Gen-4 Turbo list 24 fps, but the Kling 4.0 resellers do not state one, so run ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate,width,height -of csv=p=0 clip.mp4 on each clip before you conform.
  • Trim the first 4–8 frames whenever a model pauses slightly before camera motion starts, and trim the tail 10–18 frames before subtle object morphing creeps in.
  • Keep intermediate cuts in high-bitrate ProRes or CRF 16 until final export so you never compound compression artifacts.

Step 2: Balance primary contrast before applying any shared look

Clips from different generators rarely share the same contrast, saturation, and midtone balance, and native resolution differs too: Gemini Omni Flash and Runway Gen-4 Turbo render at 720p natively (Gemini’s 1080p is an upscale), so judge each clip on scopes instead of by eye. Pull overly saturated clips back by -5% (saturation=0.95) and align shadow floors on scopes first. Once clips sit neutrally side-by-side, apply one restrained shared curve across the whole timeline.

Step 3: Add temporal 35mm grain and crisp static overlays

Execute finish-ai-video-master.sh from the copy box below (tested live on FFmpeg 9.0.1). The noise=alls=7:allf=t+u filter overlays fine temporal cinema grain across every frame while scale=...:flags=lanczos keeps 720p upscales crisp without ringing.

Whenever your edit needs speaker titles, callout bars, or a 4-second logo end-card, composite razor-sharp static PNGs rather than prompting titles inside video models—follow Skill 38: FFmpeg Motion Titles and Safe End-Card Skill.

Step 4: Inspect final delivery compliance

Always run ffprobe (or delegate the rendered .mp4 to Skill 11: Video Delivery QC Subagent) to confirm h264, yuv420p, 24/1, 48000 Hz stereo AAC, and -14 LUFS. Dive deeper into codecs, ProRes archives, and Remotion batch motion graphics in Guide 11: AI Video Post-Production: Grading, VFX and Motion.

Copy-paste template

Verified One-Pass FFmpeg Color Match, 35mm Grain & -14 LUFS Conform Script finish-ai-video-master.sh
Normalizes any raw mixed-model AI clip to 1920x1080 24fps with subtle Rec.709 contrast balance, unified temporal 35mm film grain (noise=alls=7:allf=t+u), fade-in/out, and Safari-safe H.264 yuv420p encoding.
#!/usr/bin/env bash
set -euo pipefail

# Usage: ./finish-ai-video-master.sh joined_cut.mp4 final_master.mp4
IN="${1:?Provide joined input MP4}"
OUT="${2:-final_master.mp4}"

# Verify duration for clean 0.35s tail fade
DUR=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$IN")
FADE_OUT=$(awk -v d="$DUR" 'BEGIN { printf "%.2f", (d > 0.5 ? d - 0.35 : 0) }')

# Single-pass Rec.709 neutral tone pull + temporal 35mm grain + -14 LUFS loudness
ffmpeg -y -i "$IN" \
  -vf "scale=1920:1080:force_original_aspect_ratio=increase:flags=lanczos,crop=1920:1080,fps=24,eq=contrast=1.04:saturation=0.95:brightness=-0.01,noise=alls=7:allf=t+u,fade=t=in:st=0:d=0.25,fade=t=out:st=${FADE_OUT}:d=0.35" \
  -af "loudnorm=I=-14:TP=-1.0:LRA=7" \
  -c:v libx264 -crf 18 -preset slow -pix_fmt yuv420p -movflags +faststart \
  -c:a aac -b:a 192k -ar 48000 \
  "$OUT"

echo "Master complete: $OUT"
ffprobe -v error -select_streams v:0 -show_entries stream=codec_name,pix_fmt,width,height,r_frame_rate -of csv=p=0 "$OUT"

Helpful prompts & skills for this workflow

Frequently Asked Questions

Why apply temporal film grain AFTER joining clips rather than per clip?
Applying grain globally across the assembled timeline gives every generator—whether 720p Runway Gen-4 Turbo or upscaled 1080p Gemini Omni Flash—an identical photographic emulsion density and continuous temporal motion, hiding texture mismatches immediately.
What does noise=alls=7:allf=t+u do in FFmpeg?
alls=7 adds conservative level-7 luma/chroma grain (subtle enough to look like fine 35mm cinema stock without turning muddy), while allf=t+u generates temporally varying uniform noise so the grain moves organically frame-to-frame rather than sticking frozen like dirty glass.
Will this script work if one of my AI clips is silent?
Ensure every silent B-roll clip (such as Runway Gen-4 Turbo or Luma Ray 3.2, which output no audio) receives a 48kHz stereo anullsrc audio stream during concat before running loudnorm—see Skill 02 (FFmpeg Loudness Conform) for exact silent-clip padding.
Use this page in AI tools or notes
raw .md