处理/C920 Logitech捕获帧率视频演讲 [英] Processing / C920 logitech capture frame rate video discourse
问题描述
我正在使用Processing 2.0b进行开发,并且我刚刚购买了C920罗技Webam,以获得良好的捕获质量.
I'm developing on Processing 2.0b, and i just bought a C920 logitech webam for a good capture quality.
然后我尝试以1920 x 1080
捕获,问题是我的速度低于每秒15 fps.
当我列出所有可捕获的设备时,程序将写:
Then I try to capture at 1920 x 1080
, the problem is that I'm under 15 fps per seconds..
When I list all the devices availsable to capture, the program write:
某些大小和fps
Some size and fps
...
-[61]名称= HD Pro网络摄像头C920,尺寸= 1024x576,fps = 5"
-[61] "name=HD Pro Webcam C920,size=1024x576,fps=5"
-[62]名称= HD Pro网络摄像头C920,尺寸= 1024x576,fps = 30"
-[62] "name=HD Pro Webcam C920,size=1024x576,fps=30"
-[63]名称= HD Pro网络摄像头C920,尺寸= 1280x720,fps = 5"
-[63] "name=HD Pro Webcam C920,size=1280x720,fps=5"
-[64]名称= HD Pro网络摄像头C920,尺寸= 1280x720,fps = 30"
-[64] "name=HD Pro Webcam C920,size=1280x720,fps=30"
-[65]名称= HD Pro网络摄像头C920,尺寸= 1600x896,fps = 5"
-[65] "name=HD Pro Webcam C920,size=1600x896,fps=5"
-[66]名称= HD Pro网络摄像头C920,尺寸= 1600x896,fps = 30"
-[66] "name=HD Pro Webcam C920,size=1600x896,fps=30"
-[67]名称= HD Pro网络摄像头C920,尺寸= 1920x1080,fps = 5"
-[67] "name=HD Pro Webcam C920,size=1920x1080,fps=5"
-[68]名称= HD Pro网络摄像头C920,尺寸= 1920x1080,fps = 30"
-[68] "name=HD Pro Webcam C920,size=1920x1080,fps=30"
...
其他尺寸和fps ...
some others size and fps...
所以,据我所读..对于1920 x 1080
大小,可以使用30 fps的帧率.
So, as I can read.. for the size 1920 x 1080
the framerate of 30 fps is available..
怎么了?
即使我强制程序或以30 fps的速度运行..在cam.start();
上也会出现崩溃,告诉我该大小的帧速率不可用...
Even if I force the program or run at 30 fps.. theres a crash pointing on cam.start();
telling me that the framerate for this size isn't available...
有什么帮助...吗?
推荐答案
几个月前,我也遇到了这个问题.这是我在论坛中搜索并联系客户支持后发现的:
I ran into this problem a few months back as well. Here's what I found, searching through forums and contacting customer support:
Logitech C920仅在直接支持H.264的应用程序中以1080p提供30fps,并且可以直接从摄像机提取H.264流. C920可以进行板载H.264压缩,但是大多数应用程序不支持直接从摄像机提取压缩后的数据流.相反,他们必须解压缩然后重新压缩流,从而降低帧速率.
The Logitech C920 only provides 30fps at 1080p with applications that supports H.264 directly, and can pull in the H.264 stream directly from the camera. The C920 does on-board H.264 compression, but most applications don't support pulling the compressed stream straight from the camera; instead, they have to decompress then re-compress the stream, dropping the framerate.
Skype直接从摄像机支持H.264,因此使用Skype,您应该能够获得1920x1080 @ 30fps,但是处理时您将看不到如此高的帧率.另外,我认为您必须使用Windows才能使用Logitech驱动程序来支持此功能.
Skype supports H.264 straight from the camera, so with Skype you should be able to get 1920x1080 @ 30fps, but you won't see this high framerate with Processing. Also, I think you have to use Windows to use the Logitech drivers to support this.
如果可以找到,我会发布我做过一段时间的研究,但是不幸的是,答案是您必须降低分辨率或帧率.
I'll post the research I did a while back if I can find it, but unfortunately the answer is that you'll have to drop either your resolution or your framerate.
这篇关于处理/C920 Logitech捕获帧率视频演讲的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!