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 &