博客
关于我
ubuntu使用droidcam连接手机摄像头
阅读量:657 次
发布时间:2019-03-15

本文共 710 字,大约阅读时间需要 2 分钟。

如何在Ubuntu上安装并使用DroidCam

安装DroidCam前,请确保已安装以下软件包:gcc和make。如果未安装,可以通过以下命令进行安装:

sudo apt-get install gcc make

接下来,请按照以下步骤依次操作:

  • 将文件保存至临时目录并解压:
  • cd /tmpwget https://files.dev47apps.net/linux/droidcam_latest.zipunzip droidcam_latest.zip -d droidcam

    1. 安装DroidCam客户端:
    2. sudo ./install-clientsudo apt install linux-headers-uname -r gcc makesudo ./install-videosudo ./install-sound

      1. 查看安装是否成功,请运行以下命令查看是否有v4l2loopback_dc项:
      2. lsmod | grep v4l2loopback_dc

        如果有输出,说明安装成功。

        1. 安装ADB:
        2. sudo apt-get install adb

          1. 在手机端(需要翻墙并安装Google客户端,或扫描以下二维码):
          2. 请通过以下二维码进行设备连接(腾讯微云):[扫码链接] 或者通过Google客户端打开DroidCam。

            1. 完成所有安装后,在Ubuntu终端中运行以下命令启动DroidCam:
            2. droidcam

              打开手机上的DroidCam应用程序。

              1. Ubuntu自带的Znake软件中即可查看DroidCam功能。
              2. 通过以上步骤,您可以轻松在Ubuntu上配置并使用DroidCam进行手机镜像和视频传输。

    转载地址:http://ovzmz.baihongyu.com/

    你可能感兴趣的文章
    nnU-Net 终极指南
    查看>>
    No 'Access-Control-Allow-Origin' header is present on the requested resource.
    查看>>
    NO 157 去掉禅道访问地址中的zentao
    查看>>
    no available service ‘default‘ found, please make sure registry config corre seata
    查看>>
    no connection could be made because the target machine actively refused it.问题解决
    查看>>
    No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
    查看>>
    No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
    查看>>
    No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
    查看>>
    No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
    查看>>
    No mapping found for HTTP request with URI [/logout.do] in DispatcherServlet with name 'springmvc'
    查看>>
    No module named 'crispy_forms'等使用pycharm开发
    查看>>
    No module named cv2
    查看>>
    No module named tensorboard.main在安装tensorboardX的时候遇到的问题
    查看>>
    No module named ‘MySQLdb‘错误解决No module named ‘MySQLdb‘错误解决
    查看>>
    No new migrations found. Your system is up-to-date.
    查看>>
    No qualifying bean of type XXX found for dependency XXX.
    查看>>
    No resource identifier found for attribute 'srcCompat' in package的解决办法
    查看>>
    no session found for current thread
    查看>>
    No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
    查看>>
    NO.23 ZenTaoPHP目录结构
    查看>>