Studio Social Reformat
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-reformatWhat 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".
Manual setup by platform
Claude Code
~/.claude/skills/studio-social-reformat/SKILL.md
Cursor
~/.cursor/skills/studio-social-reformat/SKILL.md
Codex CLI
~/.codex/skills/studio-social-reformat/SKILL.md, or reference via codex.md instructions file
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
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
| Format | Resolution | Use |
|---|---|---|
| 9:16 | 1080x1920 | Shorts, Reels, TikTok, Stories |
| 4:5 | 1080x1350 | Instagram and Facebook feed |
| 1:1 | 1080x1080 | Feed, 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/captionsfor 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
ffprobeconfirms 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
moovatom at the start (+faststart).
Pitfalls and fixes
- Odd dimensions: libx264 with yuv420p needs even width and height. Use
-2in 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_sizeor author an ASS file withPlayResX: 1080andPlayResY: 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 30to avoid audio drift. - Double-compressed audio: keep AAC encoding to one pass at the end.
Deliverables
-
final_916.mp4,final_45.mp4,final_11.mp4as 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
Security
Reviews (0)
Related skills
Browse all →More from Skills Hub
View source →More Build skills
Browse category →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.