mencoder tv:// -tv \ driver=v4l2:device=/dev/video0:width=320:height=240:adevice=/dev/dsp:forceaudio:alsa:adevice=hw.2,0 \ -ofps 15 -oac mp3lame -lameopts cbr:br=32 -ovc lavc -lavcopts \ vbitrate=92 -o ./out-low-quality.avi # You can change framerate up to 25, video bitrate to 800 # and sound bitrate to 128 or greater to get excellent quality.