The .mpg format is used for any video or MPEG animation using the MPEG-1 or MPEG-2 codec, both of which were designed for lossy compression of audio and video.
ຮູບແບບ .mpg ຖືກນໍາໃຊ້ສໍາລັບວິດີໂອຫຼືພາບເຄື່ອນໄຫວ MPEG ໃດໃຊ້ MPEG-1 ຫລື MPEG-2 codec, ຊຶ່ງທັງສອງໄດ້ອອກແບບມາສໍາລັບ compression lossy ຂອງສຽງແລະວິດີໂອ.