When you merge clips of different resolutions, every clip has to be resized to one output size. Scaling a big clip down costs almost nothing you can see. Scaling a small clip up makes it bigger but not sharper. So choose the output size from the footage that matters most, usually 1080p, and if the clips are different shapes as well, decide between black bars and cropping before you start.

Resolutions in numbers

Resolution is the number of pixels in each frame, written width × height.

Name Size Pixels per frame Compared with 1080p
DVD / old camcorder 720×480 or 720×576 345,600 or 414,720 About a sixth to a fifth
720p 1280×720 921,600 Under half
1080p (Full HD) 1920×1080 2,073,600 Same
1440p 2560×1440 3,686,400 1.8 times
4K UHD 3840×2160 8,294,400 4 times

Those ratios explain what happens when you resize. Bring a 720p clip up to 1080p and each of its pixels has to cover 2.25 pixels of the new frame. The software fills the gaps by blending neighbouring pixels, so edges and fine detail look soft. Bring 4K down to 1080p and every output pixel is an average of four real ones, which can look a little cleaner than footage shot at 1080p.

Step 1: choose the output size

  • Go with the majority. If nine clips are 1080p and one is 4K, make a 1080p video. The 4K clip scales down and looks fine.
  • Don't go above your best footage. A 4K file made from 1080p clips is bigger, not sharper.
  • Think about where it's going. Most chat apps and social feeds show video at 1080p or less, so 4K mainly pays off on YouTube, a TV or a big monitor, and only when most of your clips are 4K. Our guide to video resolution covers when 4K is worth it.
  • Decide what to do with the odd one out. If most clips are 4K and one is 720p, you can keep 4K and accept that one clip looks soft, or make the whole video 1080p so the difference is less obvious.

Step 2: check the shapes as well

Resolution and shape (the aspect ratio) are different things. 1280×720, 1920×1080 and 3840×2160 are all 16:9, so they scale to each other with no bars and no cropping. Trouble starts when the shapes differ, for example a 4:3 clip from an old digital camera (640×480) in a 16:9 video. You have two choices:

  • Pillarbox: fit the whole clip in and fill the sides with black bars. A 4:3 clip in a 1920×1080 frame is 1440 pixels wide, so the bars take up the other 480 pixels.
  • Crop to fill: enlarge the clip until it fills the width and cut off the top and bottom. You lose a quarter of the picture's height, and the clip has to be enlarged even more, so it looks softer.

Letterboxing is the same idea turned on its side: bars above and below, for a clip that's wider than the frame. Vertical phone clips in a landscape video are the extreme case, covered in combining vertical and horizontal videos. Aspect ratios explained lists the common shapes and their sizes.

Watch out for non-square pixels

Footage from DV camcorders and DVDs is stored as 720×480 (in NTSC countries such as the US) or 720×576 (in PAL countries such as the UK), but it's meant to be shown at 4:3 or 16:9. The file carries a flag saying the pixels should be stretched when it plays. A tool that ignores the flag makes people look too thin or too wide, and a 16:9 clip can end up with bars it shouldn't have. Most modern apps read the flag, but check old clips in the merged video before you share it.

How to do it

In a video editor

Editors such as iMovie, Clipchamp, Shotcut and DaVinci Resolve put every clip into a project with one frame size, and you choose the export resolution at the end. Look in the project or export settings for the frame size, and for an option to fit clips (with bars) or fill the frame (cropping). The names vary by editor.

With FFmpeg

To scale a clip to 1080p without changing its shape (here a 4K clip coming down; the -2 keeps the width in proportion and even):

ffmpeg -i clip-4k.mp4 -vf "scale=-2:1080:flags=lanczos" -c:v libx264 -crf 18 -c:a copy clip-1080p.mp4

To fit a 4:3 clip into 1920×1080 with black bars at the sides:

ffmpeg -i old-4x3.mp4 -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1" -c:v libx264 -crf 18 -c:a copy old-1080p.mp4

To crop it to fill the frame instead:

ffmpeg -i old-4x3.mp4 -vf "scale=1920:1080:force_original_aspect_ratio=increase,crop=1920:1080,setsar=1" -c:v libx264 -crf 18 -c:a copy old-1080p-cropped.mp4

For DV or DVD footage with non-square pixels, add scale=iw*sar:ih,setsar=1, at the start of the filter (inside the quotes). FFmpeg's scale ignores the pixel shape otherwise.

flags=lanczos picks a sharper resizing method than the default, which helps a little when scaling up. Once every clip is the same size, you can join them; merging videos with FFmpeg shows how to scale and join several clips in one command.

With ClipMerge

ClipMerge chooses the size for you: the merged video is as tall as the shortest clip or photo, with the shape of the first one. Clips of another shape get black bars and are never stretched. It keeps 4K if your browser can encode it, and otherwise makes 1080p.

That rule has one big consequence: a single small item shrinks the whole video. Mix three 4K clips with one 720p clip and you get a 720p video. Two ways round it:

  • Leave the small clip out, if you can live without it.
  • Scale just that clip up first, for example with ffmpeg -i small.mp4 -vf "scale=-2:2160:flags=lanczos" -c:v libx264 -crf 18 -c:a copy small-4k.mp4. It still looks soft, because upscaling adds no detail, but the rest of the video stays sharp.

Photos count too. A tiny image saved from a chat or a website can be only a few hundred pixels tall, and it would take the whole video down to that height. Use the original photo instead, or leave it out.

Common problems

The merged video looks soft all the way through. One clip or photo was much smaller than the rest, and the tool scaled everything to match it, or the output size was set too low. Check the size of each item (in Properties › Details on Windows, or Get Info on a Mac) and find the small one.

A clip looks squashed or stretched. Either the tool stretched it to fill the frame, or it's old footage with non-square pixels that the tool didn't read correctly. Use a fit (black bars) option, or fix the pixel shape as above.

Black bars around a clip that should fill the screen. Its shape doesn't match the video's. Crop it to fill, or accept the bars: they're often less distracting than losing the edges of the picture, especially when people are near the edge of the frame.

The file is much bigger than expected. You probably exported at 4K. If most of your clips are 1080p, export at 1080p instead.