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: $4.36

Home » Video
Video Compression Basics
Author: Gabriel Torres
Type: Tutorials Last Updated: February 1, 2006
Page: 1 of 1
$ Check REAL-TIME pricing for EVGA 512-P3-N862-AR GeForce 9600 GT GDDR3 PCI Express 2.0 Video Card Retail, (512 MB) PCI Express Products $
Buy.com: $164.99 TigerDirect.com: $179.99
CompUSA.com: $179.99 Circuit City: $189.99
OZdirect: $209.52

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

  • Compare Prices for Video CardPowered by Shopping.com
    eVGA GeForce 8800GTS PCIE (320 MB) PCI Express Video Card
    GeForce 8800 GTS VPU, 500 MHz , PCI Express Interface, 320-bit, 320 MB (GDDR3 SDRAM), Max Res: 60 Hz @ 2560 x 1600
    Read full description...

    Read 1 Epinions reviews
    $150 - $270 Compare Prices
    PNY Verto® GeForce? FX 5200, (256 MB) AGP Video Card
    GeForce FX 5200 VPU, 250 MHz , AGP 8x Interface, 128-bit, 256 MB (DDR SDRAM), Max Res: 85 Hz @ 2048 x 1536
    Read full description...
    $55 - $62 Compare Prices
    eVGA GeForce® FX5200, (128 MB) AGP Video Card
    Graphic Card, GeForce FX 5200 VPU, 250 MHz , AGP 8x Interface, 64-bit, 128 MB (DDR SDRAM), Max Res: 75 Hz @ 2048 x 1536
    Read full description...

    Read 1 Epinions reviews
    $37 - $46 Compare Prices
    PNY GeForce® 8800 GTS, (768 MB) PCI Express Video Card
    GeForce 8800 GTX VPU, 575 MHz , PCI Express Interface, 384-bit, 768 MB (GDDR3 SDRAM), Max Res: 85 Hz @ 2048 x 1536
    Read full description...

    Read 1 Epinions reviews
    $326 - $530 Compare Prices
    eVGA e-GeForce® 7600 GT, (512 MB) AGP Video Card
    GeForce 7600 GT VPU, 580 MHz , AGP 8x Interface, 128-bit, 512 MB (DDR2 SDRAM), Max Res: 85 Hz @ 2048 x 1536
    Read full description...
    $125 - $142 Compare Prices

    RSSLatest News
    MSI Launches Titan 700
    May 9, 2008 - 7:22 AM
    Moshi Announces MacBook cooler Zefyr 13”
    May 9, 2008 - 6:22 AM
    Transcend Reveals Extreme Speed 300X CompactFlash
    May 8, 2008 - 9:42 AM
    HighPoint Intros RocketRAID 2640X4
    May 7, 2008 - 7:04 AM
    OCZ Releases PC3-16000 4GB DDR3
    May 7, 2008 - 6:53 AM
    Noctua Announces CPU cooler NH-C12P
    May 6, 2008 - 5:34 AM
    AirLive Intros Powerline Adapter HP-3000E
    May 6, 2008 - 5:31 AM
    OCZ Releases Special Ops Edition DDR3
    May 5, 2008 - 7:24 AM
    Silicon-Power Intros 128 GB SSD
    May 5, 2008 - 7:05 AM
    ECS Launches GeForce 9600GSO
    April 30, 2008 - 8:50 AM
    .:: More News ::.

    RSSLatest Content
    Enermax PRO82+ 525 W Power Supply Review
    Cooler Master eXtreme Power Plus 460 W (RS-460-PMSR-A3) Power Supply Review
    Are Intel chipsets really capable of running DirectX 10 games?
    Thermaltake Armor+ ESA Case Review
    SilverStone Strider ST50F 500 W Power Supply Review
    New Layout on Hardware Secrets
    Cooler Master Cosmos S Case Review
    What to Do If Your Computer Doesn’t Turn On
    How to Use the SPDIF Output from Sound Blaster X-Fi Sound Cards
    SLI vs. CrossFire
    ASUS M3N-HT Deluxe/Mempipe Motherboard
    Enermax Liberty DXX 500W Power Supply Review
    Everything You Need to Know About TV Technologies
    Sunbeamtech Silent Storm Case Review
    nVidia Chips Comparison Table

    Our Most Popular Articles
    Maximum CPU Temperature
    668,531 views
    nVidia Chips Comparison Table
    424,244 views
    AMD ATI Chips Comparison Table
    389,428 views
    ATI Radeon X1300 Pro Review
    387,402 views
    ATI Radeon X1600 XT Review
    378,506 views
    How to Find Out Your Motherboard Manufacturer and Model
    314,612 views
    Connecting Two PCs Using a USB-USB Cable
    291,409 views
    How To Correctly Apply Thermal Grease
    274,983 views
    Sempron vs. Athlon XP
    262,997 views
    Sempron 3400+ Review
    251,793 views

    Latest Threads in Our Forums
    Need suggestion 4 new PC
    by reidy-
    Your site looks familiar?
    by billybobbuddy
    How Does On-board Audio Work?
    by billybobbuddy
    Is it good option?
    by doc
    VGA Troubleshooting
    by doc
    Video converter software needed!
    by jackson
    Undicicive
    by Gabriel Torres
    PC SPDIF ports and speakers
    by Gabriel Torres
    nForce 590 sli - overheating !!!
    by obso1337
    MSI Launches Titan 700
    by Hardware Secrets Team
    .:: 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)