VAB-820 Linux BSP v3.2.0 Quick Start Guide
18
If you need to display the video-in source on the screen and record the feed at the same
time, use the following command:
# gst-launch-0.10 imxv4l2src input=2 num-buffers=900 queue-size=30 ! tee name=t ! queue !
imxv4l2sink t. ! queue ! vpuenc codec=6 bitrate=3000000 ! matroskamux ! filesink
location=/<path/filename.mp4>