Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QCVideoInput: Sequence grabber initialization failed



You could publish a port with this information.

Your best bet would be to connect the output of the Video Input patch to an Input Splitter whose type is boolean. If the sequence grabber initialization fails, it will output nil images which are typecast to false over the Input Splitter. Publish the output of the splitter and use -valueForOutputKey in your code.



On Jul 11, 2006, at 6:37 PM, Roland Torres wrote:


renderer=[[QCRenderer alloc] initWithOpenGLContext:_glContext pixelFormat:_glPixelFormat file:path];


This call loads my .qtz video composition, and all works well unless the iSight camera is munged. Then, it issues the "Sequence grabber initialization failed" error message to the console. My app doesn't seem to know the difference. In either case, it appears that a healthy QCRenderer object is returned.

So how can my app tell if the .qtz video composition actually was able to connect to the camera?

Roland

On Jul 11, 2006, at 6:22 PM, Roland Torres wrote:

2006-07-11 17:55:54.830 Shibboleth[3636] *** Message from <QCVideoInput = 0x0E906D20 "VideoInput_1">:
Sequence grabber initialization failed (error -9405)


Is there some way I can trap this error in my QC/Cocoa video app, so I can put up an alert panel to the user? I don't see what QC component/call is issuing it. Is there a corresponding notification issued that I could listen for?

Roland


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling% 40apple.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >QCVideoInput: Sequence grabber initialization failed (From: Roland Torres <email@hidden>)
 >Re: QCVideoInput: Sequence grabber initialization failed (From: Roland Torres <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.