parent
6162fa846f
commit
ce5c529738
1 changed files with 3 additions and 2 deletions
@ -1,7 +1,8 @@ |
||||
#!/usr/bin/env sh |
||||
err() { |
||||
echo -e "$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]' |
||||
mpv --video-rotate=90 av://v4l2:/dev/video1 || err "Couldn't open camera, is camera enabled?" |
||||
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 |
||||
|
Loading…
Reference in new issue