cam (188B)
1 #!/bin/sh 2 3 c_os="$(uname -s)" 4 5 if [ "$c_os" == "Windows_NT" ]; then 6 ffplay -f dshow -i video="Integrated Webcam" 7 else 8 ffplay -f avfoundation -i 0:0 -video_size 1280x720 -framerate 30 9 fi
dotfilesCross platform dotfiles for linux, mac and windows | |
git clone git@getsh.org:dotfiles.git | |
Log | Files | Refs |