QTKit 不会枚举 64 位模式下的 USB 和虚拟摄像头。有解决方法吗?

发布于 2024-10-22 04:13:19 字数 235 浏览 4 评论 0原文

我对 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空气里的味道 2024-10-29 04:13:19

我遇到了同样的问题。除了保持 32 位之外,还没有找到解决方法。 Quicktime API 邮件列表已经在这里基本上讨论了这个问题声明相机设备(您的相机设备)是 Quicktime 组件,如果我理解正确的话,Quicktime 组件仅受 Quicktime 7 支持,不支持 Quicktime X。

直白地说:Quicktime 组件在 64 位中不受支持,无论出于什么原因我不明白。

更新:关于quicktime-api-lists的另一场讨论也涵盖了这个主题这里。在讨论中搜索 vdig,您会发现有关 32 位与 64 位复杂情况的完整陈述:

Apple 从未更新或更换过 VDIG/SG/QuickTime 组件
64 位架构的 API,您的 VDIG 永远不会显示为
64 位下的可选设备。所以你的 VDIG 完蛋了,就像
所有其他 Mac 第 3 方 QT 组件开发人员都是。

此外,还会弹出术语 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:

Apple has never updated or replaced the VDIG/ SG / QuickTime Component
API to a 64 bit architecture and your VDIG will never show up as a
selectable device under 64 Bit. So your VDIG is screwed, just like
every other Mac 3rd party QT component developer is.

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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文