Genymotion 和 v4l2loopback

标签 genymotion emulation v4l2loopback

我想在 Genymotion 上使用模拟网络摄像头。我在我的 Ubuntu 桌面上安装了 v4l2loopback,它工作正常(在网页或 Cheese 上),但相机在 Genymotion 上不可用。

也许是因为相机使用的是 v4l2 驱动程序?或者是否有一些精确的规范(像素格式、颜色...)可以调整?

谢谢:)

最佳答案

我只是尝试将 DroidCam 用作相机,但它对我不起作用,但根据 this issue在 v4l2loopback 的存储库中,Genymotion 支持 v4l2 相机:

Under Windows the driver can only be openCV, and it's slow. However under Linux you should be able to use v4l2loopback because we use API v4l2 to read the camera video stream.

So to have a good performance we recommend using Linux with v4l2loopback instead of Windows with openCV, but we cannot guaranty that because have have never conducted any tests on that kind of user case.

关于Genymotion 和 v4l2loopback,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45346435/

相关文章:

google-chrome - 将 X-Window 的内容馈送到虚拟相机

android - 如何向我的 Genymotion 虚拟设备发送短信?

java - Android开发的最低硬件要求?

ffmpeg - Chrome 检测到 v4l2loopback 设备,Zoom 或 Firefox 看不到

android - 无法从 Mac OS X 中的命令行启动 Android 模拟器

带有 HAX : How to access recent Apps list with Android 5? 的安卓模拟器

genymotion - 无法连接到 VM (TcpStream) 以进行主主机连接

android - 让两个 genymotion Android 模拟器在一个 SAME WiFi 中工作

android - 在 Ionic 框架中使用 Genymotion 模拟器