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."
_______________________________________________
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