a script to use ffmpeg to record a screencast that uses dmenu to choose audio inputs
ffmpeg -f x11grab -r 24 -s $(xdpyinfo | grep 'dimensions:' | awk '{print $2}') -i :0.0 -f pulse -i $(pactl list short sources | awk '{print $2}' | dmenu -i -p "Select audio input:") -probesize 10M -analyzeduration 10M -acodec pcm_s16le -vcodec libx264 -preset fast -crf 25 -threads 4 output.mkv
No comments:
Post a Comment