You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
260 B

#!/usr/bin/env sh
err() {
printf %b "$1" | dmenu -fn Terminus-20 -c -l 10
exit 1
}
media-ctl -d /dev/media1 --set-v4l2 '"ov5640 3-004c":0[fmt:UYVY8_2X8/1280x720]' || err "Couldn't open camera, is camera enabled?"
mpv --video-rotate=90 av://v4l2:/dev/video1