Package: libav-tools Version: 6:11.4-1~deb8u1 avconv -f video4linux2 -framerate 30 -video_size 640x480 -input_format mjpeg -i /dev/video0 -f alsa -ac 1 -i hw:1 -c:v copy -c:a copy -y /tmp/video.mkv A localy compiled ffmpeg 2.8.1 does this properly.