QTKit 不会枚举 64 位模式下的 USB 和虚拟摄像头。有解决方法吗?
我对 Quicktime(即 QTKit)有疑问。很久以前,我写了一个应用程序,它在 Mac OS X 上使用相机设备。用户可以使用弹出框选择相机。我将设备列表填充到弹出框中,以便用户可以选择他喜欢的相机。现在我迁移到 64 位代码。使用 iSight cam 一切正常。音频设备也正确列出(包括 Soundflower 等虚拟驱动程序)。令我惊讶的是,所有相机设备都不见了。并且 QTKit 永远不会枚举现有的相机。有解决方法吗?或者有人知道这个问题吗?
I have a problem with Quicktime, that means, QTKit. A long time ago I wrote an app, which is using camera devices on Mac OS X. The user could select the camera using a popup box. I populated the device list into a popup box so the user could choose his preferred camera. Now I migrated to 64Bit code. And everything works fine with iSight cam. Audio devices are listed properly, too (including virtual drivers like Soundflower). For my surprise all camera-devices are missing. And QTKit never enumerates the existing cameras. Is there a workaround or does someone know something about this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题。除了保持 32 位之外,还没有找到解决方法。 Quicktime API 邮件列表已经在这里基本上讨论了这个问题声明相机设备(您的相机设备)是 Quicktime 组件,如果我理解正确的话,Quicktime 组件仅受 Quicktime 7 支持,不支持 Quicktime X。
直白地说:Quicktime 组件在 64 位中不受支持,无论出于什么原因我不明白。
更新:关于quicktime-api-lists的另一场讨论也涵盖了这个主题这里。在讨论中搜索 vdig,您会发现有关 32 位与 64 位复杂情况的完整陈述:
此外,还会弹出术语 QTKitServer,该术语似乎没有文档记录,但 Quicktime X 在 64 位模式下使用该术语通过 Quicktime 组件播放 32 位电影。
也许 QTKitServer 是关键?
I encountered the same issue. Haven't found a workaround other than keeping it 32bit. The Quicktime API mailing list has already discussed this here basically stating that the camera device (your camera device) is a Quicktime Component and Quicktime Components are only supported with Quicktime 7 not Quicktime X if I understood this correctly.
So to put it bluntly: Quicktime Components are not supported in 64bit, for whatever reason I don't understand.
Update: another discussion on the quicktime-api-lists also covers this topic here. Search for vdig in the discussion and you'll find statements on the whole 32bit vs. 64bit complications:
Also, the term QTKitServer pops up, which seems undocumented but is used by Quicktime X in 64bit mode to play movies in 32bit by using Quicktime components.
Maybe QTKitServer is the key?