我有一个通过USB for mac的视频捕获设备,我想在Processing中使用。 该设备显示在USB Prober中,如果需要,我还可以从IORegistryExplorer获得更多信息。 在Processing中,可用的设备数组列表如下:
0 DV Video 1 ECVComponent 2 Google Camera Adapter 0 3 Google Camera Adapter 1 4 IIDC FireWire Video 5 USB Video Class Video 6 VideoGlide
当4和5启动capture.settings窗口以及iSight(内部网络摄像头)时,其他人只需打开相机旁边的灯光,但没有明显的信号/灰色窗口。
然而,在capture.settings()窗口中,列表中的所有源都是灰色的,除了数字5,列为“内置iSight”,即使在代码中选择了数字4作为设备。
其他设备上的控制台读取类似
的内容quicktime.std.StdQTException[QTJava:7.7.1g],-9408=deviceCantMeetRequest,QT.vers:7718000 at quicktime.std.StdQTException.checkError(StdQTException.java:40) at quicktime.std.sg.SGChannel.setDevice(SGChannel.java:330) at processing.video.Capture.init(Capture.java:203) at processing.video.Capture.(Capture.java:154) at sketch_nov30a.setup(sketch_nov30a.java:36) at processing.core.PApplet.handleDraw(PApplet.java:1608) at processing.core.PApplet.run(PApplet.java:1530) at java.lang.Thread.run(Thread.java:680) Exception in thread "Animation Thread" java.lang.RuntimeException: Error while setting up Capture at processing.core.PApplet.die(PApplet.java:2571) at processing.core.PApplet.die(PApplet.java:2580) at processing.video.Capture.init(Capture.java:244) at processing.video.Capture.(Capture.java:154) at sketch_nov30a.setup(sketch_nov30a.java:36) at processing.core.PApplet.handleDraw(PApplet.java:1608) at processing.core.PApplet.run(PApplet.java:1530) at java.lang.Thread.run(Thread.java:680)
............退出
DVFreeThread - CFMachPortCreateWithPort hack = 0x11ed170, fPowerNotifyPort= 0x11ec3b0 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f4a60, fPowerNotifyPort= 0x11ea230 DVFreeThread - CFMachPortCreateWithPort hack = 0x1183420, fPowerNotifyPort= 0x11e6b60 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f7890, fPowerNotifyPort= 0x11f7870 DVFreeThread - CFMachPortCreateWithPort hack = 0x1fb7b0, fPowerNotifyPort= 0x1f47f0 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f7a90, fPowerNotifyPort= 0x11f76e0 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f6cf0, fPowerNotifyPort= 0x11ea040 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f8420, fPowerNotifyPort= 0x11f7ff0 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f6cf0, fPowerNotifyPort= 0x1183510 DVFreeThread - CFMachPortCreateWithPort hack = 0x148300, fPowerNotifyPort= 0x145720 DVFreeThread - CFMachPortCreateWithPort hack = 0x144ec0, fPowerNotifyPort= 0x149b40 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f1a20, fPowerNotifyPort= 0x11f5f80 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f1a20, fPowerNotifyPort= 0x11ebd80 DVFreeThread - CFMachPortCreateWithPort hack = 0x142ac0, fPowerNotifyPort= 0x1a6190 DVFreeThread - CFMachPortCreateWithPort hack = 0x158ec0, fPowerNotifyPort= 0x15d000 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f3870, fPowerNotifyPort= 0x1187360 DVFreeThread - CFMachPortCreateWithPort hack = 0x14e490, fPowerNotifyPort= 0x19b260 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f6a70, fPowerNotifyPort= 0x11f6dd0 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f3550, fPowerNotifyPort= 0x118f400 DVFreeThread - CFMachPortCreateWithPort hack = 0x11f5d70, fPowerNotifyPort= 0x11f3560 DVFreeThread - CFMachPortCreateWithPort hack = 0x11e3950, fPowerNotifyPort= 0x11f43f0 DVFreeThread - CFMachPortCreateWithPort hack = 0x11ea000, fPowerNotifyPort= 0x118ef60
现在,是否有可能是osx的驱动程序,我错过了? 捕获设备附带的软件很好地显示了接收的图像, - 软件是否同时运行是否重要?
任何有关我所缺少的内容和最佳捕获实践的帮助i.r.t.非常感谢处理以及任何(开源)视频捕获信息。
一切顺利, Themapplz
答案 0 :(得分:0)
不是100%肯定,因为我还在使用osx 10.6.8且没有Elgato视频捕捉设备,但我确实记得在OSX上遇到额外相机和处理的问题。
我只是想使用基本的网络摄像头,但没有官方的osx驱动程序,因此默认情况下无法在Processing中使用。我安装了Macam driver,这适用于我的基本相机。我怀疑这可能是与驾驶员有关的问题。 我看了一下官方的Elgator Video Capture网站,在他们的driver downloads页面上看起来这些驱动程序仅适用于Windows,尽管它也被广告给了work on OSX。 OSX驱动程序是否只在CD上出现?