• ExtremeDullard@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    11 months ago

    If you’re in Linux and you want the same thing right now, scrcpy already offers to expose your cellphone’s camera as a video4linux device. See here:

    https://github.com/Genymobile/scrcpy/blob/master/doc/v4l2.md

    I use it every once in a while when I do a presentation in Teams at work and I need one webcam to show my mush, and another to demonstrate whatever device I’m presenting: I use the cellphone to capture close-ups of the device and focus on features people ask me to show, scrcpy sends the camera capture to a v4l2 device, and Teams uses the v4l2 device as a regular video source.

    Super useful!

    • fatboy93@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      Not really an open-source approach, but I found that irium Webcam is generally a lot better if you’re just wanting to use your phone as one.

      For some reason scrcpy just doesn’t work well for me.