Hacker News new | past | comments | ask | show | jobs | submit login

On Linux ffmpeg can output to a /dev/videoX device using v4l2loopback in order to spoof a webcam, I was able to play a looped video as a webcam and connect to websites that require a webcam.

On kubuntu I had to mknod (I think) the video device, then apt install v4l2loopback, then modprobe videodev and the v4l2loopback module, then use ffmpeg.

ffmpeg can capture from any video source including your running Xsession (eg a desktop area). So in theory you could output a pythonCV window or something this way.

OBS can probably do that better.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: