Media compression
Hi Everyone! Today I watched a few videos about video compression, video format, codecs and containers and I found them extremely helpful, so I would like to share my thoughts about them. There are 2 ways to compress a video which is spatial compression (intra-frame)or temporal compression (inter-frame). Spatial compression is applied only to individual video frames. To compress a video frame it is the same process that is used to compress a still image like a JPEG. When JPEG is created, colour information of the image reduces in the process called chroma subsampling. Then the image is split in sections of 8x8 pixels called macroblocks. Then the file size is reduced. For MPEG (motionJPEG) it's more complicated. Temporal compression works by reducing redundancy, like JPEG the MPEG standard breaks a video frame into 8x8 pixel macroblocks and each macro block receives instructions on what to do with pixels they already have. There are instructions for staying exactly the same f...