Buffer Underrun and Overrun Scenarios

Written by Stephen Bucaro


Continued from page 1

Thanks to MPEG compression, we might not have as big a problem as first appears. With MPEG compression,repparttar video camera does not have to sendrepparttar 107696 entire image for every frame. It sends onlyrepparttar 107697 data forrepparttar 107698 part ofrepparttar 107699 image that changed, and it compresses that part.

Ifrepparttar 107700 image doesn't change much, andrepparttar 107701 part that changed compresses well,repparttar 107702 video camera might need to transfer at a rate of only a few MBps. But ifrepparttar 107703 entire image changes every frame andrepparttar 107704 image does not compress well,repparttar 107705 video camera might transfer data at a higher rate thanrepparttar 107706 computer monitor is capable of displaying.

Again, we have two devices that operate at different transfer rates that must communicate. We can make them work together by placing a buffer between them. When you start recording video,repparttar 107707 video recorder starts filingrepparttar 107708 buffer. The computer display immediately begins pulling data out ofrepparttar 107709 buffer to compose display frames.

If everything goes smoothly,repparttar 107710 computer display will be pulling data out ofrepparttar 107711 buffer fast enough so thatrepparttar 107712 buffer never completely fills. Ifrepparttar 107713 buffer fills up,repparttar 107714 video camera can't put any more data in, so it stops. Buffer overrun error.

We can reducerepparttar 107715 chances of buffer overrun by defining a larger buffer. Thenrepparttar 107716 video camera will be able to put more bytes inrepparttar 107717 bucket before it fills up. Hopefully,repparttar 107718 video camera will run into a few frames whererepparttar 107719 entire image doesn't change, reducing its data transfer rate enough sorepparttar 107720 computer display can catch up.

Underrun, Overrun Protection

Today, CD recorder buffer underrun is much less common. Computers come with much more RAM than they did before, and CD recorders have learned to monitorrepparttar 107721 buffer and reducerepparttar 107722 recording speed ifrepparttar 107723 buffer starts to run low.

Video camera buffer overrun is also less common. Video uses a program called a "codec" (for encode/decode). A smart codec can monitorrepparttar 107724 buffer and reconfigure itself whenrepparttar 107725 buffer gets too full. It might for example automatically reducerepparttar 107726 color depth ofrepparttar 107727 video, or drop frames, untilrepparttar 107728 computer display catches up.

Underrun and overrun Protection doesn't completely solverepparttar 107729 problem. If underrun protection activates, a CD recording session will take much longer. If overrun protection activates,repparttar 107730 video quality will be reduced. The only way to solve underrun and overrun problems, after increasingrepparttar 107731 size ofrepparttar 107732 buffer, is to matchrepparttar 107733 data transfer rates ofrepparttar 107734 devices that need to communicate. You can upgrade to a faster hard drive, or install to a high performance video card.

Now, if you need to troubleshoot a buffer underrun or buffer overrun errors, at least you know what a buffer is, why we need buffers, and what causes buffer underrun and buffer overrun errors.

---------------------------------------------------------- Resource Box: Copyright(C)2004 Bucaro TecHelp. To learn how to maintain your computer and use it more effectively to design a Web site and make money onrepparttar 107735 Web visit bucarotechelp.com To subscribe to Bucaro TecHelp Newsletter Send a blank email to subscribe@bucarotechelp.com ----------------------------------------------------------

None


OEComplete – A Personal Information Manager

Written by CellarStone INC.


Continued from page 1
The Calendar option in OEComplete helps you set appointments for any day, and plan your task ahead of time. OEComplete allows scheduling of recurring appointments, such as a weekly status meeting that occurs on a regular basis

Experiencerepparttar feature: ·Task Recurrence ·Set up Appointments, Tasks ·Create Notes ·Set Alerts/ Reminders ·Set up recurrence of appointments ·Import and Export of Data



CellarStone is in the business of providing systems solutions and services to our customers. We provide implementation /customization services for other vendor software. We also custom develop software based on customer requirements and implement them.


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use