Audio and Video Capturing

The topic provides an example for capturing audio and video contents and encoding them into a MP4 file.
ffmpeg -f alsa -acodec pcm_s32le -i hw:0,1 -f v4l2 -s 640*480 -t 20 -r 30 -i /dev/video1 -vcodec h264_omx output-h264_alsa.mp4