diff options
Diffstat (limited to '')
| -rwxr-xr-x | scripts/recording/screenrecord.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/recording/screenrecord.sh b/scripts/recording/screenrecord.sh new file mode 100755 index 0000000..bc5d6a3 --- /dev/null +++ b/scripts/recording/screenrecord.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +prefix=${2:-"video"}; + +outfile=${1:-"$HOME/Pictures/recordings/$prefix-screen-$(date -Iminutes).mp4"}; + +ffmpeg -f x11grab -s 1920x1080 -i :0.0 -f alsa -i hw:0,0 $outfile; |
