Skip to content
FramesField
WORKFLOW 02 Beginner Light CLI / Copy-Paste Script
VERIFIED 2026-11-26
Raw .md

Automated 16:9-to-9:16 Short-Form Repurposing & Caption Pipeline

What You’ll Make & How It Works

A ready-to-upload 1080×1920 vertical Short/Reel with clean captions, balanced audio, and a matching brand cover image.

Convert a 16:9 long-form studio video into vertical 1080×1920 shorts with deterministic active-speaker crop tracks, burnt-in Swiss-grid ASS subtitles, branded Ideogram 3.0 cover thumbnails, and -14 LUFS audio normalization—all driven from one repeatable CLI script at under $0.09 per short.

Before You Start Glossary
  • An existing horizontal (16:9) MP4 video file you want to turn into a Short or Reel.
  • Free FFmpeg installed on Mac/Windows/Linux (one install command) to run the copy-paste script.
  • Optional: Ideogram 3.0 ($0.03) to generate a matching vertical cover image.
Estimated Cost
$0.03 – $0.09 / short cover
Time Needed
15 min
Setup Level
Light CLI / Copy-Paste Script
Big-Picture Flow (Step-by-Step Overview) 4 STEPS
  1. 01 · INPUT ↓ NEXT
    Select 45s Clip
    Timecode EDL / CLI

    Trim high-retention segment with frame accuracy

  2. 02 · PROCESS ↓ NEXT
    Word Timestamps
    Whisper.cpp / Faster-Whisper

    Emit word-level SRT/ASS subtitle track locally

  3. 03 · MODEL ↓ NEXT
    Vertical Cover
    Ideogram 3.0 Turbo

    Render crisp typographic cover ($0.03)

  4. 04 · OUTPUT
    Vertical Master
    FFmpeg 7.x

    Crop 9:16, burn clean captions, hit -14 LUFS

16:9 Master to 9:16 Vertical Deliverable & Cover Frame Spec CONTACT SHEET · DOCS
FRAME 01 INPUT · 1920×1080
REC ● 16:9 · 24/30fps · WAV/AAC
Long-Form Master Cut

Source interview or demo cut exported cleanly without baked-in letterbox bars.

FRAME 02 REFRAME · 1080×1920
REC ● 9:16 · Y-Safe 220–1480px
Safe-Zone Vertical Crop

Centers subject with explicit top/bottom safe margins clear of platform HUD buttons.

FRAME 03 COVER · 1080×1920
REC ● Turbo $0.03 · Hex Locked
Ideogram 3.0 Cover Card

Generates high-contrast vertical cover graphic locked to brand hex palette.

Deterministic vertical reframing layout preserving safe zones for YouTube Shorts, Reels, and TikTok UI chrome overlays.

[SOURCE: FFmpeg + Ideogram v3 Spec] [MODEL: FFMPEG 7.X + IDEOGRAM 3.0] [VERIFIED: 2026-11-26]
Original Source ↗

How do you automate vertical shorts without losing editorial taste?

Most SaaS clip generators spit out identical yellow-bounce captions, jittery auto-panning crops, and crushed audio. Replacing black-box SaaS clippers with a deterministic Whisper.cpp + FFmpeg + Ideogram 3.0 shell pipeline cuts monthly tool overhead to pennies per clip while keeping typography, safe zones, and loudness under strict studio control.

Step 1: Produce tight 2-line captions locally

Run whisper-cli (from whisper.cpp) with a strict line length limit (-ml 32) so burned-in subtitles stay compact and scannable on mobile screens:

whisper-cli -m models/ggml-large-v3-turbo.bin -f segment.wav -osrt -ml 32 -of clip01

Inspect clip01.srt for proper nouns (model names, product acronyms) before burning—fixing 2 spelling errors takes 15 seconds and separates authoritative studio clips from sloppy automation.

Step 2: Reframe with explicit safe-zone coordinates

For a standard 1920×1080 single-subject framing, the centered vertical slice is 607.5 × 1080 (ih*9/16:ih). Scaling up to 1080×1920 via flags=lanczos preserves sharp edge detail. If your source footage is 3840×2160 (4K), the vertical slice is 1215×2160, meaning zero upscaling occurs when outputting 1080×1920.

Step 3: Lock vertical cover typography with Ideogram 3.0

When publishing to Reels or YouTube Shorts grids, a bespoke vertical cover frame prevents awkward mid-blink video thumbnails. Call Ideogram 3.0 Turbo ($0.03) with aspect_ratio: "9x16", magic_prompt: "OFF", and explicit brand color_palette weights so your grid reads as a unified editorial series.

Copy-Paste Template / Asset

ONE-CLICK COPY OR DOWNLOAD
Deterministic 16:9 -> 9:16 Vertical Reframe + Clean Caption FFmpeg Command repurpose-short.sh
Extracts a timecoded clip, crops cleanly to 1080x1920, burns legible non-gimmicky bottom-safe subtitles, and normalizes audio to -14 LUFS.
#!/usr/bin/env bash
set -euo pipefail

INPUT="$1"         # e.g. master_16x9.mp4
START="$2"         # e.g. 00:02:14.500
DURATION="$3"      # e.g. 42
SUBS="$4"          # e.g. clip01.srt
OUT="${5:-short_9x16.mp4}"

# Center-crop 16:9 -> 9:16, scale to 1080x1920, burn clean captions inside bottom safe zone (MarginV=340)
ffmpeg -y -ss "$START" -t "$DURATION" -i "$INPUT" \
  -vf "crop=ih*9/16:ih:(iw-ih*9/16)/2:0,scale=1080:1920:flags=lanczos,subtitles='${SUBS}':force_style='FontName=Helvetica Neue,FontSize=15,PrimaryColour=&H00FFFFFF,OutlineColour=&H00111111,BackColour=&H99000000,BorderStyle=4,Outline=0,Shadow=0,Alignment=2,MarginV=72'" \
  -af "loudnorm=I=-14:TP=-1.0:LRA=9" \
  -c:v libx264 -crf 17 -preset medium -pix_fmt yuv420p -movflags +faststart \
  -c:a aac -ar 48000 -b:a 192k \
  "$OUT"

Helpful Prompts & Skills for This Workflow

Frequently Asked Questions

03 Q&A
Q01 What are the safe caption margins for 1080×1920 vertical video across Shorts, Reels, and TikTok?
Keep captions and lower-thirds inside the middle band between Y=250px from top and Y=420px from bottom, with at least 120px right-side clearance to avoid overlapping like/comment icon stacks.
Q02 Why use FFmpeg BorderStyle=4 instead of heavy animated neon word-bounce captions?
Solid translucent matte caption bars (`BorderStyle=4`) stay legible against bright and dark footage alike, compress cleanly without H.264 mosquito artifacts, and avoid generic template fatigue.
Q03 Can this pipeline add animated B-roll inserts automatically?
Yes. Generate 5-second vertical 9:16 inserts via Kling 2.6 Pro ($0.35 silent) and splice them over talking-head cuts using FFmpeg's `overlay` filter with `enable='between(t,12,17)'`.