[Pythonmac-SIG] QuickTime.Qt beta & SequenceGrabber, anybody use it?

Jack Jansen Jack.Jansen at cwi.nl
Mon Aug 16 00:29:41 CEST 2004


On 5 Aug 2004, at 16:17, Jerome wrote:

> I'm trying to figure out how to use SequenceGrabber component in
> QuickTime beta 0.2 for python
> it seems to have all the functions except i can't find out how to
> create the component to start
> in Carbon it's mySeqGrab =
> OpenDefaultComponent(SeqGrabberComponentType, 0) or something like
> that
> then you can call stuff like SGInitialize(mySeqGrab)

You should be able to get at the component manager through Carbon.Cm, 
so Carbon.Cm.OpenDefaultComponent() is the routine you want.

But note that the component manager is (a) rather old code, (b) hardly 
ever used, at least by me, so (c) only very lightly tested. So: if it 
doesn't work then the fault is probably mine.

Please report back here whether it works. And if you can come up with a 
sufficiently simple example that would be very much appreciated too!
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman



More information about the Pythonmac-SIG mailing list