A codec is a program that automatically records and transforms video and audio recordings. The most commonly used are MPEG2 and MPEG4 codecs. Older devices, such as DVD players, may not support modern formats, but computer incompatibility can be solved by downloading and installing the appropriate codec.