Skip navigation.
 
mlRe: QTMovie grabing while playback
FROM : douglas a. welton
DATE : Wed Apr 23 19:05:18 2008

Nikolai,

QTMovieView has a delegate method

   - (CIImage*) view: (QTMovieView *)Target_View willDisplayImage: 
(CIImage *)New_Image

This method gives you a CIImage to play with before it is displayed in 
the Target_View.  Check the header file for QTMovieView.h (near the 
bottom).  I think the the MyMovieFilter sample code uses this method.

Note:  Depending on what type of analysis you are doing you may need 
to convert the CIImage into a pixel-based format.  If that is too slow 
you may want to get friendly with QTVisualContextIsNewImageAvailable() 
and the Display Link...  check out the CIVideoDemoGL sample code.

regards,

douglas


On Apr 23, 2008, at 12:19 PM, Nikolai Hellwig wrote:

> Hi,
>
> I've done some image analysing software for QTKit Capture. It works 
> fine. Now i need to use this for a quicktime movie.
> I can playback the quicktime movie, but i can't find any delegate 
> which tells my application, that a new frame is rendered. If i can 
> get this information i could grab this frame in order to analyse it.
>
> can anyone tell me how to do it? I don't want the user to click 
> "grabFrame" or something like that.
>
> regards
> Nikolai Hellwig

Related mailsAuthorDate
mlQTMovie grabing while playback Nikolai Hellwig Apr 23, 18:19
mlRe: QTMovie grabing while playback douglas a. welton Apr 23, 19:05
mlRe: QTMovie grabing while playback Bob Smith Apr 23, 19:30
mlRe: QTMovie grabing while playback Jean-Daniel Dupas Apr 23, 19:49
mlRe: QTMovie grabing while playback Randall Meadows Apr 23, 19:58
mlRe: QTMovie grabing while playback Jean-Daniel Dupas Apr 23, 20:15
mlRe: QTMovie grabing while playback Randall Meadows Apr 23, 20:24
mlRe: QTMovie grabing while playback Bob Smith Apr 23, 20:39
mlRe: QTMovie grabing while playback douglas a. welton Apr 23, 22:08
mlRe: QTMovie grabing while playback Bob Smith Apr 24, 22:14
mlRe: QTMovie grabing while playback Uli Kusterer Apr 25, 01:03
mlRe: QTMovie grabing while playback David Duncan Apr 25, 01:29
mlRe: QTMovie grabing while playback Scott Anguish Apr 25, 02:24
mlRe: QTMovie grabing while playback Bob Smith Apr 25, 03:05
mlRe: QTMovie grabing while playback Scott Anguish Apr 25, 03:16
mlRe: QTMovie grabing while playback douglas a. welton Apr 25, 03:34
mlRe: QTMovie grabing while playback Bob Smith Apr 25, 11:17
mlRe: QTMovie grabing while playback Nikolai Hellwig Apr 25, 15:04
mlRe: QTMovie grabing while playback douglas a. welton Apr 25, 16:41
mlRe: QTMovie grabing while playback douglas a. welton Apr 25, 16:43
mlRe: QTMovie grabing while playback Nikolai Hellwig Apr 25, 17:58
mlRe: QTMovie grabing while playback douglas a. welton Apr 25, 18:17
mlRe: QTMovie grabing while playback Chris Adamson Apr 25, 20:26
mlRe: QTMovie grabing while playback Thomas Engelmeier Apr 25, 23:55
mlRe: QTMovie grabing while playback Thomas Engelmeier Apr 25, 23:58
mlRe: QTMovie grabing while playback Bob Smith Apr 26, 03:34