• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DV Capture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Finding which control is selected
  • Next by Date: Re: launchApplication (NSWorkSpace) : the icon is always displayed
  • Previous by thread: DV Capture
  • Next by thread: [Q]: Object ownership, undos, tableview, etc.
  • Index(es):
    • Date
    • Thread