如何列出相机可用的视频分辨率
如果我的电脑上连接了多个摄像头...我想知道特定摄像头的最佳可用分辨率...
例如某些摄像头是高清或全高清(1,280×720 像素 (720p) 或 1,920×1,080 像素) (1080i/1080p))或最常见的是网络摄像头......
我想至少知道摄像头正常工作的最佳视频模式......(摄像头工作的模式)
我的工作是使用 C# 进行 WPF(我正在使用 Directshow),
提前致谢
if I have more than one camera attached to my PC ... I want to know the best available resolutions for a specific camera ...
for example some cameras are HD or FullHD (1,280×720 pixels (720p) or 1,920×1,080 pixels (1080i/1080p)) or the most common are web cameras....
I want to know at least the best video mode that the camera work properly...(the mode that the camera made to work with)
my work is on WPF using C# (I am using Directshow)
thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是我编写的代码,它非常适合我
(例如,可以将其添加到 WPF-MediaKit 中的 VideoCaptureElement 中)
This is a code that I wrote, its working perfectly for me
(E.g. this can be added to VideoCaptureElement in WPF-MediaKit)
我用它来获得最大框架尺寸,只需更改以满足您的需求;)
i use this to get max frame size, just change to suit your needs ;)
根据这个网页:
http://www.e-consystems.com/blog/camera/?p =651,您应该使用此调用来获取此设备的功能:
但是,它们是 C++。
According to this webpage:
http://www.e-consystems.com/blog/camera/?p=651, you should use this call for getting the capabilities of this device:
They are C++, however.