You are not logged in.
Pages: 1
Here's my screen recorder alias for my system on arch.
Looking for suggestions and criticism
#!/bin/bash
alias screenrec="ffmpeg -f pulse -ac 2 -i $(pactl list short sources | grep output | awk '{print $1}') -video_size 1920x1080 -framerate 30 -thread_queue_size 199 -hwaccel cuda -f x11grab -i :0.0 -c:v libx264 -crf 24 -preset ultrafast ~/$(date | tr ' ' '-').mp4"
#1080p30fps
#alsa output grab
#x11 grab
#cuda decode acceleration
It takes about 450mb ram and 90% CPU
Last edited by sfmth (2021-05-10 06:01:58)
Offline
Pages: 1