H.264 is the most popular compressor because it retains most of the original source file's quality while compressing the file up to 80 percent. The quality of video is less than MPEG-2 and higher than MPEG-4. This makes it ideal for Internet use and computer viewing.
MPEG-2 is a multi-pass compressor. A multi-pass compressor scans the entire source file in one pass and then compresses the file into the best-possible quality in the second pass. MPEG-2 files are much bigger and have a better quality than H.246 and MPEG-4 files, which makes them the best compression option for DVDs. Most DVD-burning programs only burn video files that are MPEG-2.
MPEG-4 is a faster compressor than H.264 and MPEG-2 because it is a single-pass compressor. It was designed for multimedia applications. Most audio or video files you buy from the Internet are MPEG-4 files because they are ideal for streaming on the Internet or putting on your phone. The picture is a lower-quality than a file created using H.264 or MPEG-2 compression.