Your MOV won't upload, the attachment gets rejected, or the camera folder is eating the space you need for the next edit. You need a smaller file, not a softer picture or a silent clip. The practical answer to how to compress an MOV file is to re-encode a copy with controlled settings, then check the result before you share it.
Start with the command below. It keeps the MOV extension and creates an H.264 delivery file. “Without losing quality” means without a visible loss you find unacceptable, not mathematically lossless compression.
Table of Contents
- Compress an MOV File with FFmpeg in Seven Steps
- Choose Resolution, Frame Rate and Bitrate
- Set a Target File Size Before You Encode
- CRF or Two-Pass Encoding
- Compressing ProRes and Camera Originals Without Damage
- Fix the Problems You Will Hit
- Confirm the Output Before You Share It
Compress an MOV File with FFmpeg in Seven Steps
ffmpeg -i input.mov -c:v libx264 -preset medium -crf 20 -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart output.mov
This is a useful starting command, not a promise that every input will shrink. Run it with FFmpeg installed, replacing the filenames with your own and putting paths containing spaces in quotation marks.
Run the encode safely
Inspect the source first. Run
ffprobe -v error -show_format -show_streams input.mov. Record duration,r_frame_rate, dimensions, pixel format, video codec, audio codec, and available streams. If the video codec isprores, use the archive-plus-derivative workflow below before treating the output as a replacement.Copy the original into an archive folder. Give the compressed output a different name, and don't overwrite the only copy of your camera file.
Run the H.264 command above.
libx264selects the encoder, while-crf 20sets its quality target.-pix_fmt yuv420pimproves compatibility with older players.-movflags +faststartmoves the file index toward the beginning so a compatible player can start playback before the download finishes.For oversized wide footage, add
-vf scale=-2:1080before the output filename. This fixes the height and calculates a proportional, even width. Don't apply it blindly to smaller footage or portrait video, which may need a width-based constraint instead.Inspect the output. Run
ffprobe -v error -show_format -show_streams output.mov. Compare duration, dimensions, frame rate, and stream presence. If the source contains several audio tracks or subtitles, decide explicitly which ones the derivative needs rather than trusting automatic stream selection.Play the result in the destination app and on the audience's device. Watch motion, shadows, gradients, and small text. Listen near the beginning and end for synchronization problems.
Adjust in the right direction. If the picture looks good but the file is too large, raise CRF, not lower it. If the destination has a hard size cap, calculate a bitrate and use two-pass encoding instead.
Know what actually shrinks
MOV is a container, not a compression setting. It can hold video, audio, text, and metadata tracks, as Adobe's explanation of formats and containers describes. The codec and encoding settings determine most of the size.
Using -c:v copy preserves the existing video bytes. It can help with repackaging, but it doesn't compress the video stream. Likewise, renaming .mov to .mp4 doesn't perform an encode or repair compatibility.
Practical rule: A successful compression job produces a smaller, usable derivative. A different extension alone isn't success.
Choose Resolution, Frame Rate and Bitrate
Resolution sets the detail you can retain; bitrate sets the data budget. Frame rate affects how much motion information the encoder must handle. Choose these for the destination rather than preserving capture settings automatically.
Target video bitrate by resolution and frame rate
The reference rows below come from Apple's H.264 guidance, which lists approximately 1–2 Mbps for 640×480, 5–6 Mbps for 1280×720, and 7–8 Mbps for 1920×1080, all at 24 fps. Other rows are starting-point rules, not additional Apple recommendations.
| Resolution | Frame rate | Target video bitrate |
|---|---|---|
| 640×480 | 24 fps | 1–2 Mbps |
| 640×480 | 30 fps | Start with the nearest reference range; test motion |
| 1280×720 | 24 fps | 5–6 Mbps |
| 1280×720 | 30 fps | Start with the nearest reference range; increase if motion breaks up |
| 1920×1080 | 24 fps | 7–8 Mbps |
| 1920×1080 | 30 fps | Use the nearest reference as a starting point, then test |
| 1920×1080 | 60 fps | Use a motion-heavy sample to establish the bitrate |
| 3840×2160 | 30 fps | Scale to 1080p when the destination permits |
Don't turn these into universal minimums. A talking head against a plain wall and a handheld shot of leaves don't need the same bitrate to look clean. Nor does doubling the frame rate automatically require doubling the bitrate, because the encoder can exploit similarities between frames.
Protect the detail that matters
For a screen recording, readable text may matter more than smooth motion. For sport, preserving motion may matter more than fine background texture. The guide to frame rate in video helps distinguish frame-rate choices from resolution choices.
If you're considering a frame-rate conversion, MyImageUpscaler's guide to smoother footage provides useful context before you alter motion cadence. Don't change frame rate just because an export preset happens to select something different.
Start with the source inspection, choose the delivery dimensions, and preserve the original frame rate unless there's a clear reason to change it. Then use CRF for a quality-led encode or an average bitrate for a size-led encode. Already-efficient source footage may need a more aggressive quality target to become smaller.
Set a Target File Size Before You Encode
A destination limit is a bitrate budget, not a codec setting. Divide the available data by the clip's duration, reserve room for audio and container overhead, and give the remaining budget to video.
Be precise about units. For decimal MB, use:
Total bitrate in kbps = target MB × 8,000 ÷ duration in seconds
If the size is expressed in MiB, use 8,388.608 instead of 8,000. Mixing binary file-size units with decimal bitrate units can push an apparently safe export over the limit.
Total bitrate needed for a target file size
These are hypothetical worked budgets, calculated with decimal MB and an example AAC allocation of 128k. They exclude container overhead, so don't use the full calculated video budget when a limit is strict.
| Target size | Duration | Calculated total bitrate | Video after 128 kbps audio |
|---|---|---|---|
| 10 MB | 60 seconds | About 1,333 kbps | About 1,205 kbps |
| 25 MB | 60 seconds | About 3,333 kbps | About 3,205 kbps |
| 100 MB | 10 minutes | About 1,333 kbps | About 1,205 kbps |
| 500 MB | 10 minutes | About 6,667 kbps | About 6,539 kbps |
Leave headroom. Audio packetization, metadata, and container overhead still occupy space. A command targeting the exact mathematical ceiling isn't a reliable way to satisfy an upload validator.
Budget for the actual destination
Check the current upload rule for the specific app or upload surface. The XConvert upload-limit comparison illustrates why a single universal social-media limit is unreliable: limits and documentation differ by destination, account, and device.
Create separate derivatives for email, messaging, hosted web playback, and social uploads. Platforms may transcode the uploaded file, so a huge camera original doesn't guarantee a better viewer experience.
If the calculated bitrate makes the picture break apart, reduce the delivery resolution rather than forcing too many pixels through an inadequate budget.
CRF or Two-Pass Encoding
CRF controls a quality target; two-pass encoding controls average bitrate. Neither mode can guarantee that every scene will look identical to the original.
Content matters. In its per-title optimization analysis, Netflix reported reducing the highest-quality 1080p bitrate from 5,800 to 4,640 kbps, a 20% reduction, while targeting equivalent quality. That's evidence for testing the material, not a promised saving for your MOV.
| Mode | What it controls | File size | Best for |
|---|---|---|---|
| CRF | Quality target | Changes with content complexity | Delivery where quality matters more than exact size |
| Two-pass | Average video bitrate | Close to the calculated budget, plus audio and overhead | Hard upload or storage limits |
Use CRF for a quality-led export
Lower CRF retains more detail and usually produces a larger file. Higher CRF accepts more degradation. Treat settings as test candidates, not labels such as “lossless” or “perfect.”
For example, compare short samples at -crf 18, -crf 21, and -crf 24. Use the same difficult passage for each. Choose the highest setting whose softness, gradients, and motion still pass your inspection.
-preset slow gives the encoder more time to find efficient coding decisions than -preset medium. It trades processing time for compression efficiency, not restored source detail.
Use two-pass for a size-led export
For a hypothetical video budget of 2500k, run:
ffmpeg -i input.mov -c:v libx264 -preset medium -b:v 2500k -pix_fmt yuv420p -pass 1 -an -f null /dev/null
Then:
ffmpeg -i input.mov -c:v libx264 -preset medium -b:v 2500k -pix_fmt yuv420p -pass 2 -c:a aac -b:a 128k -movflags +faststart output.mov
On Windows, replace /dev/null with NUL. Keep the video settings identical between passes, and don't let concurrent jobs overwrite the same pass-log files.
Compressing ProRes and Camera Originals Without Damage
Not every MOV should be compressed the same way. A ProRes camera original isn't merely an oversized sharing file. It's a production asset, and replacing it with a delivery codec changes what you can comfortably do with it later.
Apple's ProRes white paper describes ProRes as an intraframe production codec whose data rate is primarily determined by codec variant, frame size, and frame rate. ProRes bitstreams are typically stored in MOV files, so the extension alone won't reveal what you're handling.

Keep a master and make a derivative
Retain the ProRes original as the archival master. Create an H.264 or HEVC copy for review, upload, or playback, and keep that derivative separate from the edit source.
For an ordinary SDR delivery copy, an HEVC starting command is:
ffmpeg -i master.mov -c:v libx265 -preset medium -crf 24 -pix_fmt yuv420p -tag:v hvc1 -c:a aac -b:a 128k compressed.mov
The hvc1 tag helps compatible Apple playback workflows recognize the HEVC stream. It doesn't make HEVC universally supported. Choose H.264 when browser, social-platform, or older-device compatibility matters more than compression efficiency.
Don't compare x264 and x265 CRF numbers as if they represent identical quality. Test each encoder independently against the source.
Don't discard production features accidentally
- Transparency: An ordinary
yuv420pdelivery encode won't preserve a ProRes alpha channel. - HDR and color: Don't apply this SDR-oriented command blindly to HDR footage. Preserve the intended bit depth and color signaling, or perform a deliberate color-managed conversion.
- Metadata and tracks: Verify rotation, subtitles, audio layout, and any required auxiliary tracks.
- Future editing: Generate later deliveries from the master, not from an already compressed review copy.
For archival decisions, the guide to lossless video compression formats helps separate preservation requirements from delivery requirements.
A smaller derivative can be successful without being a suitable replacement for the original.
Measure the actual size reduction and inspect perceived quality for each content type. Don't erase the ProRes master just because the smaller file plays correctly.
Fix the Problems You Will Hit
An encode can finish without errors and still produce the wrong result. Diagnose the symptom before changing several settings at once.
Size and picture problems
- The file is larger than expected: The source may already use an efficient codec at a low bitrate. Try a higher quality-control value, such as
-crf 24, as a test setting. It won't restore missing detail, and a more demanding quality target can waste space preserving compression artifacts. - Dark gradients break into bands: Test a lower CRF. If you're using a fixed bitrate, increase
-b:vor reduce dimensions with-vf scale=-2:720for an appropriate widescreen delivery. - Motion smears or blocks: Test a demanding passage rather than a still frame. Changing CRF or resolution requires a fresh visual comparison before you commit to the full encode.
Orientation, sound, and playback problems
A sideways picture needs inspection of the source's display matrix and rotation information. FFmpeg commonly autorotates during transcoding, so don't add -metadata:s:v rotate=90 blindly. Use that metadata operation only when the encoded pixels and intended player behavior justify it; otherwise apply a deliberate rotation filter.
Missing audio isn't fixed merely by adding an AAC encoder. Confirm the source contains audio, then explicitly select it with -map 0:v:0 -map 0:a:0 -c:a aac. For workflows where silent inputs are valid, use optional audio mapping, -map 0:a:0?.
Audio drift requires timestamp inspection. Avoid forcing a new -r value onto variable-frame-rate material without checking the consequences; -fps_mode passthrough can preserve timing when the destination supports it.
If the file works locally but not for the recipient, compare the codec and pixel format with the video codec support guide. Compatibility failures and poor compression are different problems.
Confirm the Output Before You Share It
The job isn't finished when FFmpeg exits. It's finished when the derivative meets its delivery requirements and you can identify which master produced it.

Make acceptance checks explicit
- Technical properties: Compare source and output duration, frame rate, dimensions, stream count, and audio codec with
ffprobe. Confirm the intended H.264 or HEVC video and AAC audio are present. - Delivery budget: Check the actual file size against the destination's limit, not just the bitrate requested in the command.
- Playback: Open the file in the intended app. Confirm seeking, orientation, sound, and synchronization.
- Visual acceptance: Review detailed movement, gradients, and text. Automated pipelines can add VMAF or another perceptual comparison to flag outputs that need human review.
- Traceability: Store the master, derivative, and encoding settings together. Keep the original until the derivative passes.
For growing libraries, Tintd's guide to asset management offers useful context for organizing masters and delivery versions without confusing them.
For repeat processing, RenderIO runs FFmpeg commands through its API, and each result includes duration, codec, resolution, and file size metadata. Those fields support technical validation, though they don't replace stream inspection or visual acceptance.
Use RenderIO to turn your tested MOV compression command into a repeatable API workflow. Visit RenderIO, sign up, generate an API key, and run your actual FFmpeg command against a representative source file before processing the rest of your library.