scripts/rec: hide output

This commit is contained in:
Michele Guerini Rocco 2021-01-04 12:45:36 +01:00
parent 2375f24870
commit d54550cbbc
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -5,7 +5,7 @@ record() {
ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 -f alsa -i recorder \
-c:v libx264 -preset ultrafast \
-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