scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

scrcpy client as virtual webcam driver

Open dfdiaza opened this issue 5 years ago • 8 comments

First of all... I would like to say thanks to scrcpy creators. I am in love with scrcpy, my life's history can be resumed as: before scrcpy and after scrcpy. Thanks so much!

However, I think it would be a nice feature to scrcpy client act as a Windows "Virtual Webcam". I am not talking about displaying the Phone Cameras, but the frames displayed into the client's window. It would be something similar what DroidCam, vCam (e2esoft) and OBS-VirtualCam do, all of them create a "Virtual Webcam Driver" which we can use as any other regular webcam.

Would it be possible?

dfdiaza avatar Sep 02 '19 12:09 dfdiaza

ref #662

https://github.com/CatxFish/obs-virtual-cam

rom1v avatar Sep 02 '19 12:09 rom1v

First of all... I would like to say thanks to scrcpy creators. I am in love with scrcpy, my life's history can be resumed as: before scrcpy and after scrcpy. Thanks so much!

Thank you :blush: Glad you like it :wink:

rom1v avatar Sep 02 '19 12:09 rom1v

This can also work as an intermediary solution to my ffmpeg question (easier to pipe in a virtual camera into ffmpeg I believe)

AlaShiban avatar Sep 23 '19 15:09 AlaShiban

For Linux, here is a PR implementing v4l2loopback: #2268

rom1v avatar Apr 19 '21 20:04 rom1v

I found virtual webcam driver (DirectShow filter) for Windows. https://github.com/webcamoid/akvirtualcamera

Can you use this?

kurumigi avatar Mar 13 '23 15:03 kurumigi

Has anyone figured out a way to do this? scrcpy is almost perfect for what I need it for, I just need Windows to recognize it as a webcam.

zackadiax24 avatar Jan 22 '24 05:01 zackadiax24