MPG is commonly associated with video and audio compressions MPEG-1 or MPEG-2. This is designed to compress audio and video to formats that can be downloaded. Movies with this extension are of lower sizes and greater quality, but quality differs from original VCR videos. This file format can run on Mac, Windows and other portable devices.
MPEG-1 is a standard for lossy compression of video and audio. It is designed to compress VHS-quality RAW digital video and CD audio down to 1.5 Mbit/s (26:1 and 6:1 compression ratios respectively) without excessive quality loss, making video CDs, digital cable/satellite TV and digital audio broadcasting (DAB) possible. Today, MPEG-1 has become the most widely compatible lossy audio/video format in the world, and is used in a large number of products and technologies. Perhaps the best-known part of the MPEG-1 standard is the MP3 audio format it introduced.
Similar to the MKV file extension, WEBM is a file format developed by a number of parties, including Google. Launched in 2010, it is open source format designed to deliver video through the web. It can be used for a variety of types of video, from video calls to high definition movies. WebM is growing, and by using the HTML5 version of YouTube, it is possible to watch video encoded in WebM.
Like the MKV file extension, the WEBM extension is developed by various online parties such as Google, it is a freeware offering streaming of online video content and it was first developed in 2010. By using the HTML5 version of YouTube one can watch video encoded in WEBM.
WebM benefits from being designed for use on the modern web, rather than for local use. This means the format is specifically designed for the wide range of devices that are used to access the web, from Smart Phones to Powerful PCs. The video element of the file is encoded using VP8 video codec and the audio element of the file is encoded using the Vorbis audio codec.
Encoding and deciding in WEBM format is possible while using the ffvp8 software or libvpx from the Google support. When it comes to the Android support a version of 2.3 (Gingerbread) and above allowing playback of WEBM format can be used for encoding and decoding. Back in 2001 using Rockchip a full hardware implementation of 1080p VO8 encoding was made possible.
Google (Previously developed by On2, Xiph, and Matroska)