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

8 lines
167 B
Bash
Raw Normal View History

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