In-depth reference · video

Video codecs and bitrate

Learn MP4 vs MOV vs WebM, H.264, AV1, bitrate and playback debugging.

About this guide: Educational reference with reproducible procedures, clear limitations and links to compatible site tools. No invented benchmark statistics or guaranteed cross-browser capabilities.

A video file has more than one format at the same time. A filename such as interview.mp4 typically identifies a container, while the video frames inside might be compressed using H.264, H.265/HEVC or AV1. The same container can also carry an audio track, subtitles, chapters and metadata. Playback succeeds only when the destination can understand the combination of container, codec, codec profile, resolution and audio format. Understanding that stack avoids needless conversion and confusing compatibility failures.

Quick diagnosis: “It is an MP4” is not a full technical description. Ask for the container, video codec/profile, audio codec, frame rate, dimensions and whether the recipient needs editing or playback.

1. Container versus codec: the most common mistake

A container is the package that organizes one or more streams with timing information and metadata. MP4, MOV, MKV and WebM are containers or container families. A codec encodes and decodes image or sound data. H.264/AVC, HEVC, VP9, AV1 and ProRes are video codecs or codec families. AAC, Opus and PCM may appear as audio streams.

Two .mp4 files can be incompatible with the same old device because one holds H.264 and the other AV1; changing .mp4 to .mov cannot make a missing AV1 decoder appear. Conversely, remuxing moves encoded streams into a different compatible container without recompressing the video. A transcode decodes and re-encodes streams, usually consuming more time and sometimes introducing quality loss.

For a quick investigation, read the technical fields using our File Inspector or another trusted probe tool. Do not trust the extension alone.

2. The codec tradeoff: compression, quality, time and support

Codec Common delivery context Strength Important limitation
H.264 / AVC MP4, broad playback Mature compatibility, hardware support Less efficient than newer codecs at some settings
H.265 / HEVC MP4/MOV, devices and HDR workflows Efficient compression options Licensing and device support vary
VP9 WebM and some streaming Open web-oriented ecosystem Encoder and hardware support differ by system
AV1 WebM or MP4 when supported Modern efficiency Encoding complexity and compatibility vary
ProRes MOV production/editing Designed for robust editing workflows Large files, not ideal for browser delivery

A codec's outcome depends on the implementation, bitrate, presets, source content and playback hardware. A codec with better efficiency under one test may be slower to encode or unavailable on the target device. Do not declare AV1, HEVC or H.264 universally best without specifying the test conditions and audience.

Codec profiles, levels and chroma formats also matter. Hardware may handle common 8-bit 4:2:0 H.264 while rejecting less common combinations. HDR workflows add color primaries and transfer functions; an apparent “washed out” image can be a tone-mapping or color metadata issue rather than a bitrate problem.

3. MP4, MOV, MKV and WebM at a glance

MP4 is widely used for distribution and can support several modern audio/video formats. MOV is closely associated with QuickTime and production workflows, and may hold editing-oriented codecs. MKV offers flexible stream and subtitle packaging, but compatibility with browser video elements is less predictable. WebM is designed for web media with a defined family of compatible codecs; commonly used combinations include VP9 or AV1 video with Opus audio.

Destination Sensible starting profile Verify before release
Broad browser playback MP4 with H.264 video + AAC audio Play in target browsers/devices
Modern web delivery WebM/AV1 or VP9 with MP4 fallback Actual device hardware/software support
Editing handoff Requested production codec/container Timeline compatibility, color and frame rate
Subtitle-rich archive Container matching agreed playback workflow Track languages, fonts and chapters
Social media upload Platform's current published specifications Upload processing and output quality

These are starting points, not promises. A specific platform can impose different constraints, and browser support continues to evolve.

4. Bitrate, frame rate and why file size changes

Video bitrate is the average number of encoded bits per second, not the display resolution. A simple size estimate is:

estimated megabytes ≈ duration in seconds × combined bitrate in megabits/second ÷ 8

Example: for a 120-second clip with 4 Mbps video and 0.192 Mbps audio, total bitrate is 4.192 Mbps. Estimated payload size is 62.88 MB using decimal MB, before container overhead and differences from variable-rate encoding. This is a deterministic calculation, not a measured output for a particular video.

Frame rate affects motion smoothness and compression opportunities. A 60 fps video has twice as many frame times as a 30 fps video at identical duration, but not necessarily twice the bitrate or size: inter-frame compression exploits repeated information. A fast-moving sports scene typically needs different choices than a mostly static talking-head interview.

Try your own estimate with the interactive calculator on this handbook. Compare it with an exported file. Large differences can result from variable bitrate, nonconstant duration, encoded audio bitrate, metadata and encoder behavior.

Video file size estimator

Estimate payload size from duration, video bitrate and audio bitrate. It does not transcode anything or measure a real file.

Estimated payload: 62.88 MB (decimal)

5. Resolution, sampling and perceived quality

Resolution such as 1920 × 1080 describes picture dimensions, not perceived sharpness. A heavily compressed 4K export may show fewer useful details than a carefully encoded 1080p source. Upscaling 720p material to 4K adds pixels but does not recreate original captured detail. Frame rates and aspect ratios should be chosen for the creative source and display, not because larger numbers always improve quality.

Video pipelines often store color information with reduced chroma detail, commonly 4:2:0. That can be suitable for natural images but may harm tiny colored text or UI recordings. If your material is screen capture with fine red/blue edges, examine the export at actual viewing size and test a high-quality preset. Professional grading/editing workflows may use 10-bit, 4:2:2 or higher chroma precision but require suitable hardware and software.

The viewer's display matters too: HDR-transfer video shown as SDR without correct mapping may look too dark, flat or desaturated. Evaluate export on a device similar to the intended audience's hardware.

6. Variable frame rate, audio sync and subtitles

Phones and screen recorders sometimes produce variable-frame-rate (VFR) material. Not every editing application handles it equally. Audio drift, duplicate frames or jerky playback can arise from mismatched timestamps, frame conversion or a poor remuxing step. If timing problems appear in an editor, investigate timestamps and consider a validated constant-frame-rate intermediate when the workflow requires it.

Subtitles add another layer. SRT is a widely used text caption format, while WebVTT is used in web contexts. Subtitles may be external sidecar files or embedded container tracks, with different timing and styling support. A converted video can play perfectly yet lose captions if the workflow ignored them.

Check the first, middle and final minute of a long output. Verify mouth-to-speech synchronization, subtitle offsets and all audio channels. The SRT vs VTT guide explains caption formatting in more detail.

7. Choose remuxing or transcoding deliberately

If a stream uses codecs accepted by a different container, remuxing can avoid recompression. But remuxing is not always valid: the target container may lack support for particular codec features, subtitle types or auxiliary data. If the recipient lacks the decoder, a transcode is necessary. A transcode can also resize video, reduce bitrate, convert HDR to SDR or change frame rate, but each step changes the data.

For archival or editing handoffs, keep the original camera file and make delivery exports separately. For uploaded web video, test target settings on a 10–20 second representative excerpt including motion, speech, shadows and detail. A one-frame screenshot cannot adequately represent temporal compression artifacts.

Our Video Converter is a browser-side utility whose actual capabilities depend on browsers, available codecs and the specific implementation. It is not a promise of every professional video format or lossless production transcoding. Consult the tool's supported formats before relying on it.

8. A reproducible delivery test

  1. Select a short video you own with action, still details and speech. Keep the original.
  2. Record the input's container, video/audio codecs, duration, frame rate and dimensions.
  3. Choose the target: web playback, social upload or editing; define a real compatibility requirement.
  4. Export two configurations at the same resolution and frame rate, using clearly recorded encoder and bitrate settings.
  5. Compare actual file sizes and playback behavior on at least two destination devices. Look for banding, macroblocking, motion smearing and audio drift.
  6. Test embedded/external captions, seeking and the first/last seconds. Verify the final output, not merely the encoder's “completed” message.

A useful benchmark table records source / encoder version / codec + profile / settings / average bitrate / output bytes / encode time / device tested / observed issue. Do not compare codecs at completely different visual qualities and describe the result as a universal efficiency ranking.

9. When things go wrong

MP4 plays audio but not video: the container may be supported while its video codec or profile is not. Inspect codec information and use a compatible transcode.

MOV is huge: the source may contain an editing-friendly, less compressed codec such as ProRes. Compare against the required delivery format before shrinking the master.

Video looks worse after conversion: lossy encoding cannot recreate original detail. Avoid multiple generations and compare against the best available source.

Audio gradually drifts: investigate timestamps, VFR sources, sample-rate conversion and encoder settings.

Dark/HDR footage looks flat: verify color primaries, transfer characteristics and SDR tone mapping. Container relabeling does not solve it.

Subtitles disappeared: check whether the chosen container/export preserved or excluded caption tracks.

Phone overheats or export fails: large frames, many streams and codec software encoders can exhaust browser/device resources. Break up work or use an appropriate desktop workflow.

10. Publish with confidence

Try it now: Video Converter · Video Frame Extractor · File Inspector · Web Video Formats Guide.

Technical references