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 Book
Digital Video for Dummies, Third Edition
Digital Video for Dummies, Third Edition
By Keith Underdahl
For Dummies
Price: $4.00

Home » Video
Video Compression Basics
Author: Gabriel Torres
Type: Tutorials Last Updated: February 1, 2006
Page: 1 of 1
$ Check REAL-TIME pricing for Wiley IEEE Press Video Compression and Communications From Basics to H.261 H.263 H.264 MPEG4 for DVB HSDPA-Style Adaptive Turbo-Transceivers $
Amazon: $152.00

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
    GeForce GTX 512MB 9800GTX Graphics Video PVXfx GeForce 9800 GTX Graphics Card - PVT98WYDFH nVIDIA 738MHz 512MB DDR3 SDRAM 256bit PCI Express 2.0 x16 Retail


    eCost: $169.99 B&H Photo Video: $209.95
    Computers4Sure: $199.95 Newegg: $134.99

    RSSLatest News
    Thermaltake Launches PW880i Water Cooler
    July 3, 2009 - 1:27 PM PST
    NZXT Announces Sentry 2 Touchscreen Fan Controller
    July 2, 2009 - 2:25 PM PST
    Transcend Intros Thermal Sensor-Equipped DDR3 Memory
    July 1, 2009 - 11:40 AM PST
    Cooler Master Launches Universal Laptop Charger
    June 30, 2009 - 5:03 PM PST
    Active Media Products Launches “President Barack Obama” USB Flash Memory
    June 29, 2009 - 6:57 PM PST
    New SSD Drives from Corsair
    June 26, 2009 - 4:33 AM PST
    MSI Announces X-Slim X600 Notebook
    June 25, 2009 - 6:00 PM PST
    Zotac Releases GeForce GTX 275 with 1,792 MB GDDR3
    June 24, 2009 - 7:54 AM PST
    Kingston Launches DDR3-1600 HyperX T1 Memory Kit
    June 23, 2009 - 11:20 AM PST
    Walton Chaintech Announces eSATA/USB Flash Memory Series
    June 22, 2009 - 2:00 AM PST
    .:: More News ::.

    RSSLatest Content
    Power Supplies Re-Tested - Part 3
    Thermaltake Element G Case Review
    Corsair CX400W Power Supply Review
    Seventeam ST-750P-AF Power Supply Review
    Rocketfish 550 W Power Supply Review
    In Win X-Fighter Case Review
    Gigabyte G31M-ES2C Motherboard
    BFG ES-800 Power Supply Review
    And The Training Goes On...
    2 TB Hard Disk Drive Battle: Seagate Barracuda LP vs. Western Digital Caviar Green
    Power Supplies Re-Tested - Part 2
    Power Supplies Re-Tested - Part 1
    Hardware Secrets Power Supply Test Methodology
    What WePC Dreams Are Becoming Reality?
    All Phenom Models

    Our Most Popular Articles
    Maximum CPU Temperature
    987,955 views
    nVidia Chips Comparison Table
    616,971 views
    How to Find Out Your Motherboard Manufacturer and Model
    595,463 views
    AMD ATI Chips Comparison Table
    517,641 views
    Connecting Two PCs Using a USB-USB Cable
    512,359 views
    How To Correctly Apply Thermal Grease
    495,483 views
    ATI Radeon X1300 Pro Review
    467,122 views
    ATI Radeon X1600 XT Review
    458,108 views
    How To Perform a BIOS Upgrade
    342,865 views
    Sempron vs. Athlon XP
    320,036 views

    Latest Threads in Our Forums
    Area 51m 9750 temp assistence
    by tomahawk 1705
    Thermaltake Launches PW880i Water Cooler
    by Hardware Secrets Team
    Hardware Secrets Power Supply Test Methodology
    by jolphil
    Fujifilm FinePix A150
    by Hardware Secrets Team
    Power Supplies Re-Tested - Part 3
    by Hardware Secrets Team
    Antec CP-850 Power Supply Review
    by Gabriel Torres
    Dynex 400 W Power Supply Review
    by Gabriel Torres
    New tft monitor
    by Olle P
    bottleneck?
    by Olle P
    No video signal
    by Olle P
    .:: Visit Our Forums ::.

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