From: "Clary, Jason" <[EMAIL PROTECTED]>
Subject: Live streaming from AVI with the SDK


I have converted the Avicnvt demo application to stream live broadcasts
from the AVI file but no matter what I do, it uses up 100% processor for
input files because the encoder loop has no waiting and it tries to
encode the entire avi file as fast as possible rather than as needed.
It also takes more frames than are needed.  I altered the CWinAVISource
to only send every other frame to the encoder and that seems to make it
go a lot faster without a noticeable decrease in quality (the AVI I'm
testing with is 30fps) but it still does it as fast as possible with
100% CPU on my Xeon 550 development machine.

I've not had much luck finding a way to check if the encoder NEEDS
another frame or not.  Maybe if I watch the time and every pass of the
encoder loop I check the time and look for a frame at that offset.  If
there is one, encode it, otherwise continue to loop.  I'm not sure if
that is the best way to do this, though.

Any suggestions?

Jason S. Clary
PRIMEDIA Workplace Learning
[EMAIL PROTECTED]
  


*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites.  Archives of RealForum can
be found at http://realforum.real.com

If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:

    unsubscribe realforum

or from another account, besides the address you subscribed with:

    unsubscribe realforum <[EMAIL PROTECTED]>

Reply via email to