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