Since digital video development began in 1988, new video formats are developed each year with the improved recording quality, smaller file size, and rendering mode. In order to post videos online, and enable viewing on various mobile devices or screens of larger dimensions, video content must be recorded in different formats. Today, we strive to make video content as realistic as possible, so that compression and interpolation mechanisms of formats do not cause significant data loss during the formatting, and that they would not be too large within such video format. That is why there are codecs that regulate optimal results. The theoretical part of this thesis describes the basic concepts, such as formats and codecs, and other contents that are directly related to the recording of video. The theoretical part was then utilised in the creation of the foundation for experimental work, which helped to evaluate the purpose of various types of video codecs, their advantages, and disadvantages. The aim was to determine how to adequately capture, edit and export the video, as well as how to determine the parameters that need to be considered so that the results are as optimal as possible. When recording video content, several variables were considered: the number of frames per second, the encoding mode in dependence on bitrate, and others. The experimental part of the thesis shows that the most useful codec among compared codecs is H.264 / AVC. This codec is also best used for YouTube videos and Instagram posts, but the limited nature of the ratio must be kept in mind. The minimum limit is when sending files through e-mail. The purpose of this thesis is to showcase how to adequately capture, edit and export video, and determine the parameters that need to be considered through practical experimentation to achieve the most optimal results. When recording video content different variables, such as the number of frames per second (fps), the encoding mode in dependence on the channel permeability (bitrate), and resolution, were considered. The goal of this thesis was to determine the differences between codecs on the practical case and which codec is most suitable for a particular purpose. Firstly, academic research of various literature sources was conducted through which an overview and selection of codecs and formats that would be best suited to describe them. Then, this information was used in practical examples and to describe the changes and to present them as clearly as possible.