About Change Aspect Ratio
AntiUpload's Change Aspect Ratio tool reframes a video for a different platform aspect — converting a horizontal YouTube clip to a vertical TikTok / Reels / Shorts video, a square Instagram post, an Instagram portrait 4:5, or a YouTube widescreen 16:9. The most common conversion is horizontal-to-vertical: phone videos shot in landscape orientation that need to fit the dominant social-media format (TikTok / Reels are vertical 9:16 by spec). The reverse (vertical-to-horizontal for YouTube long-form, desktop wallpaper, etc.) is also supported. Output dimensions are platform-canonical: 1080×1920 for 9:16, 1080×1080 for 1:1, 1080×1350 for 4:5, 1920×1080 for 16:9.
V1 ships letterbox fit only: the entire source frame is scaled to fit inside the target dimensions and the gap is filled with black bars on the empty axis. This preserves every pixel of the original — no content gets cropped — at the cost of visible bars (top/bottom for horizontal → vertical, left/right for vertical → horizontal). It's the lowest-risk default because the subject never gets cropped surprisingly. The trade-off is the bars: TikTok / Reels users sometimes prefer crop or blur-fill (TikTok-style blurred copy of the video behind the centred crop) for an edge-to-edge look. Those modes ship in follow-up PRs.
Behind the scenes: FFmpeg's `scale=W:H:force_original_aspect_ratio=decrease,pad=W:H:(ow-iw)/2:(oh-ih)/2:black` filter chain handles both the resize and the black-bar fill in one pass. Re-encoding via libx264 CRF 23 with `yuv420p` pixel format and `+faststart` muxer flag produces universally-playable MP4 output. The whole encode runs in your browser — no upload, no size limit, no watermark.
How it works
- Drop your videoAccepts MP4, MOV, WebM, MKV, AVI, M4V, FLV. Output is always MP4 because aspect-ratio change requires re-encoding the picture.
- Pick the target aspect ratio9:16 vertical for TikTok / Reels / Shorts (1080×1920). 1:1 square for Instagram square posts / Facebook ads (1080×1080). 4:5 portrait for Instagram's preferred non-Reel post format (1080×1350). 16:9 widescreen for YouTube / desktop (1920×1080).
- Click ReframeRe-encoding runs in WASM via libx264 — typically real-time-ish for short clips. Progress shows live frame= updates.
- Download the reframed fileOutput dimensions match the target ratio at canonical-size for that platform. Letterbox bars fill empty space; all source pixels are preserved.