Fake webcam or virtual webcam on Linux

preview_player
Показать описание
In this video, we will see how to add a virtual camera to our webcam driver.

Altered commands:
pip install python-ffmpeg-video-streaming

make && sudo make install

sudo depmod -a

ffmpeg -f x11grab -r 15 -s 720x480 -i :1.0+1199,599 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video2
*****************************************
For desktop screen capture:
ffmpeg -f x11grab -framerate 15 -video_size 1280x720 -i :0.0 -f v4l2 /dev/video2

video input:

You can view it with ffplay:
ffplay /dev/video2

#fake webcam
#virtual webcam
#webcam swap
Рекомендации по теме
Комментарии
Автор

Cannot open display :1.0+1199, 599, error 1.
:1.0+1199, 599: Input/output error

rupees
Автор

at start it says
Command 'make' not found, but can be installed with:

sudo apt install make # version 4.2.1-1.2, or
sudo apt install make-guile # version 4.2.1-1.2
how to get rid of this. please help

mitusharma
Автор

Hi I have a question can I get your insta

YashmeetJhawar