To shrink an audio or video file, change the codec first. Then lower the resolution, frame rate, or bitrate until the quality still looks and sounds right to you. A modern codec can cut a video by 40 to 50% compared with H.264 at similar perceived quality. For audio, moving from WAV to FLAC saves 50 to 60% with no loss at all.
Why and when to reduce file size
Big files cost you in three places. Storage comes first: cloud space and phone memory both fill up. Transfer comes second: a large file is slow to upload on a weak connection and slow to download on the other end. Compatibility comes third: some devices have little room to spare, and some services reject files that are too heavy.
Smaller does not have to mean worse. The raw numbers show how much room there is. A raw 1080p60 video runs at roughly 1.5 Gb/s. H.264 brings that down to about 5 Mb/s, which is around 300 times smaller. Newer codecs keep going: each generation uses roughly 30 to 50% less bitrate than the one before at equal quality.
The goal is not to squeeze as hard as possible. It is to find the point where the file is light enough for your use and the loss is still invisible, or inaudible, to the people who will watch or listen. Think of each method below as a dial. You turn it, check the result, and stop before the damage shows.
Lever one: change the codec
A codec is the recipe a file uses to compress and decompress its picture. Swapping the recipe is the most powerful move because the footage itself stays the same. Here is how the main options compare, according to the sources we consulted:
H.264: the universal baseline. It achieves 80% compression compared with MPEG-2 at equivalent visual quality. For 1080p streaming it needs 4 500 to 6 000 kbps.
H.265/HEVC: cuts size by 40 to 50% compared with H.264 at perceptually equivalent quality. Other measurements put the gain at 50 to 60%.
VP9: uses 35% less bitrate than H.264 at equal quality on Netflix’s VMAF metric. At 1080p that means 2 400 to 3 200 kbps instead of 4 500 kbps. At 4K the reduction reaches 44%.
AV1: needs about half the bitrate of H.264 in laboratory tests, and about a quarter of MPEG-2.
The trade-off is compatibility. H.264 plays almost everywhere. Newer codecs save more space but depend on what your player or device supports. Check that before you convert a whole library.
Lever two: lower the resolution
Fewer pixels mean less data. Stepping down from 4K to 1080p, 720p, or 480p shrinks the file at each step. We have no verified per-minute sizes for each resolution, so we do not quote any. Pick the lowest resolution that still looks clean on the screen where the video will actually be watched. A clip viewed on a phone rarely needs 4K.
Lever three: lower the frame rate
Going from 60 fps to 30 fps noticeably reduces file size. It is a fair trade for talking heads, slideshows, tutorials, and most everyday footage. It is a poor trade for fast sports or gameplay, where smooth motion is the whole point.
Lever four: adjust the quality target with CRF
CRF is a setting that asks the encoder for a constant perceived quality instead of a fixed bitrate. The encoder then spends more data on complex scenes and less on simple ones. The rule to remember: every increase of 6 in the CRF value divides the file size by two.
As a rough guide, CRF 20 is high quality, and CRF 28 is acceptable for the web. Try one value, watch the result, and move up or down from there.
Lever five: two-pass encoding
This is the advanced option. In the first pass, the encoder analyzes the whole video. In the second, it uses that analysis to optimize the compression. It is slower, but it produces smaller files with better detail than a single pass. Use it when you are encoding something once and want the best result, not when you are converting a batch in a hurry.
Approach one: lossless compression
Lossless means nothing is thrown away. Converting WAV to FLAC makes the file 50 to 60% smaller and stays bit-perfect. This suits music you want to keep at full fidelity, such as recordings you may edit again later.
Approach two: an efficient lossy codec
Lossy codecs discard information the ear is least likely to miss. Opus is the standout for speech: at 48 to 64 kbps it reduces size by 85 to 90% while keeping a voice intelligible. That makes it a strong fit for interviews, podcasts, and voice memos. MP3 is less efficient than the newer options. AAC at 128 kbps is a common standard and adds about 0.96 MB per minute of video.
Approach three: lower the bitrate
If you have files at 320 kbps, dropping to 128 kbps is a classic way to save space. Depending on the source, the human ear rarely distinguishes much beyond that point. Test on the headphones or speakers you actually use before you convert everything.
Audio and video together
The savings stack. Re-encode the picture with H.265 for a 40 to 50% gain, and lower the audio track from 320 kbps to 128 kbps. The two changes add up to a bigger reduction than either one alone.
Also read: Home Media Server Setup: A Guide for Your Own Files

A sensible order of work: choose the codec, then the resolution, then the frame rate, then the CRF value, and finish with the audio bitrate. Check the result after each change so you know which step cost you quality. We make no promise of a fixed percentage, because the outcome depends on your footage and your settings.
Tools and verdicts by profile
The methods above run in three kinds of tools. ffmpeg is open-source and works from the command line. Graphical programs wrap the same ideas in menus and sliders. Browser-based converters rely on modern HTML5 codecs. We do not recommend a specific application here, and we do not list download links. We have no verified prices to report, so we quote none. Whatever you pick, look for these settings: codec choice, resolution, frame rate, CRF or bitrate, and two-pass.

Which route fits you depends on who you are:
If you are a beginner with a few files: use a graphical tool or a browser converter. Start with a codec change and a lower resolution, and leave the rest alone.
If you keep music archives: choose lossless. WAV to FLAC saves 50 to 60% and loses nothing.
If you share voice recordings: Opus at 48 to 64 kbps is the lean choice, as long as the recipient’s player supports it.
If you need maximum compatibility: stay with H.264 and accept a smaller saving.
If you handle whole folders: use scripts with ffmpeg so every file gets the same settings.
If you encode once and want the best result: use H.265 or VP9 with two-pass encoding.
People who use these tools mostly want a fast result without visible damage. Test one short clip first. If it looks and sounds right, apply the same settings to the rest.
Some things remain unsettled. We cannot say which method most readers prefer: manual, graphical, or scripted. We do not know which compatibility limits matter most to you, such as a phone that only accepts H.264. We also do not know whether you are archiving, sharing online, or backing up to the cloud. Those answers change the best choice, so check your own constraints before you commit to a codec.
Will I lose quality if I reduce the size?
Not necessarily. Modern codecs keep perceived quality close to the original at a much lower size. Lossless audio compression loses nothing. Pushing too far, with a very high CRF or a very low bitrate, will show.
Which codec is compatible everywhere?
H.264 is the universal choice. H.265 is becoming the standard, but check your target device first.
Lossless or lossy?
It depends on the content. Music you want to preserve suits lossless. Video with rich detail usually tolerates lossy compression well.
Can I automate this for a whole folder?
Yes. A script that calls ffmpeg can apply the same settings to every file in a folder.
What audio bitrate should I use for web video?
AAC at 128 kbps is common. Choose 192 kbps if you expect high-fidelity listening.
Sources consulted: Compresto, Filesize.org, Remotion, ConvertIntoMP4, Mux, Ant Media, and Shotstack.



