Video quality evaluation. Subjective evaluation of video quality


Free Download Mp4Gain
picture

Video quality evaluation. Subjective evaluation of video quality

Video Quality

What is quality?

video quality

Dahl’s dictionary contains the following definition: “quality is a property or belonging, everything that constitutes the essence of a person or thing”. What if we need to evaluate the visual quality, for example, of a video compressed with a codec? You can understand the quality of a video as an average rating of the opinions of the people who watch that video. It is this indicator that the creators of video processing systems ultimately want to improve, so I would like to be able to estimate it numerically. There are two approaches to solving this problem: subjective and objective evaluation of video quality. In the first part of this article, we will talk about these approaches, and in the second, we will present the results of our subjective comparison of modern video codecs.

Objective test
You can evaluate video quality using a formula or algorithm such as PSNR, VQM, or SSIM (see Comparing Video Codecs to PSNR Metrics). The main advantage of this approach is the ability to automate the testing process, allowing you to measure the rendering quality of a video system with a large number of different settings and test videos, or measure the quality in real time. The measurements also provide accurate and reproducible data. The downside to this approach is that automated metrics can misrepresent the subjectively perceived quality. This can lead, for example, to an erroneous conclusion about the superiority of one codec over another.

An alternative way to get an estimate of the video quality is to perform subjective tests. The idea behind this method is to get the quality score directly from the viewers who are evaluating the video. A similar approach has long been used to evaluate sound quality. For example, the hydrogenaudio.org forum regularly hosts subjective tests of audio codecs. What is needed to perform subjective tests?

Select video footage to test. Typically, a video of about 8-10 seconds is used to prevent experts from dispersing attention and shortening the overall time of the experiment.
Select the settings for the video processing systems you want to compare.
Choose a test method.
Invite a sufficient number of experts (at least 15 recommended).
Based on your opinion, get final grades.
In 1974 the first version of ITU-R BT.500 “Methodology for the subjective assessment of the quality of television pictures” was published. These guidelines provide a complete description of how all of the above issues should be addressed. Since then, many subjective tests have been carried out, the most recent of which is the Subjective Quality Assessment of the Emerging AVC / H.264 Coding Standard, Subjective Quality of Internet Video Codecs. Volumetric subjective tests are performed by VQEG (Video Quality Experts Group).


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Bit rate concept

Bit rate concept

Bitrate

Concept

Bitrate

Bitrate: literally, the transmission rate of information bits. It is common to use the bit rate when measuring the effective information transmission rate through the channel, that is, the “payload” transmission rate (in addition to that, the channel can transmit service information, for example, start and stop symbols for asynchronous transmission or control symbols for redundant coding). The baud rate, which takes into account the total bandwidth of the channel, is measured in baud.

Bit rate is the number of units of information required to store (transmit) one second of a data stream (generally audio and video files). It is generally measured in ‘kbps’, kilobits per second.

The term bit rate is used in two basic meanings
: channel or device characteristic: the maximum number of bits that can be transmitted per unit of time.
– The size of the data stream transmitted in real time (the minimum size of the channel that can pass this stream without delay).
– A special case is the compressed video or audio bit rate.
Bit rate is expressed in bits per second (bit / s, bps), as well as values ​​derived with the prefixes kilo-, mega-, etc.

The term bit rate (along with subjective quality criteria) is often used as a characteristic to evaluate the performance of lossy compression algorithms.

Bitrate characterizes both the density of the information package and its quality. For example, out of two MP3 files compressed with different bit rates, a file with a higher bit rate will have a higher sound quality (close to the original). At the same time, a file of a different format, with the same bit rate, can offer both better and worse sound quality.

On an audio CD, information is losslessly encoded at a constant 1407 kbps bit rate.

The MP3 format allows you to encode audio information with a constant or variable bit rate from 32 to 320 kbps, that is, they provide five times the compression compared to CD.

Bit rate as a characteristic of digital video and audio

In streaming video and audio formats (such as MPEG and MP3) that use lossy compression, the bit rate parameter expresses the degree of compression of the stream and thus determines the size of the channel for which it is compressed data transmission. Most of the time, the audio and video bit rate is measured in kilobits per second (kilobit per second in English – kbps), less often – in megabits per second (for video only).

There are three compression modes for data transmission:

– with a constant bit rate (constant bit rate in English – CBR)
– with a variable bit rate (variable bit rate in English – VBR)
– with an average bit rate (English Average Bit Rate – ABR)

Variable and average bit rate

The codec chooses the required bit rate based on the parameters (the level of the desired quality) and, during the encoded chunk, the bit rate may change. When compressing audio, the desired bit rate is determined based on the psychoacoustic model. ABR is a variation of VBR in which the codec is compressed to a specified average value.

How to Achieve High Quality Videos with Low Bandwidth Part 2

How to Achieve High Quality Videos with Low Bandwidth Part 2

Bitrate

In contrast, a variable bitrate preset a certain level of image quality that is maintained regardless of whether there is movement in the frame or not. The bit rate will change depending on the shooting conditions and the presence of motion.

Bitrate

Dynamic Noise Reduction, as described above, works on the same principle as Variable Bitrate, but with the addition of smart decision-making capabilities based on the presence or absence of motion. This can reduce the bit rate by 50 percent compared to the standard variable bit rate in non-motion scenes.

Priorization
In addition to reducing noise, prioritization can help lower bit rates. By setting priority areas, you adapt the level of compression for different parts of the image. In the image, you can mark several areas, each of which is assigned the parameters of the compression level. A less important area can be configured to use a higher compression rate and therefore a lower bit rate, while important areas can be assigned a lower compression rate to display in more detail.

Take, for example, video surveillance at the entrance of a building. Some parts of the image showing the sky can be considered unimportant for better compression. The area at the entrance of a building can be marked as important and assigned a lower compression ratio to ensure recognition of facial features and other identifying details. Finally, the driveway can be defined as a zone with normal compression.

Reduce costs with dynamic noise cancellation
The combination of noise reduction and image area prioritization produces measurable results. The key advantage of this combination is that you get a significantly lower bit rate without losing image quality. A lower bitrate, in turn, reduces bandwidth and memory usage.

Take, for example, a shopping center with a video surveillance system with 200 surveillance cameras installed throughout the premises inside and outside the facility. Let’s say the mandatory requirement for 1080p HD video surveillance cameras is to record continuously for 12 hours every day, and after the mall closes, they can only record when motion is detected. In this case, to store the video recorded at a rate of 10 frames per second, you will need almost 70 TB, which will allow you to store it for 30 days. The introduction of surveillance cameras that use dynamic noise reduction can save more than 7 TB of required storage capacity. This translates to over $ 10,000 depending on the storage devices used …. Additional savings can also be achieved by adding priorities in certain areas, which will further reduce the bitrate.

Using dynamic noise reduction and priority targeting in small CCTV systems can provide the ability to record video at a higher frame rate for smoother video (when there are moving objects in the video) at the same cost.

Consider, for example, installing a CCTV system in a retail store with 10 CCTV cameras. Using ten indoor 720p HD video cameras, continuously recording for 12 hours every day, and after the store closes, recording when motion is detected, it can store video recorded at a frame rate of 10 frames per second for seven days using the storage device with a capacity of 4 TB. Now let’s look at the same scenario using the dynamic noise reduction method. With Dynamic Noise Reduction, you can stream video at 20 fps and achieve the same storage time using the same 4 TB storage device. You get smoother video movement for the same price.

The ability to reduce bitrate and therefore bandwidth and memory will be even more important as the industry is moving towards the next generation of 4K images. This is characterized by even higher data volumes and therefore higher bandwidth and storage requirements. As a result, a solution that provides high-quality video with the lowest bandwidth and storage requirements will be the most affordable option for customers.

How to Achieve High-Quality Videos with Low Bandwidth

How to Achieve High-Quality Videos with Low Bandwidth

BITRATE

 

Megapixel surveillance cameras provide their users with more detailed images; however, these capabilities can affect the cost of the entire video surveillance project.

Bitrate

The amount of data that is transported and stored, in this case, increases significantly. Bandwidth requirements and increased capacity required significantly increase the total cost of an IP video surveillance system. The best way to reduce these costs is on the surveillance camera itself, and this can be achieved by reducing the bit rate.

The bit rate can be reduced, in particular, due to noise reduction. Noise is quite a damaging factor that leads to clogging of the encoding process. It leads directly to an increase in the bit rate.

Optimize bitrate to reduce streaming

Classic noise reduction systems are of two types. Spatial noise reduction techniques are applied within the frame to help reduce noise, while temporal noise reduction averages the pixels over multiple frames. These are very effective techniques for still images, but they can cause problems when there is movement. In the event that a temporary noise reduction is applied to a moving image, a ghost image may appear.

By combining spatial and temporal noise reduction with the ability to dynamically adjust them based on lighting levels and the detection of moving objects, we obtain images with low noise, maximum detail and low bit rate. The bit rate can be optimized by adjusting the amount of noise reduction based on the analysis of important moving objects in the surveillance camera’s field of view. When there is no movement, the bit rate is kept to a minimum. If an important object is detected, the bit rate increases, allowing you to capture as much detail as possible. The result is that the bandwidth requirements of the network remain low until something important happens in the frame.

Other ways to reduce the bit rate
For some megapixel surveillance cameras, the bit rate is limited by default. Constant bit rate is often used for this. The constant bit rate is kept at a fixed level. This can result in a constant high bit rate, and setting a low bit rate can result in poor image quality.

Bit rate in DVR. What is it and what does it affect?

Bit rate in DVR. What is it and what does it affect?

Bitrate

In a conversation about digital video recording, the term bit rate will surely ring a bell. This is an important parameter that affects image quality. Including filming on a video recorder.

BITRATE

If you are afraid of foreign words, then the bit rate can be called the recording speed or the compression ratio in another way. Because that’s exactly what happens: the compression of the video stream. How? Let’s take a look.

After the light hits the matrix and the subsequent digitization of the image, a very dense stream of digital video signal is obtained at the output. Also, the higher the video recording resolution and frame rate, the bulkier this stream will be. You cannot write it directly to a memory card; It will fill up very quickly with huge video files and you may just not be able to cope with such a flow of information. This is why the original video stream is compressed to an acceptable bit rate. This parameter is just the output data rate. Basically it reflects the speed at which the video is written to the memory card.

Bit rate can be calculated in bits, kilobits, and megabits per second – (bit / s, bps, b / s), (kbps, kbit / s, kbps) (Mbps, Mbit / s, Mbps). Most of the time, in megabits. The bit rate of the recorded video can be checked on a computer with a video editor or through the file properties menu. By dividing the figure by 8, you can determine it roughly in megabytes per second; it will be more convenient to compare it with the speed of your memory card.

The bit rate indicator is dependent, as you might guess, on the processor and intelligently optimized hardware and software to process the video stream. If all the conditions are met, the video stream will be compressed with high quality and with minimal loss. Otherwise, the video will contain noise, blurry images, artifacts, and other nasty distortions.

The bit rate also affects the size of the file. For example, at a relatively low bit rate (less than 10 megabits per second) more clips can fit on the memory card and cheap low speed cards can be used, but the video quality and details will be low. At a higher bit rate (10-20 begabits per second and more), the image will be of higher quality and more detailed. But the file size will also increase, so you need a memory card of the appropriate size and speed (16GB and above, class 10).

Manufacturers rarely indicate the bitrate on the box, therefore it is almost impossible to find out this indicator before buying. However, sometimes on the packaging you can see promises, for example, “8 hours of video in maximum quality at 32 GB”. And in this case, the bit rate can be roughly calculated. The formula is not complicated:
We took 32 gigabytes and, using the school’s computer skills, we converted them to megabits by multiplying them by eight and by 1024. Then we divided the resulting number by the number of seconds in eight hours.
– (32x8x1024) / (8×3600) – We get the result of 9.1 megabits per second.

Let’s clarify that the result will be conditional. First, because the actual volume of any card is always less than indicated. Second, the promises in the box can be just promises. Therefore, before buying, it is better to carefully study the selected model, having learned the speed of writing in the reviews.
So what bit rate should I be aiming for?

Given the adequate quality of the filling of the recorder (matrix + processor + lens + software), according to our practice, let’s say that this indicator is in the region of 15-45 megabits per second. This bit rate allows you to get a fairly adequate video quality during the day. Again, only during the day, because night photography, as we all know, is still a weak point of many recorders due to insufficient lens aperture and small matrix pixel size.

Note that DATAKAM has currently reached the maximum bit rate for recorders: 45 megabits per second, but only when working with a card with a capacity of 32 gigabytes or more. Some companies, notably Datakam and BlackVUE, are implementing bit rate selection options in settings. We find this option controversial. In our opinion, all drivers are initially interested in the highest quality videos, and it is easier to set the maximum bit rate for the recorder right away and simply choose the right memory card in terms of speed and volume.

And the last thing: they are unlikely to increase the bitrate incessantly on DVRs.

What is bit rate and frame rate? Part 2

What is bit rate and frame rate? Part 2

FRAME RATE

What is a video codec?

Frame Rate

Now, let’s move on to the next concept: video codec. When I said that if you lower the bitrate, the video quality will be lower. This is actually a somewhat simplified approach as there are several compression methods.

Yes, if you compress a video one way, then actually the lower the bitrate, the worse the video quality will be. But scientists have found another way out – the use of various compression methods.

That is, having the same bit rate, that is, at the same video bit rate, but using different encoding methods, we will get a different video quality.

Video codec is a method of compressing video. You have probably heard of various video formats. MP2, MP4, H263, H265, HEVC. They all mean different ways of recording and compressing videos.

Therefore, by recording video in a different data format, we can get a different video quality with the same size. Well, or of a different quality, the same size.

See also: Basic rules for video composition.
Why is there no universal video codec?
The question may arise: why do we need different video codecs?

Progress in creating video compression algorithms is not stopping. Even when it comes to video compression mechanisms. For example, PAL and NTSC standards appeared for the first time. Each of them had its own compression standard. Later, HD appeared, then UHD appeared.
The progress in video compression also depends on the progress in video processing. For more powerful compression algorithms, you need more processing power. In modern televisions and computers there are much more powerful processors than before. This allows more complex algorithms to be used.
Conclution
I understand, at first it will be a bit difficult to understand all these concepts. But, if you want to get a good video, then this theory will be necessary for you. This will help you figure out how to get high-quality videos in the smallest size.

In addition, it will allow you to avoid common mistakes when using different video codecs. That is, for example, you recorded a video using a codec, but your client or simply an acquaintance does not read your video. This is all that is to blame for the video codec.

What to do in this case? There are two development options. The mountain goes to Mohammed. Or Mohammed goes to the mountain. You can redo the video in a format that will be read by your viewer. Or you can put an additional program, a codec, for your viewer, and the video will play.

In practice, it is better to immediately record videos in the most common formats. Or recode the video to a different format. For example, using a video converter.

What is bit rate and frame rate?

What is bit rate and frame rate?

frame rate

What is a video file, what is a frame, aspect ratio, and finally what is the bit rate?

Frame Rate

What is a video file?

Video, like cinema itself, is a rapid alternation of images. How fast is it? For a human, there should be 24 images per second. In this case, images that change quickly become moving. This is what cinema and now video are based on. Also, each image has several properties. Which? These are the width and the height. For video, these quantities are measured in points. So many points in width and so many points in height.

What does the video consist of?

If we zoom in on any frame in our video, then we can see the individual squares that make up our image. Each of these squares received the name – “Pixel”, which comes from the English – “Element of images”, that is, an element of the image.

Pixels on the screen

So when we look at the properties of the file or the properties of the project, we see the video formats in which it is indicated how much is the height of the box and how much is its width.

video aspect ratio

In the image, we see that the width of the frame is 1920 pixels and its height is 1080. It is clear that the more pixels there are in our frames, the more details can be accommodated. And consequently, the better the image will be. And don’t forget that the frame rate must be at least 24 frames per second.

Older video formats, such as the PAL standard, consisted of 720×576 pixels. Modern HD or Full HD, already 1920 x 1080. The 4K format already has 4096×2304 pixels, and the most recent 8K format is 7680×4,320. That is, the further, the better quality is achieved.

Video aspect ratio.
This is also the parameter that for many is almost a thing of the past. The fact is that before there was a television format that had a 4/3 aspect ratio, and a wide-screen format, mainly for watching movies, that had a 16/9 ratio.

Monitor with 4×3 aspect ratio

Now the television format is a thing of the past (almost) and only the wide format remains

Monitor with a 16 x 9 aspect ratio
What is the video bit rate?
Like I said, each frame is made up of a large number of pixels. If we try to put this amount on our hard drive, it will take up too much space. In fact, the arithmetic here is simple. Let’s count.

One frame – 1920×1080 = 2,073,600, that is, two megabytes (actually, this is not entirely true, but I’ll simplify it a bit)

That is, we now know that a painting we have weighs 2 mb. It seems a bit, but let’s keep counting.

One second. There must be at least 24 frames in one second. What do we get? 24×2 = 48 mb.

One minute. 48×60 = 2880 mb. I mean, think about it. In one minute, almost 3 gig! Well, how long will an hour take then?

One hour 2880×60 = 172800 mb. In other words, a one-hour movie will occupy 172 gigabytes of memory.

Well, since such a thing will not work, smart people decided: it is necessary to squeeze. We need to compress the video to fit everything on a computer, on a phone. What can be seen on the Internet, etc. And that is why there are various video formats. Since each format has its own rules for compressing video.

But here we come to the concept of bitrate.

Bitrate: read / write speed. You are recording a video. The video camera matrix takes measurements of light, that is, it measures pixels. Transfer them even further, to a USB flash drive or SSD. The speed of this transmission is the bit rate.

Next, we watch the video. At this time, the data is read from memory and transferred to the monitor / screen. Once again, we are faced with a certain data rate.

But in the video, the function of the bitrate value is somewhat different. Video Bit Rate: The compression rate of the video. When video is recorded from the matrix, the signal is immediately encoded and compressed. The more the signal is compressed, the less space it takes up, but at the same time, the lower the quality.

Most popular video formats

Most popular video formats

Video Formats

The data shows the frequency of use of formats by users around the world and takes into account more than 3 million conversions on a PC with Windows operating system aVideo formatsnd more than 450 thousand conversions on an OS X operating system.

 

Most video files are converted to MP4, AVI, and MOV formats.

We began collecting these statistics to better understand our users and their needs. For example, we made sure that there is a great need to save our own conversion parameters, so we continue to work on the convenience of configuration. This data also helps us to see the problems that arise with the decoding of certain files and to solve them quickly, says Anna Komarova, Product Manager of Movavi.

Among Windows PC users, a significant prevalence of MP4 and AVI formats can be noticed over all others, placing them first and second with 33% and 24%, respectively.

The MPEG-4 container, also known as MP4, was introduced by the International Organization for Standardization (IOS) in 2001 and has gained success due to its versatility: it allows you to encode both graphics and audio data, it is used to transmit video in Internet, and is compatible with most mobile devices, including smartphones, tablets, and game consoles.

The AVI container, introduced by Microsoft in 1992, has been in use for more than 20 years and is still very popular, despite the many shortcomings that have long been eliminated in more modern media containers.

The next most popular formats for the Windows platform are MOV (4.41% of the total number of conversions) and WMV (3.97%). The VOB format (3.67%), which is used to encode DVD-video, closes the top five.

Named after a traditional Russian toy and often used to convert high definition (HD) videos, the Matroska container is rarely chosen by users of the Movavi video converter – 1.72% of the time. The newer WebM and OGV formats that support HTML 5 are even less popular.

The success of MP4 is also confirmed by the statistics of “paired” formats: that is, from which format users most often translate video files into. First is the conversion of AVI files to MP4 (13.96%). The reverse pair MP4 → AVI is much less common (3.85%).

The preferences of Mac users differ from those of PC owners, although MP4 is also in the lead here, and even by a wide margin from the rest of the containers. Its participation is 58.16%, while the MOV format, developed and promoted by Apple, came in second place with almost four times less score of 14.24%. The AVI format is used by “macovods” 7 times less than by PC owners.

The audio format rankings on both platforms are predictably led by the ubiquitous MP3; second place went to WAV files. Rounding out the top five are WMA, OGG, and FLAC, which provide lossless compression.

It seems that the most important factor in the popularity of a video format is its versatility. Not surprising: we see video files not only on computers, but also on DVD and Blu-ray players, smartphones, tablets, or directly on smart TVs.

It is for this reason that the classification is dominated by the MPEG-4 standard, which now works on almost all devices. We pay less attention than before to the size of the movies, the high-speed Internet access allows you to successfully transfer videos that occupy several gigabytes.

What is the best video format for Youtube? Part 2

What is the best video format for Youtube? Part 2

video formats

And again, I welcome you to my site. This is the second part of the article, in which I verify from my own experience which video format is best for YouTube.

Video File Formats

In the last part, I reviewed the AVI (uncompressed) video format, marking the rendering results in a special table. Today we will consider two most popular video formats, MP4 and WMV, which also deserve our attention. Let us begin!

MP4
MP4, like AVI, is a container for audio and video files, which uses many codecs like H.264 and AVC to encode video. Again, as in the case of AVI, for the experiment I will take only one of them, which in Sony Vegas Pro is called MainConcept AVC / AAC (Internet HD 1080p), since it is ideal for publishing on the Internet, and therefore on YouTube. …

Representation
MainConcept AVC / AAC MP4 video playback took 5 minutes 1 second, which is almost half as long as in the case of AVI.

MP4 rendering time table

The size
Also read: What video format is the best for Youtube? # one
But the video size in MP4 format is much smaller than in AVI format, and it is 129MB. I wonder how this affects its quality.

AVI size chart

Quality
In general, even considering that the video was encoded using the AVC codec, the quality did not suffer much. But something interesting was noticed in the way of increasing the contrast in one part of the video and decreasing it in the other.

Comparison of AVI and MP4

It clearly shows the difference between AVI and MP4 formats. Pay attention to the sky and the stump in the protagonist’s hands. This is what I wrote about above:

Contrast MP4

In my opinion, such video contrast, although it looks good, makes it uncomfortable for perception, so the final rating can be reduced by 2 points, that is, up to 8.

I have no complaints about the quality of the video, especially for such a small size of 129MB.

MP4 quality table

Conclusion: the MP4 (AVC / AAC) format has a small size and good quality, almost not inferior to the AVI format, but its strange contrast makes the video not very easy to read, which is a disadvantage of this format (although for some it may be an advantage).

What is the best video format for Youtube?

What is the best video format for Youtube?

video file formats

What is the best video format for Youtube? #oneOnce again, I welcome you to my site! Today we will talk about which video format is the best for Youtube and how to choose the best video format for Youtube.

Video format

Choosing the optimal format for your videos is the main task of any video blogger. If you choose the wrong format for your videos, you can completely ruin the viewers’ impression on Youtube, even if it is in Full HD quality.

After all, no matter what quality the original video was recorded in, the most important thing is what quality it will have in an already “finished”, rendered form. Therefore, it is especially important in the initial stage to pay attention to the correct selection of the video format for YouTube, so that later it is not too late.

Everything that will be written in this article is based on my personal experience. The article will be written in plain text, without all kinds of unnecessary terms and definitions, that is, in simple and understandable language.

Since everything is learned in comparison, special attention will be paid to comparing video formats with each other. In the article you will learn about the pros and cons of the three most popular video formats, and towards the end I will conclude which video format is the best for Youtube.

Like my guinea pig, I will take a Minecraft video at 1920 x 1080 resolution, 1 minute and 15 seconds long and 29,970 frame rate, recorded with Fraps in AVI format. That is, a “clean” video for experiments.

I will process (render) the video in the Sony Vegas Pro program.

The technical characteristics of the equipment in which I will carry out the experiment are the following: AMD Phenom II X4 945 processor, 4.0GB RAM, AMD Radeon HD 7800 Series (HD 7850).