aboutsummaryrefslogtreecommitdiff
path: root/ffmpeg-screenrecord
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xffmpeg-screenrecord8
1 files changed, 8 insertions, 0 deletions
diff --git a/ffmpeg-screenrecord b/ffmpeg-screenrecord
new file mode 100755
index 0000000..cdca2dc
--- /dev/null
+++ b/ffmpeg-screenrecord
@@ -0,0 +1,8 @@
1#!/bin/sh
2
3# One-line screen record with ffmpeg (I always forget the command)
4# Requires: ffmpeg
5
6outfile=${1:-output.mkv}
7
8ffmpeg -f x11grab -i :0 -f pulse -i default $outfile

Generated with cgit - Back to sebastiano.tronto.net