I'm sure this evolves over time, but for today, the best command-line incantation I found for recording screencasts is:
$ avconv -strict experimental \
-f x11grab -r 25 -s 1024x768 -i :0.0 \
-pre medium -f alsa -ac 2 -ar 22050 \
-i pulse cast.webm