Skip to content
Back to skills

Screen Recording Analysis

ASecurity

Smart max-FPS screen recording and visual-bug analysis workflow using ffprobe and ffmpeg. Use whenever inspecting a user screen recording, verifying a UI, animation, flicker, swipe, glass, or interaction bug, or producing zoomed before/after visual proof.

  • 3,684 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 5, 2026
toolsbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add ardia-browser/ardia --skill screen-recording-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Screen Recording Analysis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Screen Recording Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ardia-browser-screen-recording-analysis/badge)](https://www.skillsdirectory.com/skills/ardia-browser-screen-recording-analysis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: screen-recording-analysis
description: >-
  Smart max-FPS screen recording and visual-bug analysis workflow using ffprobe
  and ffmpeg. Use whenever inspecting a user screen recording, verifying a UI,
  animation, flicker, swipe, glass, or interaction bug, or producing zoomed
  before/after visual proof.
---

# Screen Recording & Visual Verification Analysis (Max-FPS + Zoom)

Use this 4-stage `ffprobe`/`ffmpeg` workflow whenever analyzing a screen recording or verifying a UI/animation fix. Never guess from low-FPS full-screen downscales.

## Quick Helper

Run the scanner script to probe native FPS/resolution, compute per-frame pixel diffs at max FPS, and generate a coarse contact sheet in one command:

```bash
.agents/skills/screen-recording-analysis/scripts/scan.sh /path/to/recording.mov /tmp/rec-work
```

Outputs in `/tmp/rec-work`:
- `probe.txt` — native width, height, `r_frame_rate`, `avg_frame_rate`, duration
- `d.txt` — per-frame `pts_time` and `lavfi.signalstats.YAVG` diff score at native max FPS
- `spikes.txt` — top changed frames sorted by `YAVG` (exact transition/glitch frame numbers)
- `sheet.png` — overview contact sheet to locate the UI region of interest (`crop` box)

## Stage-by-Stage Workflow

### 1. Probe Native / Max FPS and Resolution
Always inspect native frame rate and pixel dimensions first so 60 fps and 120 fps ProMotion recordings never drop single-frame flashes or swipe-lag frames:

```bash
ffprobe -v error -select_streams v:0 \
  -show_entries stream=width,height,r_frame_rate,avg_frame_rate,nb_frames \
  -show_entries format=duration -of default=noprint_wrappers=1 rec.mov
```

### 2. Fast Max-FPS Temporal-Diff Pass (`tblend` + `signalstats`)
Detect exact frames where clicks, flashes, animations, or regressions occur without manually reading hundreds of static frames. Downscale only the diff pass for speed, keeping every native frame (`-fps_mode passthrough`):

```bash
ffmpeg -v error -i rec.mov -fps_mode passthrough \
  -vf "scale=320:-1,tblend=all_mode=difference,signalstats,metadata=print:key=lavfi.signalstats.YAVG:file=d.txt" \
  -f null -

awk '/pts_time:/{t=$3; sub(/pts_time:/,"",t)} /YAVG=/{split($0,a,"="); printf "%d %s %.3f\n", ++n, t, a[2]}' d.txt \
  | sort -k3 -nr | head -20
```

### 3. Overview Contact Sheet (`sheet.png`)
Inspect one tiled overview to see the full sequence and measure the exact normalized crop box (`iw*W:ih*H:iw*X:ih*Y`) of the UI area of interest:

```bash
ffmpeg -v error -y -i rec.mov -vf "fps=2,scale=480:-1,tile=4x3" -frames:v 1 sheet.png
```

Read `sheet.png` with `read_file` to identify where the target UI sits (e.g., header, sidebar, corner radius, Peek card, Liquid Glass edge).

### 4. Native-Resolution Max-FPS Zoomed Crop + `xstack` Montage (`zoom.png`)
Extract **only** the hot frame window around the spikes at native resolution and native max FPS (`-fps_mode passthrough`, never re-sampled to low FPS), cropped tightly to the region of interest:

```bash
mkdir -p h
ffmpeg -v error -i rec.mov -fps_mode passthrough \
  -vf "select='between(n,START,END)',crop=iw*0.50:ih*0.35:iw*0.02:ih*0.05" \
  h/%04d.png
```

Stack 6–9 key frames (before, exact transition frames at max FPS, and after) into one crisp montage:

```bash
ffmpeg -v error -y \
  -i h/0001.png -i h/0002.png -i h/0003.png \
  -i h/0004.png -i h/0005.png -i h/0006.png \
  -filter_complex "xstack=inputs=6:layout=0_0|w0_0|w0+w1_0|0_h0|w0_h0|w0+w1_h0,scale=1800:-1" \
  zoom.png
```

For pixel-level bugs (rounded corners, 1 px seams, strikethrough overhang, Liquid Glass lag):
- Zoom 2×–4× with nearest-neighbor (`scale=iw*2:-1:flags=neighbor`) so sub-pixel smoothing does not hide artifacts.
- Measure exact pixel positions across consecutive max-FPS frames (e.g., bounding-box lag in px) to prove root cause and verify 0 px lag after the fix.

## Verification Checklist
- Run this same max-FPS diff + zoomed crop pass on both **before** (unfixed / `0.2.49` control) and **after** (fixed) captures.
- Read both `sheet.png` and `zoom.png` with `read_file` before claiming a visual or animation bug is fixed.
- Delete scratch frame directories when done if large.

Files in this skill

  • SKILL.md4.1 KB
  • scripts/scan.sh1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.