OGV is a video file format that uses an open OGG container. The name of the format is also associated with this - an abbreviation for Ogg Video File. The developer of both formats is Xiph.Org. The OGV format stores video streams that use either one or several different codecs (for example, Theora). OGV files can be played on almost any media player. They are also used when displaying web pages using HTML5, however, these files (even videos) often have the .OGG extension. OGV video compression is lossy.
AVI is a video file format developed by Microsoft. The Video for Windows package, within the framework of which the AVI format appeared, was developed by this company in November 1992. It was intended for the operating system Windows 3.1. Since then, for a quarter of a century, the AVI format has remained the main one for storing video files in all versions of Windows operating systems. The name of the format is an abbreviation of the full name Audio Video Interleave File. The format is used to store video data encrypted using a variety of codecs. AVI files, as a rule, use much less compression in comparison with similar formats.