Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#Fake Webcam #Using your screen as a webcam input device #install drivers and tools sudo apt install v4l2loopback-utils #Load Module/Driver sudo modprobe v4l2loopback #capture screen and pipe it to your video device ffmpeg -f x11grab -r 15 -s 1920x1080 -i :0.0+0,0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0 #now you should be able use it with software that uses Video/Webcam input. #Note: Cheese doesn't seem to like it. guvcview mpv av://v4l2:/dev/video0 ##############Video file to Web Cam############### #note here will be no sound from the video ffmpeg -re -i input.mp4 -map 0:v -f v4l2 /dev/video0
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)