Re: QTMovie grabing while playback
Re: QTMovie grabing while playback
- Subject: Re: QTMovie grabing while playback
- From: "douglas a. welton" <email@hidden>
- Date: Wed, 23 Apr 2008 13:05:18 -0400
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden