From 91d3f735dbd6de62999a490a6ecd6de6f4165915 Mon Sep 17 00:00:00 2001 From: gutmet Date: Mon, 14 Jun 2021 16:26:04 +0200 Subject: [PATCH] update screencast script --- screencast | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/screencast b/screencast index 9d6ccfc..463bd21 100755 --- a/screencast +++ b/screencast @@ -3,10 +3,17 @@ timestamp=`date "+%Y%m%d-%H%M%S"` filename="screencast-$timestamp.mp4" -pavucontrol & +killall -q redshift-gtk + +#pavucontrol & ffmpeg -f x11grab \ + -framerate 60 \ -s $(xdpyinfo | grep dimensions | awk '{print $2}') \ -i :0.0 \ -f pulse -i default \ + -r 30 \ + -c:v h264 -crf 17 -preset ultrafast -c:a aac \ $filename + +redshift-gtk &