M2TS is a video file format that contains Blu-ray BDAV high-definition HD video. This is video from Blu-ray discs and digital camcorders. The .m2ts extension means “MPEG-2 Transport Stream”. However, it is associated as the narrower container format BDAV, which is the standard Blu-ray format for consumer video discs. The original name for the file type is Blu-ray BDAV Video File. The format was developed by Sony. It arose after the introduction of new Blu-ray media. The audio and video transmission protocol M2TS, i.e., MPEG-2 Transport Stream, was created based on MPEG-2. In fact, this is his advanced modification. The protocol supports error correction if partial data loss occurs. A .m2ts file is a BDAV container that contains digital multimedia data that is compressed by one of the videos available in the H.262, H.264, VC-1 format. And some audio codecs, too. This is Dolby AC3, PCM. There are several video and audio streams in one M2TS file. There are also subtitle tracks that can be selected during playback. Most modern video players support .M2TS format. For smooth playback, you need a powerful computer. Such a video can be edited using the professional program Sony Vegas Pro.
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.