Skip to content

Instantly share code, notes, and snippets.

View fabianros's full-sized avatar
🎯
Focusing

Fabian fabianros

🎯
Focusing
View GitHub Profile
@fabianros
fabianros / frame-recording.sh
Last active September 1, 2026 14:39
Frame a screen recording into a square, Twitter-ready clip (native res, rounded corners, smooth). macOS + ffmpeg.
#!/bin/bash
#
# frame-recording.sh β€” turn a screen recording into a clean, Twitter-ready clip:
# native resolution kept, square off-white frame, rounded corners, smooth playback.
#
# ── Setup (once) ───────────────────────────────────────────────────────────────
# 1. Install ffmpeg: brew install ffmpeg
# 2. Save this file, then make it runnable: chmod +x frame-recording.sh
#
# ── Use ────────────────────────────────────────────────────────────────────────