Hardware Secrets
Home | Camera | Case | CE | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
Gabriel's Blog
News
Reviews
Tutorials
Main Menu
About Us
Awarded Products
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Twitter
Newsletter
Subscribe today!
Search




Recommended
Digital Video for Dummies, Third Edition
Digital Video for Dummies, Third Edition, by Keith Underdahl (For Dummies), starting at $0.63
Home » Video
Video Compression Basics
Author: Gabriel Torres
Type: Tutorials Last Updated: February 1, 2006
Page: 1 of 1
$ Check REAL-TIME pricing for VIDEO-PX8400GS GEFORCE NVIDIA 512MB graphics $.
Newegg: $42.99 Buy.com: $54.24
CompuVest: $62.11 PCRush: $51.07

A video (file types like AVI and MPEG) is a collection of several images being shown. Each image is called frames and the amount of images shown per second is called frames per second or simply FPS. The more frames per second your video has, the better, since more realistic the image will be. Videos are usually saved using at least TV quality settings, i.e. 30 frames per second.

One way to reduce the video file size is reducing the number of frames per second. The file size is reduced, so its quality: you will notice that the movements on the video are kind of strange, less realistic.

In order to reduce the video file size, a video compression technique is used, which works by removing from the video parts of the image that were already shown. For example, imagine a video where there is one person talking and that this person is not moving. On the first frame the image is shown complete, but on the second frame the parts of the image that are identical to the first frame are removed from the image. If only the mouth of the person is moving, only the area around the mouth will be drawn on the second frame.

This technique saves a lot of space, since only the first frame needs to be complete, the other frames have only what is different from the previous frame. These incomplete frames are called delta frames.

On MPEG standard delta frames can be classified as P (“predictive”) frames or B (“bidirectional”) frames. P frames work the way we described above, while B frames can carry not only the difference from the previous frame, but also the difference from the next frame, hence its name “bidirectional”.

The problem with this technique is that theoretically you couldn’t use the forward and rewind features on your media player. You would need to play the video file from the beginning to build the image that is located in the middle of the movie, since in the middle of the file there is only information of what is different from the previous frame, not a complete image.

Because of that, it is necessary to insert complete frames (like the first frame on the movie) from time to time in the middle of the file in order to allow the forward and rewind features to be used. These complete frames are called key frames or I frames. The more key frames your file has, the bigger it will be (since more complete images, which need more space, will be inserted), but on the other hand more forward and rewind points will exist.

You need to wait your media player to reach a key frame to make it possible to show you the video. Sometimes you move the forward/rewind slider on your media player and have to wait a little for the player to start showing your video from that point on. The less key frames you video file has, the more you will face this waiting problem.

Besides this technique, each frame is compressed using a data loss algorithm – the same idea used on JPEG images and MP3 audio, for example. This means that compressed video doesn’t have the same quality as the original video.

 
Print Version | Send to Friend | | Bookmark Article | Comments (0)

Related Content
  • TV, FM, and Video Capture Boards Glossary
  • HIS Radeon X800 GT IceQ II Review
  • How To Convert VHS Tapes Into DVDs – Part 1
  • X-Micro MusePod Review
  • iPod Nano Third Gen Review

  • Recommended Deal.
    9800 GT GeForce E-GEFORCE nVidia 512MB Video Card9800 GT GeForce E-GEFORCE nVidia 512MB Video Card


    Newegg: $119.99 Buy.com: $111.99
    CompUSA: $119.99 ZipZoomFly: $124.99

    RSSLatest News
    AMD/ATI Launches Radeon HD 5570
    February 9, 2010 - 10:38 AM PST
    Samsung Announces Hard Disk with Michael Jackson's THIS IS IT
    February 8, 2010 - 11:19 AM PST
    New Toughpower XT PSUs from Thermaltake
    February 5, 2010 - 11:41 AM PST
    MSI Launches R5770 Hawk Video Card
    February 5, 2010 - 11:32 AM PST
    NZXT Unveils Line of Premium Cables and Case Fans
    February 5, 2010 - 11:24 AM PST
    AMD/ATI Launches Radeon HD 5450
    February 4, 2010 - 11:44 AM PST
    Patriot Debuts Sector 5 Memory Kit
    February 3, 2010 - 7:41 AM PST
    Samsung Intros 1.5 TB/2 TB EcoGreen F3EG Hard Disks
    February 3, 2010 - 7:38 AM PST
    Acer Launches Full HD 3D LCD Monitor
    February 3, 2010 - 7:32 AM PST
    New Strider Essential PSUs from SilverStone
    February 1, 2010 - 9:17 AM PST
    .:: More News ::.

    RSSLatest Content
    Athlon II X4 635 and Phenom II X2 555 CPU Review
    Thermaltake SpinQ VT CPU Cooler Review
    All Atom Models
    Motorola Droid Cell Phone Review
    Cooler Master GX 750 W Power Supply Review
    MSI P55-GD85 Motherboard
    ASRock H55DE3 Motherboard
    ECS H55H-CM Motherboard
    NZXT Hades Case Review
    Is It Time to Move to Solid-State Storage?
    EVGA H55 Motherboard
    SilverStone Strider Plus 750 W Power Supply Review
    Anatomy of SSD Units
    Mushkin Volta 600 W Power Supply Review
    Power Supplies Re-Tested - Part 4

    Our Most Popular Articles
    Maximum CPU Temperature
    1,128,194 views
    How to Find Out Your Motherboard Manufacturer and Model
    781,548 views
    nVidia Chips Comparison Table
    723,718 views
    Connecting Two PCs Using a USB-USB Cable
    646,813 views
    How To Correctly Apply Thermal Grease
    604,037 views
    AMD ATI Chips Comparison Table
    591,824 views
    ATI Radeon X1300 Pro Review
    500,725 views
    ATI Radeon X1600 XT Review
    489,102 views
    How To Perform a BIOS Upgrade
    427,508 views
    Understanding RAM Timings
    364,198 views

    Latest Threads in Our Forums
    New builder needs feedback on rig....
    by RedwoodRythym
    AMD/ATI Launches Radeon HD 5570
    by Hardware Secrets Team
    Thermaltake TR2 RX 750 W Power Supply Review
    by Silentbob
    How fast is fast? How much heat is too much??
    by Ios_Angel
    DVD-ROM problems (Pioneer DVD-115HA)
    by Ios_Angel
    Partitioning a Reformatted HD
    by Merman
    AMD Phenom II X4 925 on my AM2 board
    by tomahawk 1705
    Athlon II X4 635 and Phenom II X2 555 CPU Review
    by Hardware Secrets Team
    Working on Frankenstein
    by nicolatesla
    Thermaltake SpinQ VT CPU Cooler Review
    by Olle P
    .:: Visit Our Forums ::.


    © 2004-10, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)