ffmpeg backport

ffmpeg -f alsa -ac 2 -i hw:0,2 -f x11grab -r 1 -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 -y output.mkvscreencast_out.avi

3200x900+0+0

ffmpeg -f alsa -ac 2 -i hw:0,2 -f x11grab -r 1 -s 1600x900+0+0 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 -y output.mkv

arecord -l

ffmpeg -f alsa -ac 2 -i plughw:1,0 -f x11grab -r 15 -s 1360x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 0 output.mkv

Comments: