Friday, July 29, 2016

Movies How its Done?

with evaluation of computers, the movies that run on theater came to them as that can be stored in a hard disk. Hows this possible? What makes a movie run on computer. The  truth is movies run as same way as theater. theaters use sequence of images to run one after another so it will give an illusion as continuous thing. See our eye can only process data coming from 1/10 of a second, so anything less you will not find as 2 but a continuation of first i.e. if some pictures changes in 1/5 of a second you will see that it changes, but if it change in 1/24 the of a second you will see as continue animation. So we can trick the eye to believe it is real this is because fastest speed of our neuron take 1/10 of time to communicate so to send an image from eye to brain and process it will take more than 1/10 seconds of time and any thing coming between this to eye, we will not see and when second image comes and if it is moved slightly the brain will fill the gaps and let us see as it is moving or animated.

so if we show our brain image in every 1/24 th of a second we will see it as animated. So in computer where is the images comes from. As you know we can store images as series of pixels and can have array of these series of pixels stack one after the other. giving us a series of images one after the other. and player is able to call them in a given rate and draw them to display like 1/24 th of a second so we will see a series of images in front of us and our brain will think it is continues and let us see the movie.

it will take a lot of space to keep a movie in row form, since it is a series of image so compression is done. some of the images are removed and images also get compressed like you know in jpg or gif so it will reduce the size of the movie dramatically. With this quality also degraded but we get to see a nice movie.

for instance a movie on 1 hour will take 60X60 seconds and that is 60X60X24 frames. If it runs 24 images for seconds (which is called frame rate) and if the size of the image, that is width and height of the movie is 800X600 i.e. 800 pixels wide and 600 pixels in hight, then it will take 800X600X3 number of bytes since each pixel take 3 bytes to represent the colors RGB one for red one for Green one for Blue so to store whole movie it will take 60X60X24X800X600X3 bytes i.e. 124416000000 bytes or 115GB which is not the best to store in hard disks so it is compressed to something like 1.5 GB to save space. by methods like MPEG4


No comments: