Next to praising the AV1 Codec and providing conversion examples (using ffmpeg
), Andrey Sitnik also gives a good overview on containers and codecs – concepts every web developer who embed video should know imho – in his post on the subject:
File extensions for video (
.mp4
,.wmv
,.webm
or.mov
) barely represent containers. When you see a.mp4
extension, the only thing you can be sure about is that the MP4 container had been used to package a file. The choice of codec depends entirely on a creator: it can be H.264/AAC, or AV1/Opus, or something else.