Why does audio and video take so much storage?

371 views

So for example, videogames are super heavy on disk space. And aparently most of that space is just the sounds, textures, models, etc. But the code takes very little space.

Why can something as complex as a physics system weight less than a bunch of images?

Code takes very little space, media takes more. But an image is just code that tells the computer how to draw something (I think)

So how come some code gets to be so small in size and some code doesn’t?

In: 53

18 Answers

Anonymous 0 Comments

Because they’re a LOT of data.

This is a simplified example.

Imagine for example that you have a single pixel. A dot.

For this single dot we need to know the color. So you have the Red, Green, and Blue (RGB) values. each one on a scale of 0-255. A single byte can hold a number up to 255. So for each single dot, we are using three bytes of space.

Now let’s look at a single picture. The standard video size is 1920×1080 (1080p.)

1,920*1,080*3 = 6,220,800 Or around 6 Megabytes for a single frame of video.

Now consider that a video is generally 24 frames per second:
6,220,800*24 = 149,299,200 or roughly 150MB per second for HD video.

We make these much smaller of course with compression, which would probably be a whole other ELI5.

You are viewing 1 out of 18 answers, click here to view all answers.