ALAC is the format of a small specialized program called an audio codec. Its main task is to compress a file with digital music without losing its quality. The name of the format created by Apple's IT giant is Apple's abbreviation Lossless Audio Codec. This format may also be called ALE (from Apple Lossless Encoder). Files in this format can play devices even with limited computing resources - such as an iPod. When compressing a file in this format, it is approximately 40-60% of the original file. Now almost every multimedia player based on the libavcodec library is able to play ALAC format files.
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.