scripts/rec: hide output
This commit is contained in:
parent
2375f24870
commit
d54550cbbc
@ -5,7 +5,7 @@ record() {
|
|||||||
ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 -f alsa -i recorder \
|
ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 -f alsa -i recorder \
|
||||||
-c:v libx264 -preset ultrafast \
|
-c:v libx264 -preset ultrafast \
|
||||||
-c:a libopus -b:a 96k -ac 2 -ar 48000 \
|
-c:a libopus -b:a 96k -ac 2 -ar 48000 \
|
||||||
-y recording.mkv &
|
-y recording.mkv >/dev/null 2>&1 &
|
||||||
}
|
}
|
||||||
|
|
||||||
if test "$1" = start; then
|
if test "$1" = start; then
|
||||||
|
Loading…
Reference in New Issue
Block a user