How to Compress a Video for Upload Without Losing the Point

Reduce a finished video file for upload with quality or bitrate settings. Use an FFmpeg example, calculate a size budget, and check text, motion, audio and subtitles.

Original resolution-choice illustration preserving the full picture and a readable B2 label.

When a finished video exceeds an upload or transfer limit, start with a separate delivery copy of the approved master. Choose whether you need a generally smaller file or a specific size budget, encode that copy, then check its actual bytes, picture and sound. Lowering resolution is one choice, not the definition of compression.

CutNow is an AI video editor for footage you already have. Its footage-editing workflow selects useful moments and organizes a first cut. Once the edit is agreed, compression should carry that same story into a manageable delivery file, keeping the actions, labels and voices that make it understandable.

Read the limit and keep the master

Record the destination's file-size limit, supported format, video duration and the source's dimensions and frame rate. Check whether “MB” means decimal megabytes or whether the service specifies MiB or an exact byte limit. One decimal MB is 1,000,000 bytes; one MiB is 1,048,576 bytes. Bitrate uses bits per second, and eight bits make a byte.

Keep the high-quality master and work from it for every new attempt. Re-encoding an already compressed attempt adds another generation of loss. Use distinct names such as project-master.mp4 and project-share-v1.mp4 so the upload copy cannot replace the master accidentally.

Decide what must survive: small interface labels, a quick hand movement, a spoken explanation or all three. A file that passes the size check but loses that information has not met the delivery requirement.

Choose a quality target or a size budget

A quality-oriented encode adjusts bitrate to the pictures. A busy handheld scene may need more data than a static slide at a similar quality setting. Its final size is not fixed in advance. A bitrate-oriented encode aims at a data budget, with picture quality depending on the material.

For x264 quality controls, a lower CRF/RF number means higher quality; a higher number trades more detail for a typically smaller file. The scale is encoder-specific. HandBrake's official quality guide explains the direction and recommends small adjustments with visual review. No setting can promise lossless reduction to any chosen size.

ChoiceWhy change it?What to inspect afterward
Encoding quality or bitrateChange how much data describes the picturesBlocks, smearing and small text
Pixel dimensionsDeliver fewer pixels when the destination permitsLabels and the complete action remain readable
Frame rateReduce temporal detail only when acceptableFast movement and demonstrations remain understandable
DurationShorten the edit when the brief permitsThe explanation still has its context and ending
AudioBudget for the required voice or musicCorrect language, clarity and synchronization

Make a quality-oriented copy with FFmpeg

The following method assumes FFmpeg with the libx264 and AAC encoders, a supported ordinary 8-bit SDR source and a first video stream. Run it from the input file's folder, replacing the filenames with yours:

ffmpeg -n -i "project-master.mp4" -map 0:v:0 -map 0:a:0? -c:v libx264 -preset medium -crf 23 -pix_fmt yuv420p -c:a aac -b:a 128k "project-share-quality.mp4"

Here CRF 23 is a starting example, not a universal quality recommendation. The video is re-encoded as H.264 and the selected audio as AAC. Encoder and rate-control options are documented in FFmpeg's codec reference. Keep the original dimensions initially so you can judge the encoding change on its own.

The maps select the first video and, if present, first audio stream. Choose the correct audio stream if the first contains another language. -n refuses to overwrite an existing output; use a new filename when repeating. These behaviours are covered by the official command and stream-mapping documentation.

This command does not select embedded subtitle tracks. Keep the matching SRT for separate caption delivery, or use a subtitle-aware export when embedded captions are required. Burned-in captions remain part of the picture and need their own reading check. HDR, transparency and unusual pixel formats require an appropriate export path rather than applying this SDR example unchanged.

Calculate a budget for a hard file-size limit

For a planning estimate, multiply the allowed bytes by eight and divide by the duration in seconds. That is the average total bitrate available to video, audio and container overhead.

Consider an original teaching example: a 120-second video for a 50 MB decimal limit. The total ceiling is about 3.33 Mb/s. A video target of 3,000 kb/s plus 128 kb/s audio has a planned media payload of:

(3,000,000 + 128,000) × 120 ÷ 8 = 46,920,000 bytes = 46.92 MB

This leaves 3.08 MB below the stated limit for overhead and margin; it is a budget calculation, not a measured output. The corresponding bitrate-oriented example is:

ffmpeg -n -i "project-master.mp4" -map 0:v:0 -map 0:a:0? -c:v libx264 -preset medium -b:v 3000k -pix_fmt yuv420p -c:a aac -b:a 128k "project-share-budget.mp4"

Average bitrate is not a strict file-size cap. Measure the finished file; if it exceeds the destination's limit, lower the budget and make a new copy from the master. The k suffix here is decimal thousands, and -b:v is a video bitrate in bits per second. Do not add an input file's existing bitrate to this output budget.

Original compression-choice diagram: a 120-second 50 MB budget separates 45 MB video, 1.92 MB audio and 3.08 MB room; resizing still needs a label-readability check.
Original budget illustration for a 50 MB, 120-second example; check the actual exported file size.

Change resolution only when the content permits

For a 1920×1080 landscape source, adding -vf "scale=1280:720" to either example creates a 1280×720 version with the same 16:9 shape. FFmpeg's scale documentation describes explicit output dimensions. This resizes the whole picture; it does not crop it into a different composition.

Read a small label and watch the fastest important action in the export. If they no longer work, reconsider the resolution or data budget rather than judging only the file size. Keep the source frame rate unless the delivery allows a change; dropping frames is a separate tradeoff.

Check the actual file and fix the right problem

What you findNext action
File is still too largeCheck actual duration, chosen mode and total bitrate; lower the budget or revise permitted dimensions/duration
Text is soft or movement breaks upReturn to the master; allow more quality/data or keep a larger frame
Output is larger than the sourceThe source may already be efficiently encoded; compare its bitrate and avoid assuming every re-encode shrinks it
Voice or captions are missingRecheck stream selection and the separate subtitle delivery
Encoder is unavailable or colour looks wrongUse a build with the required encoder, or a source-appropriate colour-managed export

Open the saved file, check its byte size, then play the whole delivery with the intended captions and audio. Keep the filename, settings and caption version together. If the CutNow edit changes, make the next delivery copy from that updated master. The first-cut handoff guide helps keep those versions clear; the subtitle guide covers matching caption files.

Explore CutNow for turning existing footage into a focused edit before preparing its delivery copies.

Written by the CutNow team with AI writing assistance.