Hi,
I'm a relative beginner to Quicktime and could do with
some general guidance:
I'm being supplied with a buffer containing frames of
mpeg4 media. I need to play these back through
quicktime player (in 'realtime' - i.e I get the frames
passed to me in a buffer and my application has to
decode and play them straight away). I've done lots of
research and reading both on these mail lists and in
the quicktime api...but now I'm just confused.
Please could someone just set out the basic steps I
need to achieve to extract, decode/decompress and play
as a movie the mpeg4 frames. I guess I'll have to
handle each frame individually?
My current guess at the moment is that I need to do
something like:
* create a Dsequence using an image description and
initalise it.
* In a loop, get each frame from the buffer as a
RawEncodedImage
* Decompress each frame
* Use "addSample" to add each frame to a movie? Or
display it in a Gworld??
* Somehow display / play the movie ...?
Do I need to bother with the whole Dsequence thing?
I've tried just constructing a movie and adding
samples, but all I get is garbage displayed.
Please, some basic guidelines would be very much
appreciated.
Thanks,
Mimi.
___________________________________________________________
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden
This email sent to email@hidden