Landscape to Portrait: The Right Way
YouTube Shorts, TikTok, and Instagram Reels all want 9:16 vertical video. Your screen recording is 16:9 horizontal. The naive solution -- center-crop the horizontal frame to vertical -- throws away 75% of your pixels. For a developer screen recording, that means showing a narrow vertical strip of your IDE where maybe one-third of a code line is visible. It is unwatchable.
Intelligent reframing solves this by tracking where the content is and positioning the vertical crop to include what matters.
How Content-Aware Reframing Works
Region of Interest Detection
The reframing tool identifies which part of the screen contains the active content at each moment. When you are typing in the editor, the ROI is the cursor position and surrounding code. When terminal output appears, the ROI shifts to the terminal. When you click a button in a browser, the ROI is that UI element.
The vertical crop window follows the ROI across the horizontal frame, panning smoothly from region to region as the focus shifts.
Text Readability Constraints
Unlike general-purpose video reframing (which works well for talking heads and action footage), code reframing has a strict constraint: text must remain readable. This limits how much the view can zoom out. On a 1080x1920 vertical frame, text needs to be at least 14px to be readable on a phone screen. This constrains the maximum "virtual zoom out" the reframer can apply.
// Calculate maximum zoom-out while maintaining readability
const sourceWidth = 1920;
const targetWidth = 1080;
const minFontSize = 14; // px, readable on mobile
const sourceFontSize = 13; // px, typical IDE font at 1080p
// If we show the full width, text shrinks by this factor:
const scaleFactor = targetWidth / sourceWidth; // 0.5625
const resultingFontSize = sourceFontSize * scaleFactor; // 7.3px -- unreadable
// Maximum crop width that keeps text readable:
const maxCropWidth = sourceWidth * (minFontSize / sourceFontSize); // ~2067px
// Since source is only 1920px wide, we can show at most the full width
// but text will be too small. We need to crop to ~1400px width to keep text at 14px.
This means the vertical frame can show roughly 73% of the horizontal width at most. The reframer must make intelligent choices about which 73% to show at each moment.
Reframing Strategies for Developer Content
| Content Type | Best Reframing Strategy |
|---|---|
| Single-pane code editing | Track cursor, show 40-50 columns of code |
| Split-pane editing | Show one pane at a time, switch with the active pane |
| Terminal-only | Center on active terminal, full-width crop |
| Browser + code | Switch between full browser and full code views |
| IDE with sidebar | Hide sidebar, focus on editor pane |
Timing and Duration for Shorts
Shorts have a 60-second maximum. A 20-minute tutorial cannot be compressed to 60 seconds. Instead, the reframer should extract the most interesting 30-60 second segment from the longer video. Good segment selection criteria:
- Contains a complete, self-contained concept or technique
- Starts with enough context to be understood standalone
- Ends with a visible result (working code, passing test, deployed app)
- Has high visual activity (coding, not explaining)
VidNo's Reframing Pipeline
VidNo generates Shorts as a byproduct of its main video pipeline. During the analysis phase, it identifies segments suitable for vertical extraction based on content self-containment, visual activity, and informational completeness. The reframing uses OCR data to track active content regions and position the vertical crop dynamically. The output is a standalone Short with its own title, description, and thumbnail -- not just a cropped version of the landscape video.
Publishing Shorts as a Growth Strategy
YouTube Shorts reach a different audience than long-form videos. The Shorts algorithm surfaces content to viewers who have never visited your channel, making Shorts an effective discovery mechanism. A well-reframed Short showing a useful coding trick in 30 seconds can drive thousands of new viewers to your channel, some of whom will explore your full-length tutorials.
The key insight: Shorts should not just be short versions of your tutorials. They should be self-contained tips extracted from your tutorials. A Short that ends with "watch the full tutorial for more" performs worse than a Short that delivers complete value in 30-60 seconds and lets the viewer decide to explore your channel on their own.
Automated reframing makes Shorts production a free byproduct of your long-form pipeline. Every tutorial you record becomes both a full-length video and one or more Shorts, with no additional recording time. The reframing tool handles the extraction, cropping, and formatting. This doubles your publishing output from the same source material.