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.
TS is a common file format for streaming video. It is used to store video images on DVD discs. Playback is possible using a variety of DVD players and tools that edit the video. In TS format, video compression is performed using MEPG-2. This is the video codec standard (.MPEG). TS files (or Video Transport Stream File) are stored on a DVD. Their structure consists of several separate files: "moviename 1.ts", "moviename 2.ts", etc. They can be played back by software that is designed to play DVDs. Video editors are also suitable for this. In order to broadcast HDTV (high-definition television), the TS format is also used, which is specially designed taking into account that the signal reception capabilities may change. TS format provides the ability to correct errors if the signal is weak. If you compare with other formats, it also better synchronizes the video stream. TS is designed to store and transmit audio, data and video in ATSC and DVB systems. TS files can be reformatted to .QPH files using the conversion utility provided with Nokia Qt SDK. Compared to TS, files with the extension QPH can be used for more applications. TS and QPH files are stored in XML format.