Skip to main content

How video compression works

Video compression is about reducing and removing redundant video data so that a digital video file can be effectively sent and stored. The process involves applying an algorithm to the source video to create a compressed file that is ready for transmission or storage. To play the compressed file, an inverse algorithm is applied to produce a video that shows virtually the same content as the original source video. The time it takes to compress, send, decompress and display a file is called latency. The more advanced the compression algorithm, the higher the latency, given the same processing power. A pair of algorithms that works together is called a video codec (encoder/decoder). Video codecs that implement different standards are normally not compatible with each other; that is, video content that is compressed using one standard cannot be decompressed with a different standard. For instance, an MPEG-4 Part 2 decoder will not work with an H.264 encoder. This is simply because one algorithm cannot correctly decode the output from another algorithm but it is possible to implement many different algorithms in the same software or hardware, which would then enable multiple formats to be compressed. Different video compression standards utilize different methods of reducing data, and hence, results differ in bit rate, quality and latency. Results from encoders that use the same compression standard may also vary because the designer of an encoder can choose to implement different sets of tools defined by a standard. As long as the output of an encoder conforms to a standard’s format and decoder, it is possible to make different implementations. This is advantageous because different implementations have different goals and budget. Professional non-real-time software encoders for mastering optical media should have the option of being able to deliver better encoded video than a real-time hardware encoder for video conferencing that is integrated in a hand-held device. A given standard, therefore, cannot guarantee a given bit rate or quality. Furthermore, the performance of a standard cannot be properly compared with other standards, or even other implementations of the same standard, without first defining how it is implemented. A decoder, unlike an encoder, must implement all the required parts of a standard in order to decode a compliant bit stream. This is because a standard specifies exactly how a decompression algorithm should restore every bit of a compressed video. The graph below provides a bit rate comparison, given the same level of image quality, among the following video standards: Motion JPEG, MPEG-4 Part 2 (no motion compensation), MPEG-4 Part 2 (with motion compensation) and H.264 (baseline profile).


Image source : www.axis.com

Comments

Popular posts from this blog

Video format explained and compared

 This article explains main video formats and later compares with photos the quality. Audio Video Interleave (.avi) Developed by Microsoft and released with Windows 3.1 way back when false teeth were still made out of wood, AVI files have been a work horse of digital video. Although its popularity has been waning, lots of legacy video in AVI can be found all over the web. More recently, AVI has been abandoned for Microsoft's WMV (Windows Media Video). One of the most maddening things about AVI today is that the format doesn't allow for specifying an aspect ratio, so a 16:9 AVI video may start displaying at 4:3 - this is less of a problem if your player allows you to manually select aspect ratios. If you're watching in the non-pro version of QuickTime though, you'll have to learn to live with people being unusually narrow. Advanced Systems Format (.asf) ASF is a proprietary Microsoft container that usually houses files compressed with Microsoft's ...

After Effects Alternative

Pro editing. Superpowered visual effects. Next-generation films. Editing Trim, ripple, roll and slice everything from feature-length films to 30 second YouTube videos, with HitFilm Pro’s industry standard editing software. Create 3D title sequences for your sci-fi thriller, distort action cam footage and get a hi-res second monitor preview of your work. Editor Get that rough cut looking sharp with HitFilm Pro’s dedicated editing trimmer, customizable workspace and shot-transition features. You can mix different formats, resolutions, framerates all on the same timeline and quickly import and organize your footage. Auto sync Tired of turning your characters into ventriloquists? With the much-requested audio auto-sync feature, your DSLR scratch audio will automatically synchronize with your files from a dedicated audio recorder. No more awkward sound delays. 3D titling Draw your audience in with 3D title sequences and stunning lower thir...

1100 $ AMD system to edit 4K

Amd recently has released some great CPU with high cores and low prices. About 305$ you can get an editing beast with 8 cores @3.7 GHz. This cpu will be enough to edit smoothly. There are more expensive cpu and higher cores or higher frequencies but to be honest we don't need real time exporting. You can have a break and drink a coffee while exporting your video. Memory is important. Lower the size the more time it takes to do task. I recommend 16GB DDR4. (2400Mhz or more is great also). That amount will make switching between applications easier and faster. So right now we spent 305 dollars for cpu and 150 for memory (RAM). Sum is 455 $. Lets suppose you are upgrading your system so you have some hard drives and some ssd maybe. I love SSDs for system and as a drive for footages. For the system Samsung EVO 970 will do a great job for 90$ ( Sata m.2 250GB @Read speed up to 3400 MB/s). Asus x470 Pro is a great mainboard for 160$. Also find power supply more than 500w. I recommen...