Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Most efficient generic way to get at raw video data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Most efficient generic way to get at raw video data



Bernard Cena wrote:

I'm also a QT newbie and have been following the discussion on using the
GWorld technique to get at video data (I have also searched through QT
Tech Q&A and Iceflow letters). From what I have read it seems to me that
allocating a GWorld, GetMovieNextInterestingTime, SetMovieTimeValue,
MoviesTask is the way to go when one is interested in video data frame
by frame as fast as possible (I've been allocating my own ARGB buffer
and using QTNewGWorldFromPtr). Is this the case ?
I now read about the possibility of using a MovieDrawingCompleteProc
call-back - intuitively I'd think this is more geared to processing
while the movie is playing as opposed to "munching on pixels as fast as
we can get at them" ?
What is the most efficient, generic way in QT to get at pixel data ?
I am interested in processing video data from tracks separately - would
the GWorld technique also be the way to go in this case (by disabling
other video tracks or anything else that produces video data) ?
I realise these are FAQs, but somehow none of the material I read gave
me a definite answer - I'd really appreciate a firm opinion on this from
the forum.

Since you don't say what it is you're trying to do specifically, it's hard to tell you what the best method is. However, you could use QT Effects to get at the raw pixel data. You could also apply different effects to different tracks so each effect only received data from the appropriate track. (Which is what you wanted, right?)

Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
quicktime-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-api
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.