Please run
sudo aptitude install libasound2-dev and then recompile your ffmpeg to enable ALSA support.