3.1.3
Camera Test
MIPI Camera ov5640 connected to MIPI1
# lsmod | grep "capture\|ov5640"
Preview
# gst‐launch‐1.0 imxv4l2src device=/dev/video0 ! 'video/x‐raw,for‐
mat=NV12,width=1920,height=1080,framerate=30/1' ! imxv4l2sink
Capture
# gst‐launch‐1.0 imxv4l2src num‐buffers=1 ! jpegenc ! filesink
location=test.jpeg
Display
# VSALPHA=1 gst‐launch‐1.0 filesrc location=test.jpeg ! jpegdec !
imagefreeze ! imxv4l2sink
Record
# gst‐launch‐1.0 imxv4l2src device=/dev/video0 num‐buffers=300 !
'video/x‐raw,format=NV12,width=1920,height=1080,framerate=30/1'
queue ! vpuenc_h264 ! matroskamux ! filesink location=output.avi
Play Video
# gst‐launch‐1.0 playbin uri=file:////home/root/output.avi
3.1.4
PCI-e Test
Test it by a WiFi - PCI-e board (Advantech EWM-142)
31
RSB-4411 User Manual
!