Skip to content
Snippets Groups Projects
Unverified Commit fdb4ec64 authored by Volkor Barbarian Warrior's avatar Volkor Barbarian Warrior
Browse files

Double framerate to 60

parent 6fee81fe
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,8 @@
#video_format="date +%F-%T.mp4"
## ffmpeg config for screen recording (1st line is CPU Encoding, 2nd is VAAPI)
#ffmpeg_config="-preset veryfast -vcodec libx264 -tune zerolatency -b:v 3M"
#ffmpeg_config="-vaapi_device /dev/dri/renderD128 -vf "format=nv12,hwupload" -c:v h264_vaapi -b:v 3M"
#ffmpeg_config="-framerate 60 -preset veryfast -vcodec libx264 -tune zerolatency -b:v 3M"
#ffmpeg_config="-framerate 60 -vaapi_device /dev/dri/renderD128 -vf "format=nv12,hwupload" -c:v h264_vaapi -b:v 3M"
## directory to save screenshots (To disable file saving, put it in /tmp, where it will be deleted on reboot)
......
......@@ -199,7 +199,7 @@ if [ "$video" = "true" ] ; then
echo -e "${r}WARNING: PRESS ${nc}q${r} to end screen recording!${nc}"
if ! ffmpeg -f x11grab -framerate 30 $(slop -f '-video_size %wx%h -i +%x,%y') $ffmpeg_config $video_path; then
if ! ffmpeg -f x11grab $(slop -f '-video_size %wx%h -i +%x,%y') $ffmpeg_config $video_path; then
echo -e "${r}ERROR:${nc} Failed to take screenshot (ffcast crashed/user exited)"
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment