dots-of-war/files/scripts/screenrecorder.sh

7 lines
153 B
Bash
Raw Normal View History

2020-03-20 15:40:53 +00:00
if [ -z "$1" ]; then
echo "usage: screenrecorder.sh <output-file-path>"
exit 1
fi
ffmpeg -video_size 2560x1080 -framerate 25 -f x11grab -i :0.0 $1