50a442998b
After I had 2 seconds of latency with this script on my machine, I decided to improve it using an article from the arch wiki (https://wiki.archlinux.org/index.php/Webcam_setup#mpv)
2 lines
190 B
Bash
Executable file
2 lines
190 B
Bash
Executable file
#!/bin/sh
|
|
pkill -f /dev/video || mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --geometry=-0-0 --autofit=30% --title="mpvfloat" --profile=low-latency --untimed /dev/video0
|