I'm trying to record a screencast using avconv (installed from official repo). All seems to work OK, except one thing: Always, the last 5 seconds from my mic audio are dropped from the final video.
I use this command:
avconv -f alsa -i pulse -f x11grab -r 10 -s 1366x768 -i :0.0 -c:a libmp3lame -q:a 9 -c:v libx264 "$HOME/screencast_001.mkv"
My output file is great, exactly as needed, except that ALWAYS the last 5 seconds of AUDIO is discarded. Video is OK until the end. Any hint about what can I do to fix it?
My system is Ubuntu 12.04.4 LTS 64 bits, all up to date.