Video Codecs and Compression, Done Properly
Learn which codecs to edit, deliver and archive in, when to use CRF or two-pass bitrate targets, and how to avoid the generational loss that softens video.
On this page
- What do video codecs and compression actually do, and why does the choice matter?
- What is the difference between a codec and a container?
- Why is camera H.264 so slow to edit, and what should you edit in instead?
- Which delivery codec should you use: H.264, HEVC, AV1 or VP9?
- What does chroma subsampling change, and when does it matter?
- Should you encode with constant rate factor or a target bitrate?
- When is two-pass encoding worth the extra time?
- How much quality do you lose each time you re-encode?
- Should you compress video yourself before uploading, or let the platform do it?
- What should a delivery specification include, and how do you meet one?
- How should you archive video so it outlives the software that made it?
- When should you bring in help with codecs and compression?
- Working on something like this?
Almost every video problem that shows up late in a project, such as a timeline that stutters on a fast workstation, a render that looks softer than the footage it came from, or a file a client cannot open, traces back to decisions about video codecs and compression made early and without much thought. A codec is the method that turns pictures into data and back again. Compression settings decide how much of the original picture survives that trip. Together they decide how fast you can edit, how good the finished piece looks, how large the files are, and whether anyone can play them at all.
This guide is for marketers and in-house teams who commission or publish video, and for editors and producers who want the reasoning behind the settings rather than a list of presets. It is organized as the questions people actually ask, each answered directly first and then in depth: which codec to edit in, which to deliver in, what chroma subsampling changes, when to use constant rate factor or a bitrate target, when two-pass encoding earns its time, and how to keep an archive that will still open in ten years.
The short version is simple and holds across almost every project: edit in an intermediate codec, deliver in a distribution codec, and keep a mastering-quality archive that is separate from both. The rest of this article explains why, and how to do each part properly.
What do video codecs and compression actually do, and why does the choice matter?
A video codec encodes moving images into a compact stream of data and decodes that stream back into pictures, and the compression settings decide the trade between file size and visible quality. Uncompressed video is enormous: every pixel of every frame stored as full color values. A codec reduces that by throwing away information the eye is unlikely to miss and by describing what stays the same between frames instead of storing it again.
Codecs are built for different jobs, and that is the whole point of choosing well. Delivery codecs such as H.264, H.265/HEVC, AV1 and VP9 are designed to make files as small as possible for streaming and playback, at the cost of heavy processing to decode and edit. Editing and mastering codecs such as Apple ProRes and Avid DNxHD and DNxHR are designed to be fast to decode frame by frame and to survive repeated processing, at the cost of much larger files.
Using the wrong family for the job causes predictable failures. A delivery codec used for editing makes an edit slow and degrades every render. An editing codec used for delivery produces files that are too large to upload comfortably and that many phones, browsers and social platforms will not play. Neither problem is fixed by a faster computer or a better upload connection; both are fixed by picking the codec for what it is for rather than by habit or filename.
Lossy, visually lossless and lossless
It helps to separate three levels of compression. Lossy codecs discard information permanently; every delivery codec is lossy. Visually lossless codecs, which is how most mezzanine codecs such as ProRes 422 HQ and DNxHR HQX are usually described, still discard some information but at rates high enough that the loss is not visible in normal viewing and survives a few generations of processing. Lossless codecs such as FFV1 reconstruct the original pixels exactly, and are used mainly for archiving and preservation where exactness matters more than storage.
What is the difference between a codec and a container?
The codec is how the picture and sound are encoded; the container is the file wrapper that holds those encoded streams together with timing, metadata and sometimes subtitles. An .mp4 file is a container. So are .mov, .mxf and .mkv. Inside an .mp4 you will usually find H.264 or HEVC video and AAC audio, but the extension alone does not guarantee it.
This distinction causes more confusion than any other in video delivery. A client asks for "an MP4" when what they need is H.264 video in an MP4 container at a specific resolution and frame rate. An editor sends "a MOV" that turns out to hold ProRes 4444 at several hundred megabits per second, which the client's laptop struggles to play. Choosing a codec by filename convention rather than by what it is for is one of the most common mistakes in the field, and the fix is to specify both parts every time.
| Container | Typically holds | Where you meet it |
|---|---|---|
| .mp4 | H.264, HEVC or AV1 video; AAC audio | Web, social platforms, client review copies |
| .mov | ProRes, H.264, HEVC, many others | Editing, mastering, camera files from some systems |
| .mxf | DNxHD, DNxHR, XAVC, JPEG 2000 | Broadcast, professional cameras, IMF packages |
| .mkv | Almost anything, including FFV1 and VP9 | Archiving, open-source workflows |
| .webm | VP9 or AV1 video; Opus audio | Browser playback |
When you write a delivery request or read one, look for the codec, the profile or quality level, the resolution, the frame rate, the bit depth, the chroma subsampling and the audio format. If any of those are missing, ask. A tool such as MediaInfo, or the ffprobe utility that ships with FFmpeg, will tell you exactly what is inside any file in seconds, which is faster and more reliable than trusting the extension.
Why is camera H.264 so slow to edit, and what should you edit in instead?
Camera H.264 and HEVC are slow to edit because they are long-GOP codecs: most frames are stored only as differences from other frames, so the computer has to decode several frames to show you one. Edit in an intraframe intermediate codec such as ProRes or DNxHR instead, where every frame stands alone and scrubbing, trimming and effects stay responsive.
How long-GOP compression works
A group of pictures, or GOP, begins with a complete frame, called an I-frame or keyframe, followed by predicted frames (P-frames) and bidirectionally predicted frames (B-frames) that store only what changed. A camera might record a GOP of dozens of frames with a single full picture at the start. That is a brilliant way to make small files, and a poor way to edit. When you jump to a frame in the middle of a GOP, the software must find the previous I-frame and rebuild every frame in between. Add color correction, a few layers, stabilization and a scaled title, and a machine that handles ProRes easily can drop to a few frames per second.
Modern hardware decoders help, and on a short social edit with a single camera, cutting native H.264 is often fine. The trouble starts on long projects: multicamera interviews, event coverage, documentaries, or anything with heavy effects. Editing long-GOP H.264 straight off a camera on a long project is a mistake worth avoiding because the cost compounds; every session is slower, every export takes longer, and playback problems hide timing errors that only show up in the final render.
Intermediate codecs and when to use each
Intraframe codecs compress each frame independently, so any frame can be decoded without reference to its neighbors. They use far more data, but modern drives handle that easily, and the processor load is much lower. The two dominant families are Apple ProRes and Avid DNxHD and DNxHR. DNxHD covers HD resolutions; DNxHR extends the family to 2K, UHD and 4K. Both are widely supported across editing, color and compositing applications on macOS and Windows.
| Codec and profile | Bit depth | Chroma | Typical role |
|---|---|---|---|
| ProRes 422 Proxy / DNxHR LB | 10-bit / 8-bit | 4:2:2 | Offline proxies for slow machines or remote editors |
| ProRes 422 LT / DNxHR SQ | 10-bit / 8-bit | 4:2:2 | Lighter editing masters, web-first projects |
| ProRes 422 / DNxHR HQ | 10-bit / 8-bit | 4:2:2 | General editing and most corporate mastering |
| ProRes 422 HQ / DNxHR HQX | 10-bit / 10- or 12-bit | 4:2:2 | Grading, broadcast mastering, high-end delivery masters |
| ProRes 4444 / 4444 XQ / DNxHR 444 | Up to 12-bit | 4:4:4 with alpha on ProRes 4444 | Keying, compositing, graphics with transparency, archival masters |
Two practical workflows follow from this. In a transcode workflow, you convert all camera media to an intermediate codec at ingest and edit those files, which uses more storage but gives the smoothest editing and the most predictable renders. In a proxy workflow, you create small, low-resolution intraframe copies for editing and relink to the original camera files for finishing, which saves storage but depends on the relink working correctly. For long or complex projects, the transcode approach usually pays back its storage cost in time; our guide to planning video file storage walks through sizing drives for it.
Which delivery codec should you use: H.264, HEVC, AV1 or VP9?
Use H.264 when you need a file that plays everywhere, HEVC when you need better efficiency or HDR on devices you know support it, and AV1 or VP9 mostly when a platform or streaming service chooses them for you. For most business video, H.264 in an MP4 container remains the safe default for files you hand to people, while platforms re-encode your upload into whatever mix of codecs they serve.
H.264 (AVC)
H.264 is the most compatible delivery codec in existence. Practically every phone, browser, smart TV, presentation tool and social platform decodes it, usually in hardware. Its weaknesses are efficiency, since newer codecs achieve similar quality at lower bitrates, and a limited practical path for HDR. For a client review copy, a file to embed in a presentation or a video to play on a trade-show screen, H.264 at High profile, 8-bit, 4:2:0 is the choice least likely to cause a phone call.
H.265 (HEVC)
HEVC was developed as the successor to H.264 and is substantially more efficient, which matters most at 4K and for HDR, where it is the common delivery format. It is heavier to encode and decode, and support, while broad on recent Apple devices, current TVs and newer graphics hardware, is less universal than H.264, particularly in older browsers and some Windows setups. Our guide to what actually works with HEVC video covers device support and profiles in detail, and HDR video delivery explains why HDR effectively requires 10-bit codecs such as HEVC Main 10.
AV1 and VP9
VP9, developed by Google, and AV1, developed by the Alliance for Open Media, are royalty-free codecs used heavily by large streaming platforms and in browsers. AV1 is more efficient than both H.264 and HEVC, but encoding it well is slow in software and hardware decoding is mainly found on newer devices. For most businesses the practical relationship with AV1 and VP9 is indirect: you upload a high-quality file, and the platform decides whether to serve AV1, VP9 or H.264 to each viewer based on their device.
| Codec | Compatibility | Efficiency | Encoding speed | Best use |
|---|---|---|---|---|
| H.264 | Near universal | Baseline | Fast | Files handed to people, review copies, embeds, maximum reach |
| HEVC | Broad on modern devices, patchier on older browsers | Higher | Slower | 4K and HDR delivery, Apple ecosystems, storage-limited playback |
| VP9 | Browsers and major platforms | Higher | Slow | Platform-served streaming, WebM for the web |
| AV1 | Growing, strongest on newer hardware | Highest of the four | Slowest in software | Platform-served streaming at scale, bandwidth-sensitive delivery |
Whatever the codec, match frame rate and resolution to the source rather than resampling needlessly. Converting 25 fps footage to 30 fps introduces duplicated or blended frames and visible judder; scaling 1080p up to 4K makes a larger file with no more detail. If a platform needs a particular resolution, our piece on video resolutions and 4K standards covers when upscaling is worth doing and when it only costs bandwidth.
What does chroma subsampling change, and when does it matter?
Chroma subsampling reduces how much color information is stored relative to brightness information, and it matters whenever you key, composite, grade heavily or place fine colored text over video. Use 4:2:0 for delivery, and 4:2:2 or 4:4:4 for mastering and keying.
Human vision is more sensitive to brightness detail than to color detail, so codecs store brightness (luma) at full resolution and color (chroma) at reduced resolution. The three numbers describe a sampling pattern across a small block of pixels. In 4:4:4, every pixel carries its own color. In 4:2:2, color is sampled at half the horizontal resolution. In 4:2:0, color is sampled at half the horizontal and half the vertical resolution, so each color sample covers a block of four pixels.
For a finished video viewed at normal size, 4:2:0 is effectively invisible, which is why every mainstream delivery platform uses it. The damage appears when you manipulate the picture. A green-screen key pulled from 4:2:0 footage has blocky, stair-stepped edges around hair and fine detail because the color boundaries are coarser than the brightness boundaries. Saturated red text or thin colored lines in motion graphics can bleed or fringe. Heavy grading pushes color values apart and exposes the coarse sampling as banding or blotches.
The practical rules are therefore about where in the pipeline you are. Record in 4:2:2 or better if you will key or grade hard. Edit and master in 4:2:2 or 4:4:4 so that graphics, titles and composites are built on full-quality color. Render graphics with transparency in a 4:4:4 codec with an alpha channel, such as ProRes 4444. Convert to 4:2:0 only at the final delivery encode, once. Bit depth works alongside subsampling: 10-bit sources hold far smoother gradients than 8-bit, which is why skies and studio backgrounds band less in 10-bit masters even when the final delivery is 8-bit.
Should you encode with constant rate factor or a target bitrate?
Use constant rate factor (CRF) when quality matters more than an exact file size, and a bitrate target when the file size or streaming bandwidth is the constraint. CRF holds perceived quality roughly steady and lets the bitrate move with the content; a bitrate target holds the size steady and lets quality move instead.
This is the hardest question in practical encoding because both approaches are "right" in different situations, and presets in editing software often hide which one they use. Understanding the difference is what separates encodes that look consistently good from encodes that fall apart in the busiest scenes.
How constant rate factor works
In encoders such as x264 and x265, the libraries behind H.264 and HEVC encoding in FFmpeg and many other tools, CRF tells the encoder what quality level to aim for rather than how many bits to use. Complex, high-motion scenes such as crowds, water, confetti or handheld footage get more bits; static talking heads against a plain wall get fewer. The file ends up as large as it needs to be for that quality. Lower CRF values mean higher quality and larger files. According to the FFmpeg encoding documentation, the x264 CRF scale runs from 0 to 51 with a default of 23, and each step changes the resulting bitrate noticeably; x265 uses a default of 28 because its scale maps differently. Values around 18 are commonly treated as visually close to transparent for H.264, and most practical work falls between about 17 and 28.
How bitrate targets work
With average bitrate or constant bitrate modes, you tell the encoder how many bits per second to use. Constant bitrate (CBR) holds the rate nearly flat, which live streaming and some broadcast systems require because the transmission channel has a fixed capacity. Variable bitrate (VBR) aims for an average but lets individual scenes go above or below it, usually within a maximum you set. The size is predictable: bitrate multiplied by duration. The quality is not. A bitrate that looks superb on an interview may turn to mush on a drone shot over a forest.
Insight: The real question is never "which mode is better" but "what is fixed in this job, size or quality?" Once you know which one the delivery cannot move on, the choice makes itself.
- Archive-grade or client master for further use: do not use either; use an intermediate codec.
- File for a person, a website or a platform upload with no hard size cap: CRF, with a quality value chosen by testing your hardest scene.
- Hard file-size limit, such as an email attachment, a learning-management system or an ad server: two-pass VBR to a calculated target.
- Live streaming or a fixed-bandwidth channel: CBR, with the rate matched to the channel and the content.
- Streaming ladders you encode yourself: capped CRF, which sets a quality goal with a maximum bitrate and buffer so peaks cannot exceed what players can handle.
Capped CRF deserves a word because it combines both approaches. In FFmpeg you pair a CRF value with a maximum rate and a buffer size. The encoder aims for the quality target but will not exceed the peak, which protects viewers on constrained connections while still letting simple scenes use fewer bits. It is the approach many teams settle on for self-hosted web video.
Encoder presets are a separate dial
Speed presets, from "ultrafast" to "veryslow" in x264 and x265, control how hard the encoder searches for efficient ways to describe each frame. Slower presets produce smaller files at the same quality, or better quality at the same size, at the cost of encoding time. For a final delivery file that will be watched many times, "slow" or "medium" is usually a sensible balance; the extra minutes are spent once. Hardware encoders built into graphics cards and Apple silicon are dramatically faster, and quality has improved considerably, but at equal file size they generally still trail a slow software encode. They are well suited to review copies and turnaround-critical drafts.
When is two-pass encoding worth the extra time?
Two-pass encoding is worth it whenever you have to hit a specific file size or average bitrate, because the first pass analyzes the whole video and the second pass spends the bit budget where it is needed most. If you are encoding with CRF and have no size target, a second pass adds time and little benefit.
In a single pass with a bitrate target, the encoder must allocate bits as it goes, without knowing whether a hard scene lies ahead. It either overspends early and starves the end, or plays safe and leaves quality unused. In the first of two passes, the encoder analyzes complexity across the entire timeline and writes a statistics file. The second pass uses that map to give a complex opening montage more bits and a static closing slide fewer, while landing on the target average. The result looks more even at the same size.
Worked example: fitting a five-minute video under a size cap
This is an illustrative example, not a client project. A training team needs a five-minute, 1080p, 25 fps product walkthrough uploaded to a learning platform that rejects files over 250 MB. The source is a ProRes 422 master of the finished edit.
- Convert the limit to bits. 250 MB is 250 multiplied by 8, or 2,000 megabits. Leave a safety margin of about 5 percent for container overhead and rate variance: roughly 1,900 megabits.
- Divide by duration. Five minutes is 300 seconds. 1,900 divided by 300 is about 6.3 megabits per second for audio and video combined.
- Subtract audio. AAC stereo at 192 kilobits per second is about 0.19 megabits per second, leaving about 6.1 megabits per second for video.
- Encode in two passes. Run a first pass at 6.1 Mb/s with audio disabled and output discarded, then a second pass at the same target with audio included.
- Check the result. Expect a file around 235 to 240 MB. Watch the hardest scene, here a fast screen-recording scroll, at full size before sending.
For comparison, the same timeline encoded at CRF 20 might come out smaller or larger depending on how much motion it contains, and there is no way to know without trying. That uncertainty is fine for a website upload with no cap and unacceptable for the learning platform. The calculation above also tells you something useful in advance: 6 Mb/s is comfortable for 1080p H.264 talking heads and screen recordings at 25 fps. If the same cap applied to a 20-minute video, the budget would drop to around 1.5 Mb/s, and the honest answer would be to lower resolution to 720p, shorten the piece, or ask for the limit to be raised rather than deliver something blocky.
How much quality do you lose each time you re-encode?
You lose some quality every time you re-encode with a lossy codec, and the losses accumulate: each generation discards information again and adds its own artifacts on top of the previous generation's. How much depends on the codec and settings, but with delivery codecs at modest bitrates, the degradation becomes visible surprisingly quickly.
Generational loss is the reason most of the good practices in this article exist. A delivery file has already had most of its fine detail, grain and subtle gradients removed. When you decode it and encode it again, the encoder does not know which details are real and which are artifacts from the last pass, so it spends bits preserving blocking and ringing while discarding more real texture. Gradients band, edges shimmer, and dark areas become blotchy.
Common ways it happens without anyone intending it:
- A client sends an MP4 downloaded from a social platform as the "master" for a new cut, so the new edit starts two or three generations deep.
- An editor exports each revision as H.264, imports it into the next project for a small change, and exports again.
- A motion graphics artist renders an animation to H.264 for the editor, who places it in a timeline and exports to H.264 again.
- A stabilization or noise-reduction pass is rendered to a compressed file before editing, then compressed again at delivery.
The fix is structural. Keep the chain in intermediate codecs from ingest to master, and encode to a delivery codec exactly once, at the end. When a finishing process such as video stabilization or cleanup is applied, render its output to ProRes or DNxHR rather than to a compressed format. When you only need to trim the start or end of a delivery file, a stream copy in FFmpeg can cut at keyframes without re-encoding at all, which avoids a generation entirely.
An intermediate codec is not overkill for a short social video; it is the difference between encoding once and encoding four times.
Should you compress video yourself before uploading, or let the platform do it?
Deliver the highest quality the platform accepts and let it do its own transcode. Platforms such as YouTube, Vimeo, LinkedIn and the major social networks always re-encode what you upload, so a heavily compressed upload becomes a second-generation file after their encode, and it looks worse than a high-quality upload processed the same way.
This runs against the instinct to "optimize" files before uploading. The platform's encoder is going to create its own set of renditions at several resolutions and bitrates, often in more than one codec, sized for whatever device and connection each viewer has. It cannot recover detail you removed. Uploading a pre-compressed file to a platform that will compress it again is one of the mistakes most responsible for soft, blocky social video from organizations whose original footage was excellent.
Pros
- A high-quality upload, such as high-bitrate H.264, HEVC or even ProRes where accepted, gives the platform's encoder the cleanest possible source.
- Every rendition the platform creates, from mobile to 4K, is one generation from a near-master rather than two from a delivery file.
- Future re-encodes by the platform, when it adopts newer codecs, start from your better source.
- You avoid spending time tuning an encode the platform will discard anyway.
Cons
- Uploads are much larger and take longer on slow or metered connections.
- Some platforms and scheduling tools impose file-size or bitrate caps that force you to compress first.
- Processing on the platform can take longer before the highest-resolution version is available.
- Very high bitrates offer diminishing returns; beyond a point the platform's encode is the limiting factor, not your file.
The balanced approach is to check each destination's published upload guidance, then deliver a high-bitrate file inside those limits. For most social and video platforms, a high-bitrate H.264 or HEVC at the source resolution and frame rate, 4:2:0, with AAC audio, is accepted widely and gives the encoder plenty to work with. Where a platform caps upload size, a two-pass encode to just under that cap uses the allowance fully. The exception is self-hosted video on your own website or app, where no platform re-encodes the file, so your encode is the one viewers receive and deserves the careful CRF or capped-CRF approach described above. Our guide to publishing and scheduling video covers platform-by-platform delivery and the scheduling tools that sometimes add their own compression.
What should a delivery specification include, and how do you meet one?
A usable delivery specification names the codec and profile, container, resolution, frame rate, bit depth, chroma subsampling, color space, audio format and loudness, and file naming, and you meet it by encoding from the master once and verifying the output against every line. If any of those items are missing, the specification is incomplete, and guessing is how rejected deliverables happen.
At the demanding end, streaming services publish detailed technical requirements. The Netflix Partner Help Center is a useful example of how precise a professional delivery specification is, covering source capture requirements, mastering formats, color spaces, audio and packaging. Broadcast and premium streaming masters are commonly packaged in formats built on standards from SMPTE, such as the Interoperable Master Format, which exists so that one master can be versioned for many territories and platforms without re-encoding everything.
Most business video will never face that level of scrutiny, but the same discipline scales down well. A franchise network, a government department or a regulated financial firm often needs consistent files across many locations and suppliers. Writing down a house specification, even a one-page one, removes most of the guesswork that causes avoidable re-exports. Our guide to franchise video standards shows how a short technical spec keeps dozens of locations' videos consistent.
A practical house specification
| Deliverable | Codec and container | Settings | Purpose |
|---|---|---|---|
| Master | ProRes 422 HQ or DNxHR HQX in .mov or .mxf | Source resolution and frame rate, 10-bit 4:2:2, uncompressed PCM audio | Archive and source for all future versions |
| Textless master | Same as master | No burned-in titles or subtitles | Translations and re-versioning |
| Platform upload | H.264 or HEVC in .mp4 | Source resolution and frame rate, high bitrate within platform limits | YouTube, Vimeo, social |
| Web embed or share copy | H.264 in .mp4 | CRF around 18 to 22, 8-bit 4:2:0, fast-start enabled, AAC | Self-hosted playback, email links, presentations |
| Review copy | H.264 in .mp4 | Lower resolution acceptable, burned-in timecode | Client feedback with precise references |
Two settings in that table catch people out. The fast-start flag moves the file's index to the beginning so a browser can begin playback before the whole file downloads; without it, a self-hosted MP4 can sit on a blank player until the download finishes. And 8-bit 4:2:0 must be set explicitly when encoding from a 10-bit 4:2:2 master; otherwise some encoders carry the master's format through to a High 4:2:2 or 10-bit H.264 file that many players and browsers refuse to open.
How to check an encode before it goes out
Check every encode by inspecting its technical properties with a tool, then watching the hardest sections at full resolution on the kind of screen the audience will use. A file that plays on the editor's workstation is not proof that it will play, or look right, anywhere else.
- Codec, profile, resolution, frame rate, bit depth and chroma subsampling match the specification, confirmed with MediaInfo or ffprobe rather than the export dialog.
- Duration matches the master to the frame; no dropped or duplicated frames at the head or tail.
- The hardest scenes, such as fast motion, fine texture, dark gradients and fades, are free of blocking, banding and smearing.
- Audio is in sync at the start, middle and end, at the right sample rate and loudness, with no clipping.
- Colors look consistent with the master on a second device; no shift from a mismatched color tag.
- The file opens and plays on at least one phone and one browser if it will be viewed there.
- File size falls within the destination's limit, with margin.
- File name follows the agreed convention and identifies version and date.
Color shifts deserve special attention because they are often blamed on codecs when the real cause is metadata. A file encoded without proper color tags, or with the wrong ones, can look washed out or overly contrasty in some players because they guess at how to interpret it. Most modern web and SDR delivery should be tagged as Rec. 709; HDR has its own requirements. The broader process of catching these problems, and deciding who signs off, is covered in our guide to video quality control.
How should you archive video so it outlives the software that made it?
Archive a mastering-quality file in a widely documented codec, kept separate from delivery files, together with the project files, graphics, audio stems and a written record of the specifications, and store at least two copies in different places. The master should be something you could open and re-deliver from in a decade without the editing application that produced it.
Delivery files are poor archives. They are already compressed for one purpose, and any future version, such as a recut, a new aspect ratio, a translated edition or a higher-resolution platform, will start a generation down. Project files alone are also poor archives because they depend on specific application versions, plug-ins, fonts and media paths that decay quickly.
Choosing an archival codec
For most organizations, ProRes 422 HQ or ProRes 4444, or DNxHR HQX or 444, are sensible mastering archives: widely supported, well documented and visually lossless. Where exactness matters, for heritage collections, legal records or material that will be restored, lossless codecs are the stronger choice. FFV1, an open lossless codec standardized by the IETF and supported by FFmpeg, is widely used by memory institutions, typically in a Matroska container, precisely because its specification is public and does not depend on any one vendor's software. Institutions that must think in decades, such as archives and museum collections, often adopt it for that reason.
- Keep the master separate. Store masters in a different folder structure, and ideally different storage, from delivery files so no one mistakes an MP4 for the source.
- Keep a textless version. A master without burned-in titles and subtitles saves rebuilding the edit for every translation.
- Record the specification. A plain text file listing codec, resolution, frame rate, color space, audio layout and loudness travels with the master.
- Verify with checksums. Generate checksums when archiving and check them periodically and on every migration, so silent corruption is detected.
- Plan migrations. Every few years, confirm the archive still opens in current software and copy it to fresh media before the old drives or formats become a problem.
When should you bring in help with codecs and compression?
Bring in help when playback is choppy on capable hardware, when a delivery specification is unfamiliar, or when archive files need to outlive the software that made them. Each of those signals a structural problem that costs far more time to solve by trial and error than by having someone set up the workflow properly once.
Choppy playback on a powerful machine almost always means the project is being edited in a long-GOP delivery codec, has mismatched frame rates, or is running effects that need a proper transcode or proxy workflow. An unfamiliar delivery specification, whether from a broadcaster, a streaming service, an ad network or a regulated industry, is where rejected files and missed deadlines come from; teams working in financial services, for instance, often face strict archiving and accessibility requirements alongside the technical ones. And archives are a long-term commitment that deserves a deliberate decision rather than whatever the export preset produced.
A good post-production partner will set up ingest, transcoding, proxies, mastering and delivery as one chain, so that footage is encoded to a distribution format exactly once. That is part of what professional video editing and production should include without being asked, and it applies whether the job is a single creative edit for social or a series of long-form productions.
Verdict Treat video codecs and compression as three separate decisions: an intraframe intermediate such as ProRes or DNxHR for editing, a single final encode to a distribution codec such as H.264 or HEVC for delivery, and a mastering-quality archive kept apart from both. Use CRF when quality is the priority, two-pass bitrate targets when size is fixed, upload the highest quality each platform accepts, and never re-encode a compressed file when you can go back to the master.
Where this comes from
- FFmpeg — Encoding documentation
- Netflix Partner Help Center — Delivery specifications
- SMPTE — Standards for digital video
The figures and practices above come from the sources listed.
Working on something like this?
We take on Video Editing & Production work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.
Where to go next
Spotted something wrong? Report an error on this page. We correct on the page and say what changed.





