summaryrefslogtreecommitdiff
path: root/video/screenrec
diff options
context:
space:
mode:
Diffstat (limited to 'video/screenrec')
-rwxr-xr-xvideo/screenrec4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/screenrec b/video/screenrec
index fa6b628..8f65514 100755
--- a/video/screenrec
+++ b/video/screenrec
@@ -13,7 +13,11 @@ ffmpeg -hide_banner \
-framerate $fr \
-f x11grab \
-i :0.0+0,0 \
+ -f alsa -channels 1 -sample_rate 48000 \
+ -i hw:3 \
-c:v libx264 \
+ -c:a libopus \
+ -b:a 128k \
-preset ultrafast \
-qp 1 \
-pix_fmt yuv444p \