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




Recommended Book
Digital Video for Dummies, Third Edition
By Keith Underdahl
For Dummies
Price: $2.50

Home » Video
Video Compression Basics
Author: Gabriel Torres
Type: Tutorials Last Updated: February 1, 2006
Page: 1 of 1
$ Check REAL-TIME pricing for VisionTek RADEON HD 4850, (512 MB) PCI Express Video Card $
Circuit City: $199.99 Amazon: $199.99
CompUSA.com: $199.99 TigerDirect.com: $199.99
Newegg: $189.99

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
  • MSI GeForce 7800 GTX Review
  • Philips DVP 642 Review
  • PowerColor Radeon X800 GT Review
  • HIS Radeon X800 GT IceQ II Review

  • Recommended Deals
    ATI RADEON® X1300 PRO, (256 MB) AGP Video Card


    TigerDirect.com: $39.99 CompuVest: $47.00
    CompUSA.com: $39.99
    ATI ALL-IN-WONDER 9600, (128 MB) AGP Video Card


    Server Supply: $165.00 CompuVest: $49.99
    eVGA GeForce FX 5200, (128 MB) AGP Video Card


    cameraworld.com: $27.09 RitzCamera.com: $27.09
    eBay: $19.99 Amazon: $31.54
    WolfCamera.com: $27.09
    ATI RADEON® 9600 Pro, (256 MB) AGP Video Card


    Server Supply: $245.00 CompuVest: $211.27

    RSSLatest News
    Exceleram Launches Five New Memory Kits
    October 10, 2008 - 10:57 AM PST
    Kingston Launches 32 GB DataTraveler Flash Memory
    October 9, 2008 - 10:13 AM PST
    Gelid Launches Silent Spirit CPU Cooler
    October 8, 2008 - 11:18 AM PST
    Antec Skeleton Case
    October 7, 2008 - 10:42 AM PST
    Lexar Media Launches Crucial Ballistix Tracer DDR3-1333
    October 7, 2008 - 10:11 AM PST
    Elpida Develops 65-nm Memory Chips
    October 6, 2008 - 11:10 AM PST
    Transcend Launches T5 Flash Memory
    October 3, 2008 - 11:50 AM PST
    Thermaltake Announces BigTyp14 Pro CPU Cooler
    October 3, 2008 - 11:28 AM PST
    A-Data Announces Triple-Channel DDR3 kits for Core i7 Processors
    October 3, 2008 - 11:17 AM PST
    EVGA Launches nForce 790i SLI FTW Mainboard
    October 3, 2008 - 11:07 AM PST
    .:: More News ::.

    RSSLatest Content
    500 GB Hard Disk Drive Round-Up
    Anatomy of the Playstation 3
    AMD ATI Chips Comparison Table
    Bgears b-Envi Case Review
    Everything You Need to Know About Digital Cameras
    Kingwin Mach 1 ABT-700MA1S 700 W Power Supply Review
    Thermaltake V9 Case Review
    OCZ Dominatrix Gaming Mouse Review
    Rosewill Wind Ryder RZLS142-AP Case Review
    AeroCool AeroRacer Pro Case Review
    iPod Touch 2nd Generation Review
    Olympus SP-570UZ Digital Camera Review
    Zalman ZM600-HP 600 W Power Supply Review
    Tagan A+ Curbic Case Review
    Everything You Need to Know About The Motherboard Voltage Regulator Circuit

    Our Most Popular Articles
    Maximum CPU Temperature
    796,586 views
    nVidia Chips Comparison Table
    495,713 views
    AMD ATI Chips Comparison Table
    438,165 views
    ATI Radeon X1300 Pro Review
    421,058 views
    ATI Radeon X1600 XT Review
    415,097 views
    How to Find Out Your Motherboard Manufacturer and Model
    407,413 views
    Connecting Two PCs Using a USB-USB Cable
    365,431 views
    How To Correctly Apply Thermal Grease
    349,900 views
    Sempron vs. Athlon XP
    284,629 views
    Sempron 3400+ Review
    275,614 views

    Latest Threads in Our Forums
    IGP vs video card which one? im confused
    by Cheetos
    Sapphire HD 4870 X2 Video Card Review
    by Micromancer
    CPU Over Voltage error
    by GreyCricket
    500 GB Hard Disk Drive Round-Up
    by EliteKiller
    ATHLON x2 6000 or C2D E8400??
    by ianb
    Budget Gaming PC
    by AeroWB
    what mobo and PSU pls..
    by AeroWB
    is this an "ok!" build?
    by AeroWB
    may notebook just shutdowns! help..
    by trojancya
    computer lock ups!
    by trojancya
    .:: Visit Our Forums ::.


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