Video File Formats Explained: A Codec Guide
Video file formats explained for business users: containers vs codecs, MP4, MOV, H.264, H.265, ProRes, bitrate, and the right export settings for web.

If you have ever exported a video and watched it balloon to 4GB, or uploaded a clip that looked blurry on LinkedIn, you have run into the gap between how video is stored and how it is delivered. This guide has video file formats explained in plain terms, so you can stop guessing at export settings and start choosing them on purpose. We will cover containers versus codecs, when to use MP4 versus MOV, what H.264, H.265, and ProRes actually do, and how bitrate and compression affect quality and file size. Just the decisions that change how your video looks and how fast it loads.
Video matters to the bottom line, which is why getting the technical part right is worth the effort. According to Wyzowl, 91% of businesses use video as a marketing tool, and 82% say a video convinced them to buy a product or service. A great message still fails if the file is the wrong format for the platform.
Containers versus codecs: the part everyone confuses
The single most useful idea in this whole topic is that a video file has two layers, and people treat them as one. They are not the same thing.
A container is the wrapper. It is the file extension you see: .mp4, .mov, .mkv, .webm. The container holds the video stream, the audio stream, subtitles, and metadata, and keeps them in sync. Think of it as a shipping box.
A codec is the method used to compress and decompress what is inside the box. H.264, H.265, ProRes, and VP9 are codecs. The codec decides how the picture is squeezed down to a manageable size and how it gets rebuilt when you press play. Think of it as how the contents were packed.
This matters because the same container can hold different codecs. An MP4 might use H.264 or H.265 inside it; a MOV might hold H.264 or ProRes. So when someone says "send me an MP4," they have told you the box but not how it was packed, which is why two MP4 files of the same clip can differ wildly in size and quality. Once you separate these two layers, most format confusion disappears.
The containers you will actually meet
MP4 is the default for the open web and social platforms. It is supported almost everywhere, it streams well, and it keeps file sizes reasonable. If you are publishing to YouTube, Instagram, LinkedIn, TikTok, or a website, MP4 is your delivery format in nearly every case.
MOV is Apple's QuickTime container. It is common in editing because it handles high-quality codecs like ProRes cleanly and preserves alpha channels for transparency. MOV files tend to be larger. You will see them come out of cameras, Mac screen recorders, and editing software, but you usually convert to MP4 before publishing.
MKV and WebM show up less often in business workflows. MKV is a flexible open container popular for archiving. WebM is built for the web and pairs with the VP9 or AV1 codecs inside YouTube's delivery system, though you rarely upload it yourself.
The practical rule: edit and store in whatever your camera and editor prefer, then deliver in MP4.
The codecs that decide quality and size
Here is where the real choices live. The codec is what determines whether your file is 200MB or 2GB, and whether it looks sharp or smeared.
H.264 (AVC)
H.264 is the workhorse of the internet. It has been the standard delivery codec for more than a decade, it plays on virtually every device and browser, and it strikes a strong balance between quality and file size. For social video, web embeds, email, and client previews, H.264 inside an MP4 is the safe, universally compatible answer. When in doubt, this is the export you choose.
H.265 (HEVC)
H.265, also called HEVC, is the successor to H.264. Its headline benefit is efficiency: it delivers similar quality at roughly half the file size, valuable for 4K footage and keeping data costs down at scale. The catch is compatibility. Older browsers and some platforms still handle H.265 inconsistently, and it is more demanding to decode. Use it when you control playback or need 4K without huge files. For broad public distribution, H.264 is often the more reliable pick.
ProRes
ProRes is an Apple codec built for editing, not delivery. It uses light compression to keep the picture close to the original, which makes it smooth to scrub, color grade, and re-export without quality loss stacking up. The trade-off is size: ProRes files are enormous, sometimes ten times larger than an H.264 version of the same clip. You would never publish ProRes to social. You use it as a high-quality master during production, then compress to H.264 at the end.
VP9 and AV1
These are royalty-free codecs aimed at web streaming. VP9 powers a lot of YouTube playback, and AV1 is the newer, more efficient option streaming services are adopting. As a business user uploading content, you almost never export these yourself; the platform transcodes your upload into them automatically.
Bitrate and compression: why two files of the same length differ so much
Codec choice is half the story. Bitrate is the other half: the amount of data used per second of video, usually measured in megabits per second (Mbps). Higher bitrate means more detail and a bigger file. Lower bitrate means smaller files but more visible compression artifacts: blocky shadows, smeared motion, banding in gradients.
Two MP4 files using H.264 at the same resolution can look completely different if one is exported at 5 Mbps and the other at 20 Mbps. This is the lever most people never touch, and it is the one that most often explains "why does my video look bad after upload."
A couple of practical reference points for 1080p H.264 delivery:
- Web and social, 1080p: roughly 8 to 12 Mbps is plenty for clean playback.
- YouTube source upload, 1080p: 10 to 15 Mbps gives the platform good material to re-compress.
- 4K source upload: 35 to 45 Mbps for H.264.
One important note: every site you upload to re-compresses your video on their end, which is why a pristine file can look slightly softer after processing. The defense is to upload at a generous bitrate so the platform has more detail to work with before its own compression. Starve it of data and the second pass has nothing to work with.
There is also a choice between constant bitrate (CBR) and variable bitrate (VBR). VBR lets the encoder spend more data on complex, fast-moving scenes and less on simple ones, usually giving better quality at the same average file size. For most uploads, two-pass VBR is the better setting if your editor offers it.
Editing formats versus delivery formats
This is the mental model that ties everything together, and it is the one that saves the most headaches.
Editing and mastering formats prioritize quality and ease of processing over size. ProRes and high-bitrate H.264 or H.265 fall here. You keep footage in a format that holds up to color grading, effects, and multiple re-exports. File size is not the concern; protecting quality is.
Delivery formats prioritize compatibility and small size for fast loading and streaming. H.264 in an MP4 is the standard. You compress to delivery format once, at the very end, after all editing decisions are locked.
The mistake businesses make is editing in the delivery format, then re-exporting it several times as revisions come in. Every re-compression of an already-compressed file degrades quality a little more, like photocopying a photocopy. Keep a high-quality master, make changes against that, and export a fresh delivery file each time. For a deeper look at how a professional pipeline handles this, our guide to a done-for-you video editing service walks through the full workflow.
Quick export recipes for common platforms
To make this concrete, here are sane defaults. These are starting points, not laws.
- YouTube (1080p): MP4 container, H.264 codec, 10 to 15 Mbps, AAC audio at 384 kbps. Upload the highest quality you reasonably can and let YouTube handle the rest.
- Instagram and TikTok (vertical): MP4, H.264, 1080x1920, 8 to 12 Mbps. Keep audio at 128 to 256 kbps AAC.
- LinkedIn and Facebook: MP4, H.264, 1080p, around 10 Mbps. These platforms compress aggressively, so a clean source matters.
- Website background or hero video: MP4, H.264, lower bitrate (4 to 8 Mbps) and often muted, optimized for fast page loads.
- Client review or archive master: ProRes or high-bitrate H.264/H.265, kept separate from your published files.
If most of your output is short vertical content, the export settings shift toward mobile-first aspect ratios and tighter file sizes. Our short-form video editing service overview covers the formatting choices that matter for Reels, Shorts, and TikTok at volume. And if you are reformatting existing long videos, see how to repurpose long-form video into shorts without re-degrading the source.
The cost of getting this wrong, and who should own it
Format mistakes are not just aesthetic. Re-exporting and re-uploading wastes hours, blurry video undercuts a brand, and oversized files slow down websites and hurt the viewer experience. As HubSpot's research shows, video is now central to how buyers research and decide, so a technically poor file is a real cost, not a rounding error.
The question for most businesses is who handles this consistently. The options each carry trade-offs:
- An in-house editor gives you control but costs roughly $55,000 to $75,000 per year in salary, per ZipRecruiter, before benefits and software.
- Freelancers run about $75 to $250 per video, which works for occasional projects but gets unpredictable at volume and varies in quality.
- Agencies typically charge $500 to $5,000 or more per project, strong for big productions but expensive for steady weekly output.
- A subscription service sits in the middle, giving you ongoing capacity for a flat monthly fee, which suits businesses producing video regularly.
The going rate for professional editing across these options spans roughly $500 to $3,000 depending on scope. If you want a side-by-side of the models, we keep an updated comparison of the best video editing services compared, plus a deeper video editing subscription services guide.
What Pixel8 Production offers
Pixel8 is a done-for-you B2B video editing subscription. You get a dedicated editor who learns your brand, your platforms, and your export preferences, so the format and codec decisions in this article get handled correctly every time without you thinking about them. Turnaround is 48 hours on standard edits, and pricing is a flat $2,000 to $3,000 per month with no per-project surprises.
In practice that means you hand off raw footage and a brief, and get back correctly compressed, platform-ready files: H.264 MP4 for delivery, the right bitrate for each channel, vertical cuts sized for social, and a quality master kept on file. You stop managing render settings and start shipping video on schedule.
Bottom line
Separate the container from the codec and formats stop being a mystery. The box (MP4 or MOV) tells you compatibility; the codec (H.264, H.265, ProRes) sets the quality-to-size trade-off; and bitrate decides how good the file looks. Edit and master in high quality, then deliver in H.264 MP4 at a platform-matched bitrate. If you would rather not manage this, a dedicated editor through Pixel8 at $2,000 to $3,000 per month makes the right format call and returns it in 48 hours.
Frequently asked questions
What is the difference between a video container and a codec?
A container is the file wrapper, such as MP4 or MOV, that holds the video, audio, and metadata together. A codec, such as H.264 or ProRes, is the method used to compress and decompress the actual video data inside that container. The same container can hold different codecs, which is why two MP4 files can differ greatly in size and quality.
Which video format is best for posting on social media?
For nearly all social platforms, an MP4 container with the H.264 codec is the best choice. It is supported everywhere, streams smoothly, and keeps file sizes manageable. Set the bitrate around 8 to 12 Mbps for 1080p and you will get clean playback across Instagram, LinkedIn, TikTok, and YouTube.
Should I use H.264 or H.265 for my videos?
Use H.264 when you need maximum compatibility across devices, browsers, and platforms, which covers most public distribution. Use H.265 (HEVC) when you need smaller files for 4K footage and you control the playback environment. H.265 cuts file size roughly in half at similar quality, but support is still less universal than H.264.
What is ProRes used for?
ProRes is a high-quality Apple codec made for editing and mastering, not for publishing. It uses light compression so footage stays sharp through color grading and multiple re-exports. ProRes files are very large, so you use them during production and then compress to H.264 MP4 for final delivery.
Why does my video look blurry after I upload it?
Most platforms re-compress your video when you upload it, so a low-bitrate file gets degraded further during their processing. Uploading at a higher bitrate gives the platform more detail to work with before it applies its own compression. Check that you are exporting at a generous bitrate, such as 10 to 15 Mbps for 1080p, rather than a default low setting.
What bitrate should I export video at?
For 1080p H.264 delivery, roughly 8 to 12 Mbps is enough for clean social and web playback, and 10 to 15 Mbps is a good source upload to YouTube. For 4K H.264 source files, aim for 35 to 45 Mbps. Higher bitrate means better quality and larger files, so match it to the platform rather than maxing it out everywhere.
Why are my exported video files so large?
Large files usually come from a high-quality codec like ProRes, a very high bitrate, or a high resolution like 4K. These are appropriate for editing masters but not for delivery. To shrink files for publishing, export with H.264 in an MP4 container at a bitrate suited to the platform, which can cut size dramatically with little visible quality loss.
Prakhar Mehta
Pixel8 is a done-for-you video editing subscription — giving SaaS companies, agencies, and founders a dedicated editing team with 48-hour turnaround.
Ready to stop doing this yourself?
Get a dedicated video editing team — 48-hour turnaround, unlimited revisions, month-to-month.