-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathwebcam.sh
More file actions
executable file
·17 lines (12 loc) · 680 Bytes
/
webcam.sh
File metadata and controls
executable file
·17 lines (12 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env sh
######################################################################
# @author : Gavin Jaeger-Freeborn (gavinfreeborn@gmail.com)
# @file : webcam.sh
# @created : Wed 22 Jul 2020 10:47:50 PM
#
# @description : simple webcam display
######################################################################
# droidcam-cli adb 4747 &
# mpv av://v4l2:/dev/video0 --no-osc --profile=low-latency --untimed --geometry=-1920-1080 --autofit=30% --no-resume-playback
# pkill -f /dev/video || mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --geometry=-0-0 --autofit=30% --title="mpvfloat" /dev/video0
# vim: set tw=78 ts=2 et sw=2 sr: