Is a format of audio/video data, which is the most popular today. It can contain files encoded by different codecs, but they will be played in sync and create a unified image to the end user. AVI container supports function in multi-threaded mode, and allows different ratios of audio and video codecs.
GIF is a format for the exchange of images. It is a popular format graphics. Capable of storing compressed data without loss of quality in the format of not more than 256 colors. GIF format was developed in 1987 (GIF87a) by company CompuServe for transferring raster images over networks. In 1989, the format has been modified (GIF89a), have been added support transparency and animation.