SNS Video Resizer
Resize a video for 12 destinations, including TikTok, YouTube Shorts, Instagram, X and YouTube. Crop what does not fit, or keep the whole frame with black bars.
Equivalent FFmpeg command
CLI command for your current settings. Updates live as you change controls.
ffmpeg -i in.mp4 -map 0:v:0 -vf "crop=w='trunc(min(iw,ih*0.562500)/2)*2':h='trunc(min(ih,iw/0.562500)/2)*2',scale=1080:1920:flags=lanczos,setsar=1" -map "0:a?" -c:a aac -b:a 128k -c:v libx264 -crf 23 -preset fast -pix_fmt yuv420p -movflags +faststart sns_out.mp4 How to use
- Pick a videoLandscape or portrait — both work.
- Pick a target SNSChoose one of 12, including TikTok, YouTube Shorts, Instagram, X and YouTube.
- Crop or letterboxCropping is the default: drag the green frame or use the position buttons to choose what to keep. To keep the whole picture, turn on "Letterbox / pillarbox (fit mode)".
- ResizeRun it and a preview and a download button appear. Before that you can also set a trim, quality, frame rate, audio and a watermark.
Recommended settings
When it goes wrong
Subject cropped out
Cause: The crop is still centered, but the person or captions are near the edge.
Fix: Drag the green frame to move the crop, or turn on fit mode.
Massive black bars
Cause: A landscape video was fitted into 9:16 with bars.
Fix: Turn off fit mode to crop instead, or pick a landscape preset.
Questions
TikTok preferred size?
TikTok's help pages give no recommended resolution for regular posts. Videos uploaded from a web browser must be at least 720×1280, and TikTok's ad guidelines recommend vertical 9:16. This tool's TikTok preset outputs 1080×1920 (9:16).
Shorts vs TikTok?
YouTube Shorts are square or vertical videos up to 3 minutes. TikTok allows up to 10 minutes when you record in the app and up to 60 minutes when you upload a video from your device (30 minutes from a web browser), all per the official help pages. The 9:16 output works for both.
Vertical → horizontal?
Pick a landscape preset such as YouTube. With fit mode on, black bars appear on the sides; with it off, the top and bottom are cropped.
More detail (settings, limits, FFmpeg commands)
What each setting means
Browsers and limits
- MP4 output (H.264 video; audio re-encoded to AAC 128 kbps)
- The crop moves only along the side that overflows (left–right or up–down)
The same job with the FFmpeg command line
ffmpeg -i input.mp4 -vf "crop=w='trunc(min(iw,ih*9/16)/2)*2':h='trunc(min(ih,iw*16/9)/2)*2',scale=1080:1920:flags=lanczos,setsar=1" -c:v libx264 -crf 23 -preset fast -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart output.mp4 ffmpeg -i input.mp4 -vf "scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:color=black,setsar=1" -c:v libx264 -crf 23 -preset fast -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart output.mp4