Your session setup and configuration looks good. In order to find
muxed devices, you do need to search for QTCaptureDevices with
QTMediaTypeMuxed in addition to QTMediaTypeVideo, but based on your
previous email, it sounds like you may have already experimented
with that and run into problems. Just be sure, to search for both
kinds of devices, you would use code that looks like this:
You're right about the TypeMuxed stuff -- can a mac have a muxed
device as the default? (I though isights were the only default, but
I'm totally guessing there). The default part was a fall-back anyway,
and wasn't in effect for this exercise.
If that approach doesn't work, there may be a problem specific to
the device being used. For example, it may be an HDV camera on a
system that does not have the HDV codec (which is only bundled as a
part of Final Cut Pro). Without the codec, the captured video cannot
be decompressed which would result in the noCodecErr that you are
seeing.
I was thinking that a missing codec may have been an issue, but then
having the camera work in other settings on the same machine made me
rule that problem out. As it turns out, adding the audio-disabling
snippet appears to have fixed the problem (the user has now reported a
visible image, and is really excited :) -- If this isn't quite
expected behaviour (i.e. The "Hypothetically, it shouldn't be
necessary to disable the audio connection when there are no capture
outputs expecting audio, The capture session should know to just
ignore the extra stream in that case." part David mentioned a few
mails ago), let me know so I can write up a bugreport and supply some
sample code. I'm guessing QTKit's going to get a lot of attention in
the near future anyway, so maybe this is already on the agenda?
_______________________________________________
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