Help with Avconv

Hi All,

I am trying to set up a linux gaming informational series on youtube. I do not want to use Fraps via Wine so I have opted for avconv, which is command line based (as are all the best things).

Currently I have the optimum settings to record my desktop, but I would really like to record audio at the same time without using a separate application and having to edit the video and audio separately

Currently I use this: avconv -f x11grab -show_region 1 -s 1680x1050 -framerate 24 -i :0.0 -threads 2 -q 1 -bt 8000000 -b 8500000 ./test.mkv

Can anyone think of a way I can do this with with Avconv? I have tried a couple of things but they effect the video quality.



How about something like:

avconv -f alsa -i pulse -acodec pcm_s16le -f x11grab -show_region 1 -s 1680x1050 -framerate 24 -i :0.0 -threads 2 -q 1 -bt 8000000 -b 8500000 ./test.mkv 

Which hopefully will record pulseaudio at the same time