# What is a codec?

Source: https://convcc.com/glossary/codec/ (updated 2026-11-20)

A codec is the method used to compress and decompress audio or video: H.264, HEVC, VP9 and AV1 for video; AAC, MP3 and Opus for sound. The codec, not the file extension, decides whether a device can play a file.

## Why it matters when you convert

It explains why two .mp4 files behave differently, and why a video plays its sound but shows a black picture: the player understands one codec inside the file and not the other. Converting a video usually means encoding it again with a codec everything supports.

ConvCC writes MP4 files with H.264 video and AAC sound, the pair that phones, browsers, TVs, editors and social networks all accept.

When a file already uses those codecs, they are copied into the new file instead of being encoded again, so nothing is lost and it takes seconds.

Encoding again with a lossy codec discards a little detail each time, which is why the original is worth keeping.
