update screencast script

This commit is contained in:
gutmet 2021-06-14 16:26:04 +02:00
parent fe419c5172
commit 91d3f735db

View File

@ -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 &