[英]Is there an equivalent to /dev/null that will work on both Windows and Unix?
[英]What is windows equivalent to linux's /dev/video0?
我想知道是否有人知道如何像在 linux - /dev/video0 中那样在 windows 中找到网络摄像头。 我需要这个用于java,所以这可以启动网络摄像头frameGrabber = new FFmpegFrameGrabber("path_to_webcam");
只是想知道你是否修复了它我发现在 Windows 中使用 ffmpeg 类似,因为在 linux 中我们只使用“/dev/video0”,但在 Windows 中我们必须指定视频接口的名称
并且如果你想拥有你的设备名称,你就是这样
ffmpeg -list_devices true -f dshow -i dummy
对于我的例子,我得到了一个很长的答案,因为这就像倾倒所有设备以获得正确的设备,
...
[dshow @ 03e746c0] DirectShow video devices (some may be both video and audio devices)
[dshow @ 03e746c0] "Integrated Camera"
...
在文档中,他们提到了一种叫做 DirectShow 的东西
如果您想对此进行记录,请点击此处的链接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.