Your video won’t play because the container or the codec doesn’t suit the device. MP4 with H.264 video and AAC audio is the safest answer almost everywhere. If that file still won’t open, converting it to that combination fixes the problem in most cases. This guide explains the difference between containers and codecs, the common formats, and how to convert your own videos in 2026.
Container vs. codec: the basics
Think of the container as the envelope and the codec as the engine. The container (MP4, MKV, MOV, WebM, AVI) bundles video, audio, subtitles and metadata into one file. The codec (H.264, VP9, HEVC, AV1) is the algorithm that compresses the pixels.
That split explains most playback headaches. Two files can both end in .mp4 and still behave differently, because the codec inside is not the same. A player may understand the envelope and fail on the engine.
| Container | Video codec | Audio codec | Typical use |
|---|---|---|---|
| MP4 | H.264 | AAC | Phones, computers, browsers, TVs, game consoles, streaming platforms |
| WebM | VP9 | Opus | Web video, open-source friendly |
| MKV | HEVC | AAC | Flexible storage, limited native support |
| MOV | ProRes | PCM | Apple ecosystem, editing workflows |
MP4
MP4 is the default choice. Paired with H.264 and AAC, it plays on every modern phone, computer, browser, connected TV, game console and streaming platform. Use it whenever you don’t know where the file will end up.
WebM
WebM is an open-source web format created by Google. It carries VP8, VP9 or AV1 for video and Vorbis or Opus for audio. Chrome, Firefox and Edge play it natively. It suits video embedded in web pages.
MKV
MKV is a flexible container that holds many kinds of streams. Its weakness is native support: many devices won’t open it without extra help. It works well for storage on a computer and less well for sharing.
MOV
MOV is Apple’s legacy container. You will meet it with phone and camera recordings, and with professional codecs such as ProRes. If a MOV file gives trouble elsewhere, converting it to MP4 is the usual way out.
AVI
AVI is a Windows legacy format. You will still run into old files, but it is rarely the right choice for anything new.
Video codecs explained
H.264: everywhere, which is its main strength. It comes with patent licensing, but that rarely matters to someone converting personal files. Together with AAC, it remains the most widely compatible pair in 2026.
VP9: a royalty-free codec from Google. It produces smaller files than H.264 and avoids the licensing complications of proprietary codecs. It is at home on the web, and the WebM specification accepts only VP8, VP9 or AV1.
HEVC (H.265): compresses better than H.264, but adoption has been slow. Pick it when you control the playback devices.
AV1: the newer option, built for efficiency. Adoption is under way in 2026, though it is not yet universal on consumer devices.
For each one, ask the same three questions: how well does it compress, who can play it, and what does it cost to use? The answer to the second question usually decides.

Also read: How to Free Up Storage Space on Your Phone and Computer
How to choose a format
Start from the device that will play the file, not from the file itself.
Must play for everyone? Use MP4 with H.264.
Embedding in a modern web page? Use WebM with VP9.
Need very small files and can accept narrower support? Look at AV1.
Archiving on your own computer? MKV is a comfortable container.
When in doubt, choose the first option. A file that plays everywhere is worth more than a file that is slightly smaller.
How conversion works
Converting a video between codecs is called transcoding, and it happens in three steps. First, the tool decodes the source with its current codec. Second, it processes the video: resizing, cropping, filtering, and optionally changing the frame rate. Third, it encodes a new file with the target codec and bitrate.

Three settings matter most. Bitrate is how much data is spent per second of video, and it drives both size and quality. Resolution is the pixel dimensions of the picture. Frame rate is how many images are shown per second. Lowering any of them shrinks the file, and lowering them too far costs visible quality.
Changing only the container, without re-encoding, is a lighter operation. Changing the codec means a full pass through the three steps.
HandBrake
HandBrake is the best free desktop converter for most people in 2026. It offers device presets, quality controls, a preview, subtitle and chapter handling, and a work queue. Version 1.11 (March 2026) added ProRes and DNxHR encoders, MOV output, 10-bit AV1 on the GPU, and AV1 decoding through VideoToolbox on Apple Silicon. Pick the preset that matches your target device, check the preview, and start the queue. We have no benchmark of its GPU performance on specific hardware, so we make no speed claims.
FFmpeg
FFmpeg is the tool for scripted pipelines. It is more flexible than HandBrake for automation and batch work. It runs from the command line, so it takes more patience at first. It pays off the moment you have many files to process.
VLC Media Player
VLC can also convert, and it is a handy fallback when you cannot install anything new on a locked-down computer.
Online and paid tools
CloudConvert, FreeConvert and Convertio work in the browser, with no installation. They suit people without admin rights on their computer. Upload only videos you own and are comfortable sending to a third party.
At the higher end, Shutter Encoder and Compresso target users who want more than a basic converter. We could not confirm their pricing or subscription models, so we give no prices here. Check the publisher’s own page before you decide.
Verdict by profile
Beginner with a few files: HandBrake, with the preset for your device, outputting MP4.
Locked-down work computer: VLC if it is already there, or an online tool such as CloudConvert, FreeConvert or Convertio.
Someone with a large library: FFmpeg with a script.
Someone who wants to publish on the web: WebM with VP9, plus an MP4 fallback.
Someone chasing the smallest files: AV1, if every device you care about can play it.
Advanced user wanting a polished paid tool: Shutter Encoder or Compresso are worth a look, after you check current terms.
Customers of these tools generally look for ease of use, preview before committing, and predictable output. Those are the same things that make HandBrake a safe first pick.
Tips for quality and file size
Match the bitrate to the content. A film, a cartoon and a screen recording compress differently, because the amount of motion and detail changes. A screen recording with static windows can be squeezed more than a fast action scene.
Some modern transcoders analyze visual complexity before encoding and adjust bitrate, resolution and codec settings on their own. Treat those smart presets as a starting point, and always check the result.
Resizing and compressing are different levers. Resizing reduces pixel count. Compression changes how efficiently those pixels are stored. If the file is still too big, try one, preview, then the other. Every gain in size has a trade-off in quality, so keep your original until you are happy.
One boundary applies throughout: convert your own videos. This guide does not cover tools that pull content from YouTube, TikTok or streaming services, and we do not recommend them.
Why won’t my YouTube videos convert?
Downloading from YouTube and similar services is not allowed, so we don’t point to tools that do it. Convert videos you recorded or own.
What is the best codec overall?
For universal playback, H.264 in an MP4 file with AAC audio.
Is AV1 ready?
On efficiency, yes. On mainstream adoption, not yet. We can’t say when that will change.
I have 1000 videos to convert. Where do I start?
Start with FFmpeg and a script. Test the settings on a few files first, then run the whole batch.
The facts in this guide draw on BlazingCDN, Shotstack, Pixflow, Muvi, Computing for Geeks and Documentary Tube.



