Re: DV Capture
Re: DV Capture
- Subject: Re: DV Capture
- From: "Rafael K. Kobylinski" <email@hidden>
- Date: Thu, 18 Oct 2001 19:28:34 +0200
At 18:38 Uhr +0200 18.10.2001, Patrick Juchli wrote:
I'm currently playing around with SGDataProcSamplePB (an apple sample code
with sequence grabbers for realtime DV capture) and I wonder how something
like this would look like in non-carbon. Can someone just show me where I
have to focus on, when I would like to develop something similar using
Cocoa/QuickTime/... (but not Carbon).
I have recently successfully "ported" that sample code to Cocoa. Just
strip out the Carbon Event handling code and put the remainder into a
Cocoa app - I used a NSTimer instead of the Carbon Null Event to
invoke SGIdle(). You can call any C function from your Objective-C
code - so you can call QuickTime without problems.
If you want to display the images you will need to use a
NSQuickDrawView (that's what I did) or maybe you should convert the
Quartz graphics context of a NSView to a QuickDraw graphics port (did
not try that yet).
--
Rafael K. Kobylinski Email: email@hidden
Institut f|r Informatik Tel. : ++ 49 89 289 22391
Technische Universitdt M|nchen Cell.: ++ 49 177 7 495020
References: | |
| >DV Capture (From: Patrick Juchli <email@hidden>) |