Skip to main content

Studio Social Reformat

v1.0.0New

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install studio-social-reformat

What this does: Reformat landscape video into 9:16, 1:1 and 4:5 cuts for Shorts, Reels and TikTok with safe zones, subject reframing, burned captions, loudness and per-platform export specs. Triggers: "make a vertical cut", "reformat for Reels", "Shorts version", "crop to 9:16".

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/studio-social-reformat/SKILL.md

Setup guide →

Cursor

~/.cursor/skills/studio-social-reformat/SKILL.md

Setup guide →

Codex CLI

~/.codex/skills/studio-social-reformat/SKILL.md, or reference via codex.md instructions file

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

Social reformat (9:16, 1:1, 4:5)

Turn a 16:9 master into vertical and square cuts that look composed for the feed, not cropped by accident.

Inputs to agree on

  • Source master: resolution, frame rate, whether a clean (textless) version exists.
  • Target platforms: YouTube Shorts, Instagram Reels, TikTok, feed posts (4:5 or 1:1), LinkedIn, X.
  • Max duration per platform and whether the cut should be shortened.
  • Caption source: existing SRT/VTT, or transcribe (Whisper).
  • Brand rules: font, caption color, logo placement, end card.
  • Reframing approach: static center crop, manual keyframed pan, or automatic subject tracking.

Target specs

FormatResolutionUse
9:161080x1920Shorts, Reels, TikTok, Stories
4:51080x1350Instagram and Facebook feed
1:11080x1080Feed, LinkedIn, X

Common delivery for all: H.264 High profile, yuv420p, 30 fps (or source rate up to 60), AAC 48 kHz stereo at 128 to 320 kbps, +faststart. Target integrated loudness of -14 LUFS with true peak at or below -1 dBTP. Platforms re-encode everything, so give them a clean high-bitrate source (about 10 to 16 Mbps for 1080x1920).

Safe zones for 9:16

Platform UI covers parts of the frame. Treat these as conservative guides on a 1080x1920 canvas:

  • Top 250 px: status bar, account name, search.
  • Bottom 400 to 480 px: caption text, audio label, progress bar.
  • Right 120 to 160 px: like, comment, share column (TikTok and Reels).
  • Safe text area: roughly x 60 to 940, y 250 to 1440.

Put burned captions around y 1150 to 1400, above the platform caption area, and keep faces in the upper middle third.

Toolchain

  • ffmpeg for crop, scale, pad, captions, loudness. Required.
  • Whisper (openai-whisper, faster-whisper or whisper.cpp) for transcripts with timestamps.
  • Optional auto-reframe: DaVinci Resolve Smart Reframe, Premiere Auto Reframe, or a Python script using MediaPipe face detection to compute a smoothed crop path.
  • Alternative caption engine: Remotion with @remotion/captions for animated word-by-word captions.

Workflow

1. Inspect the source

ffprobe -v error -select_streams v:0 \
  -show_entries stream=width,height,r_frame_rate,pix_fmt \
  -of default=nw=1 master.mp4

2. Choose the crop

For a 1920x1080 source, a 9:16 crop at full height is 608x1080 (1080 * 9/16 = 607.5, round to an even number). Then scale up to 1080x1920.

Static center crop:

ffmpeg -i master.mp4 -vf "crop=608:1080:(iw-608)/2:0,scale=1080:1920:flags=lanczos,setsar=1" \
  -c:v libx264 -preset slow -crf 18 -pix_fmt yuv420p -c:a copy center_916.mp4

Offset crop to keep a subject on the left third (x center about 640):

-vf "crop=608:1080:640-304:0,scale=1080:1920:flags=lanczos,setsar=1"

Keyframed pan (subject moves from x=700 to x=1200 between 2 s and 6 s). The crop filter evaluates x per frame:

-vf "crop=608:1080:'clip(if(lt(t,2),700,if(lt(t,6),700+(t-2)/4*500,1200))-304,0,iw-608)':0,scale=1080:1920:flags=lanczos,setsar=1"

For tracked reframing, detect the face center per frame, smooth it (a moving average over about 15 frames, or a critically damped spring), clamp it to frame bounds, write it as sendcmd commands or render frames in Python. Never use the raw detector output; jitter reads as camera shake.

4:5 from 1920x1080: crop 864x1080, scale to 1080x1350. 1:1: crop 1080x1080, scale to 1080x1080.

3. Blurred-fill alternative (wide shots, slides, screen recordings)

When cropping would cut out essential content, letterbox inside a blurred copy:

ffmpeg -i master.mp4 -filter_complex "\
[0:v]scale=1080:1920:force_original_aspect_ratio=increase,crop=1080:1920,boxblur=20:2,eq=brightness=-0.08[bg];\
[0:v]scale=1080:-2[fg];\
[bg][fg]overlay=(W-w)/2:(H-h)/2,setsar=1[v]" \
-map "[v]" -map 0:a -c:v libx264 -crf 18 -pix_fmt yuv420p -c:a aac -b:a 192k fill_916.mp4

4. Captions

Transcribe:

whisper master.wav --model medium --output_format srt --word_timestamps True --max_line_width 28 --max_line_count 2

Proofread the SRT for names and jargon before burning it in. Burn with libass styling. MarginV counts from the bottom on a 384x288 default PlayRes, so set PlayRes explicitly through an ASS file for predictable placement, or use original_size:

ffmpeg -i center_916.mp4 -vf "subtitles=captions.srt:original_size=1080x1920:force_style='FontName=Inter,FontSize=64,Bold=1,PrimaryColour=&H00FFFFFF,OutlineColour=&H00000000,BorderStyle=1,Outline=4,Shadow=0,Alignment=2,MarginV=560'" \
  -c:v libx264 -crf 18 -pix_fmt yuv420p -c:a copy captioned_916.mp4

Rules: 2 lines max, about 28 characters per line, at least 1 second on screen, high contrast with an outline or box. Note that ASS colors are &HAABBGGRR.

5. Loudness (two-pass)

ffmpeg -i captioned_916.mp4 -af loudnorm=I=-14:TP=-1:LRA=11:print_format=json -f null - 2> pass1.txt
# read input_i, input_tp, input_lra, input_thresh, target_offset from pass1.txt
ffmpeg -i captioned_916.mp4 -c:v copy -af "loudnorm=I=-14:TP=-1:LRA=11:measured_I=-19.8:measured_TP=-3.1:measured_LRA=7.2:measured_thresh=-30.1:offset=0.4:linear=true" \
  -ar 48000 -c:a aac -b:a 192k -movflags +faststart final_916.mp4

6. Trim per platform

Cut to the strongest 15 to 60 seconds. Open on motion or a face within the first second; the first frame is the cover in many feeds. Use -ss and -to before -i only for rough cuts; for frame-accurate cuts place them after -i and re-encode.

Variants

  • Talking head: tight crop, face at upper third, captions large.
  • Two speakers: split screen 1080x960 top and bottom with two crops stacked via vstack.
  • Screen recording: blurred fill or zoomed region keyframes; never shrink UI text below readable size.
  • Music clip: skip captions, add title card and artist line in the safe area.

Quality checks

  • ffprobe confirms exact resolution, yuv420p, SAR 1:1, expected fps.
  • ffmpeg -i final.mp4 -af ebur128=peak=true -f null - reports I within -14 plus or minus 1 LU and true peak at or below -1 dBTP.
  • Overlay a safe-zone PNG on a few frames and confirm no caption or face falls under platform UI.
  • Watch the full cut on a phone at arm's length with sound off: every caption readable, no subject cut off.
  • File size reasonable (under about 250 MB for 60 s) and moov atom at the start (+faststart).

Pitfalls and fixes

  • Odd dimensions: libx264 with yuv420p needs even width and height. Use -2 in scale or round crops.
  • Soft image after upscaling a 608 px crop: start from a 4K master when possible, use lanczos, add mild unsharp=5:5:0.5.
  • Captions in the wrong place: set original_size or author an ASS file with PlayResX: 1080 and PlayResY: 1920.
  • Jittery auto reframe: smooth and add a dead zone so the crop only moves when the subject leaves the center region.
  • Variable frame rate phone footage: add -fps_mode cfr -r 30 to avoid audio drift.
  • Double-compressed audio: keep AAC encoding to one pass at the end.

Deliverables

  • final_916.mp4, final_45.mp4, final_11.mp4 as agreed
  • Proofread SRT plus burned-caption versions
  • Cover frame PNG per format
  • Loudness report (ebur128 output) per file
  • Short note of crop decisions and trims per platform
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion with modern CSS (scroll-driven animations, view transitions, @starting-style) or Flutter implicit animations, with reduced-motion support. Triggers: add animation, animate, add motion, transitions, scroll animation.86 installsdesign-auditRead-only design quality audit (WCAG 2.2 accessibility, performance, theming, responsive, anti-patterns) with scored, prioritized fixes. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.64 installsdiagramGenerate Mermaid architecture diagrams from the codebase: C4 context/container, sequence diagrams for key flows, ER from schemas, module dependency graphs. Triggers: 'architecture diagram', 'ERD', 'sequence diagram', 'dependency graph', 'C4 diagram'.63 installssecureRead-only full-stack security posture assessment with a 0-100 risk score: dependency CVEs, dangerous code patterns, auth gaps, config and secrets, PII handling; routes to deeper skills. Triggers: 'security posture', 'how secure is this', 'security scan', 'risk score'.62 installsdesign-polishFinal quality pass before shipping: fixes alignment, spacing, type hierarchy, color consistency, interactive states and motion timing to match the existing design language. Triggers: 'polish the UI', 'make it pixel perfect', 'final design pass'.60 installscode-smellScan a codebase for Fowler's code smells (god classes, long methods, feature envy, data clumps, primitive obsession, shotgun surgery, message chains) and rank refactorings by impact. Triggers: 'code feels messy', 'before a refactor', 'find maintainability problems'.53 installs

More from Skills Hub

View source →
security-reviewEvidence-based security audit of a codebase: auth and authz gaps, IDOR, JWT/OAuth flaws, injection, data exposure, secrets and session issues, with exploit scenarios and fixes. Triggers: security review, audit auth, find vulnerabilities.208 installsunit-testFind untested code, write unit tests covering edge cases, error paths and boundaries in the project's own style, run them and fix failures. Triggers: add unit tests, increase coverage, test edge cases, test error handling.179 installsweb-gameScaffold a production-ready browser game (Phaser, PixiJS or Three.js) with Vite, TypeScript, input, audio, saves, responsive canvas and itch.io/PWA deploy. Triggers: web game, browser game, html5 game, phaser game, pixi game, three.js game.148 installshumanizerRewrite AI-drafted content so it reads human: cut filler and hedging, vary sentence length, curb em dashes, add specifics and voice. Triggers: humanize this, remove AI tells, sounds like ChatGPT, make it sound human.146 installsdesign-to-codeTurn a design into production frontend code in four phases: design-system tokens and components, responsive layout, dark mode, then a UX audit that fixes what it finds. Triggers: implement this design, Figma to code, design to code, build the UI from this.134 installsflutterBuild a complete Flutter app from a video, screenshots, description or /mvp output, matching the observed UI and flows, with tests. Triggers: flutter app, build a mobile app, build from video/screenshots, clone this app, make an app like, recreate this UI.131 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.655 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.557 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.369 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.267 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.185 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions151 installs

Frequently asked questions about studio-social-reformat

What does the studio-social-reformat skill do?

Reformat landscape video into 9:16, 1:1 and 4:5 cuts for Shorts, Reels and TikTok with safe zones, subject reframing, burned captions, loudness and per-platform export specs. Triggers: "make a vertical cut", "reformat for Reels", "Shorts version", "crop to 9:16". It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the studio-social-reformat skill?

Run `npx @skills-hub-ai/cli install studio-social-reformat` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/studio-social-reformat/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does studio-social-reformat work with?

studio-social-reformat runs in Claude Code, Cursor, Codex CLI. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the studio-social-reformat skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use studio-social-reformat after installing it?

In Claude Code, type `/studio-social-reformat` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the studio-social-reformat skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.