scripts/shell/grabvideo.sh
2024-03-20 11:28:46 -05:00

10 lines
185 B
Bash
Executable file

#!/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"