The images were merely taken to show the quality of the videos(I try to screencast the terminal), not to look at the content.
Originally Posted by FakeOutdoorsman
I managed to get around by using a lossless codec instead of x264. I use:
However this is a workaround as the file size becomes huge.
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 15 -s 1024x720 -i :0.0+0,25 -acodec flac -vcodec huffyuv -preset slow -qp 0 -threads 4 output.mkv
Direct audio output to PCM format is not possible as you get an error when you use it with HUFYUV+MATROTSKA. That's why I use FLAC for audio on this command.