update screencast script
This commit is contained in:
parent
fe419c5172
commit
91d3f735db
|
@ -3,10 +3,17 @@
|
||||||
timestamp=`date "+%Y%m%d-%H%M%S"`
|
timestamp=`date "+%Y%m%d-%H%M%S"`
|
||||||
filename="screencast-$timestamp.mp4"
|
filename="screencast-$timestamp.mp4"
|
||||||
|
|
||||||
pavucontrol &
|
killall -q redshift-gtk
|
||||||
|
|
||||||
|
#pavucontrol &
|
||||||
|
|
||||||
ffmpeg -f x11grab \
|
ffmpeg -f x11grab \
|
||||||
|
-framerate 60 \
|
||||||
-s $(xdpyinfo | grep dimensions | awk '{print $2}') \
|
-s $(xdpyinfo | grep dimensions | awk '{print $2}') \
|
||||||
-i :0.0 \
|
-i :0.0 \
|
||||||
-f pulse -i default \
|
-f pulse -i default \
|
||||||
|
-r 30 \
|
||||||
|
-c:v h264 -crf 17 -preset ultrafast -c:a aac \
|
||||||
$filename
|
$filename
|
||||||
|
|
||||||
|
redshift-gtk &
|
||||||
|
|
Loading…
Reference in New Issue
Block a user