O'Reilly logo

Visual Media Processing Using MATLAB Beginner's Guide by George Siogkas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The importance of video compression

In our first example in this chapter, we saved an uncompressed AVI video. This led to a very quick appearance of the message informing us of reaching the limit of 500 MB. The number of frames captured until the appearance of the message was 401, which equals to the duration of approximately 13.37 seconds. Quite a large size for such a small video!

Let's do some math to understand how this works. As we recall from the previous chapter, the memory that an uncompressed 8-bit video consumes can be calculated by multiplying its total number of pixels, by the number of frames by three (the number of color channels). The resulting size is counted in bytes.

Checking the size of an uncompressed video

We will now try to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required