adding grabvideo

This commit is contained in:
tengel 2024-03-20 11:28:46 -05:00
parent ede1c11ee8
commit b4328822c5

10
shell/grabvideo.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
#
# SPDX-License-Identifier: MIT
if [[ $# -ne 1 ]]; then
echo "Usage: $0 <name to save>"
exit
fi
ffmpeg -f x11grab -s 810x666 -r 48 -i :0.0 -qscale 0 "$1.mkv"