diff options
Diffstat (limited to 'scripts/ffmpeg-screenrecord')
| -rwxr-xr-x | scripts/ffmpeg-screenrecord | 8 |
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 | |||
| 6 | outfile=${1:-output.mkv} | ||
| 7 | |||
| 8 | ffmpeg -f x11grab -i :0 -f pulse -i default "$outfile" | ||
