Video Capturing
The following code block provides an example of capturing a 1080p video from an USB
camera or sensor camera.
ffmpeg -f v4l2 -t 10 -r 30 -s 1920*1080 -i /dev/video1 test_v4l2.yuv
The following code block provides an example of capturing a 640 × 480 video from an USB
camera or sensor camera.
ffmpeg -f v4l2 -t 10 -r 30 -s 640*480 -i /dev/video1 test_v4l2.yuv