Hi,
I am writing a program which does the following. It makes a h323 call
to an OpenMcu running at remote machine, once the connection is
established, it will read video/audio data from an avi file instead of
getting from microphone/camera, then it will send these data to the
Openmcu server.
My questions are,
1. I looked into the avifile package really quick. Seems it is a big
and complicated package. Could you please give me some clue about where I
could find the sample code that reads data from avi file and play back? so
far my understadning is,
first you need to create avi read handler by CreateAviReadHandler()
second you need to create AviReadStream
then you could create AviVideoStream and AviAudioStream on top of it
then StartStreaming()
then ReadFrames() for Audio frame, ReadFrame() for video frame.
is that right?
besides, I want to extract raw data from the frame, this I really
don't know how to do. what I would like to have is something like,
Read(buf, len);
then the raw data is in buf and number of bytes read is in len. Can
I do that?
2. Do I have to synchronize the a/v data? If yes, How to synchronize
them? :-( I am really newbie, please don't laugh at my stupidity. :-)
3. If I want to output this data to remote machine at a given
resolution, say, 320 x 240, what should I do?
Thanks a lot!
-Rui
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile