summaryrefslogtreecommitdiff
path: root/scripts/ffmpeg-screenrecord
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/ffmpeg-screenrecord8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/ffmpeg-screenrecord b/scripts/ffmpeg-screenrecord
new file mode 100755
index 0000000..bef2167
--- /dev/null
+++ b/scripts/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