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: Dual HV20 capture



Do you have an object registered to receive the QTCaptureSessionRuntimeErrorNotification? If you receive such a notification, its userInfo will contain an NSError for the QTCaptureSessionErrorKey. That NSError's userInfo may also contain an underlying NSError for the NSUnderlyingErrorKey. If you receive one of these notifications after starting a capture session, you most likely do not have enough bus bandwidth to capture from both devices simultaneously, which will result in an IOKit error. If this is the case, investigate capturing with the cameras plugged into two separate buses, if they are available.


When the image is reduced from HD to SD, a new thing happens: the second input mirrors the first camera.

Anyway, I added the a listener to the notification you mentioned, and here's what we get:

7/06/08 12:44:41 PM DualHV20App[264] QTCaptureSessionError:
NSConcreteNotification 0x51f820 {name =
QTCaptureSessionRuntimeErrorNotification; object = <QTCaptureSession:
0x17c27f60>; userInfo = {
   QTCaptureSessionErrorKey = Error Domain=QTKitErrorDomain Code=-1
UserInfo=0x17ce8870 "Operation could not be completed.";
}}
7/06/08 12:44:41 PM DualHV20App[264] QTCAptureSessionError userInfo: {
   QTCaptureSessionErrorKey = Error Domain=QTKitErrorDomain Code=-1
UserInfo=0x17ce8870 "Operation could not be completed.";
}
7/06/08 12:44:41 PM DualHV20App[264] QTCaptureSessionError:
NSConcreteNotification 0x51f820 {name =
QTCaptureSessionRuntimeErrorNotification; object = <QTCaptureSession:
0x17c27f60>; userInfo = {
   QTCaptureSessionErrorKey = Error Domain=QTKitErrorDomain Code=-1
UserInfo=0x17ce8870 "Operation could not be completed.";
}}
7/06/08 12:44:41 PM DualHV20App[264] QTCAptureSessionError userInfo: {
   QTCaptureSessionErrorKey = Error Domain=QTKitErrorDomain Code=-1
UserInfo=0x17ce8870 "Operation could not be completed.";
}
7/06/08 12:44:48 PM DualHV20App[264] QTVideoInput open device
error: Error Domain=QTKitErrorDomain Code=1301 UserInfo=0x18198240
"The device "HV20" could not be opened because it is in use by another
application."

(Sorry if that's a bit hard to read)

--
[ christopher wright ]
email@hidden
http://kineme.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

References: 
 >Dual HV20 capture (From: Christopher Wright <email@hidden>)
 >Re: Dual HV20 capture (From: "Javier Hernanz Zajara" <email@hidden>)
 >Re: Dual HV20 capture (From: Christopher Wright <email@hidden>)
 >Re: Dual HV20 capture (From: Javier Hernanz Zájara <email@hidden>)
 >Re: Dual HV20 capture (From: Christopher Wright <email@hidden>)
 >Re: Dual HV20 capture (From: David Underwood <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.