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

Jerome jeremy.knope at gmail.com
Mon Aug 16 23:50:15 CEST 2004


thanks, that's a start, problem is the
Carbon.Cm.OpenDefaultComponent() won't allow a 0 for 2nd argument to
allow any subtype, so i dont know how to try my example otherwise,
putting other subtypes just get null componentInstances
 --jerome

On Mon, 16 Aug 2004 00:29:41 +0200, Jack Jansen <jack.jansen at cwi.nl> wrote:
> 
> 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