Social Video Resizer
Operator: Abdulla Al Fahad. How tools are built and checked
A 1920 by 1080 clip dropped into a 720 by 1280 vertical frame is drawn 720 pixels wide and 405 tall, which leaves 875 pixels of empty frame, 437.5 above and 437.5 below. What goes in that space, or whether you crop the picture to avoid it, is the whole question of resizing for Reels, Shorts, Stories and feed posts.
This page lets you choose: a blurred, darkened copy of the video itself, a plain colour, or a crop whose window you position and zoom. A live preview of the output frame follows the player, so you can scrub to the moment where a face sits near the edge and check it before anything is recorded.
The sound is kept, a start and an end can trim the clip, and nothing about the picture is stretched: every fit keeps the video's own proportions.
Key features
- A canvas below the player that shows the output frame for whatever moment the player is on, redrawn as you scrub or change a setting
- Position sliders that work for the whole-picture fits as well as for the crop window
- A trim range with buttons that take the current player time
- Four shapes at three sizes, each with even pixel dimensions
- A summary of output size, bit rate and the estimated file size
Fit modes, crop windows and output sizes
Input is a video the browser can play (MP4, WebM, MOV, M4V), up to 30 minutes after an optional start and end. The output shape is 9:16, 1:1, 4:5 or 16:9 with the shorter side set to 480, 720 or 1080 pixels, so 9:16 at 720 is 720 by 1280, 4:5 at 1080 is 1080 by 1350 and 16:9 at 720 is 1280 by 720.
The result is MP4 or WebM at a bit rate from the pixel count and your quality choice, with the original sound if you keep it. Three fits: Blur shows the whole video, centred, over a blurred copy that fills the frame, with the background darkened by 0 to 80% (35% by default); Colour shows the whole video over a colour you pick; Crop fills the frame with a window of the picture that you move and tighten with a zoom from 1 to 3 times.
Position sliders run from 0 to 100. A slider that has no room to move, for example the left-right position when the video already fills the width, is greyed out and says so.
Common use cases
- Posting a 40-second screen recording at 1920 by 1080 to a vertical feed as 720 by 1280 without cropping out the toolbar
- Cutting a 16:9 interview into a 1080 by 1080 square with the crop window slid 20% to the left to follow the speaker
- Making a 4:5 version at 1080 by 1350 of a landscape clip, for a feed where a 4:5 post takes more screen than a 16:9 one
- Reformatting one 2-minute landscape recording as 9:16, 1:1 and 16:9 files for three channels, one render each
How to use this tool
- Drop the video. The original appears in a small player, and the output preview below it.
- Choose the shape and the size.
- Choose the fit. For Blur, set how dark the background is; for Colour, pick the colour; for Crop, drag the window sliders and the zoom.
- Scrub the player to a few moments and check the preview, especially where a face or text is near the edge.
- Optionally set a start and end, then click Render resized video.
Example
A 1920 x 1080 clip into 9:16 at 720, sliders at 50
Output frame 720 x 1280
Scale for the whole picture: min(720/1920, 1280/1080) = 0.375Blur or Colour, and Crop (from running the code)
Blur / Colour: video drawn 720 x 405 at y = 437.5, background fills the rest
Crop: source window 607.5 x 1080 starting at x = 656.25, scaled by 1.185 to 720 x 1280
Crop with zoom 2: window 303.75 x 540 starting at x = 808.1, y = 270Common pitfalls
The blurred background is drawn from the video at 1/28 of the output size and scaled back up, so it is a soft wash of colour, not a Gaussian blur you could tune.
The crop window is fixed for the whole clip. A speaker who walks across a 16:9 frame will leave a 9:16 window.
The output is recorded from the canvas while the clip plays, so a 3-minute clip takes 3 minutes; the preview keeps updating during the recording.
- A blurred background hides the empty space best when the clip has colour variation; on a mostly white slide, Colour with a matching hex code looks cleaner.
Common errors and how to fix them
- Render resized video is greyed out.
- The video has not finished loading, the start and end do not describe a range inside the clip, the range is over 30 minutes, or the browser cannot record a canvas. The note beside the fields says which.
- The picture looks sideways or squashed.
- The fit modes never stretch, so the source may carry unusual rotation metadata; read it in the Video Metadata Inspector.
How the blurred copy is made
Canvas filters are not available in every browser, so the page does not use ctx.filter. For the background it draws the video, cover-fitted, onto a canvas one twenty-eighth the size of the output, which for a 720 by 1280 frame is about 26 by 46 pixels. That tiny image is then drawn back at full size with smoothing, so every pixel spreads over a 28-pixel square with bilinear interpolation, and a black layer at the darken percentage is laid over it. The video is then drawn on top at its fitted size.