adding grabvideo
This commit is contained in:
parent
ede1c11ee8
commit
b4328822c5
1 changed files with 10 additions and 0 deletions
10
shell/grabvideo.sh
Executable file
10
shell/grabvideo.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
if [[ $# -ne 1 ]]; then
|
||||||
|
echo "Usage: $0 <name to save>"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
ffmpeg -f x11grab -s 810x666 -r 48 -i :0.0 -qscale 0 "$1.mkv"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue