Different devices require different codecs in order to stream content. Video encoding is the process of compressing a video file so that it can be delivered across the internet. This compression is done through a codec, which is a two-part tool that allows distributors to condense a video file.