I am a little jealous as you have succeeded where I have failed . When you use x11grab the default input streams will be:
Originally Posted by bgiannes
but the trick is to manipulate the output. When you simply specify .avi you will be given the FFmpeg defaults of low quality mpeg4 video and low quality mp2 sound, and the results are a little disappointing as you have seen. So the question has always been what are the best settings for the output sound and video. Video has been discussed in great depth in Nixie's thread for sound I guess you could try a reasonable mp3 sound to start with:
Stream #0.0: Video: rawvideo, bgra, 800x600, 384000 kb/s, 25 tbr, 1000k tbn, 25 tbc
Stream #1.0: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/s
and that would at least provide a start although you limit yourself a little with the avi container, possibilities are greater with .mp4 or .mkv.
-acodec libmp3lame -ab 128k
All the best,