MX95 CSI
This page is using the default release mx95-yocto-scarthgap-6.6.23_2.0.0-v1.0.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit variwiki.com
- Select your SoM
- Select the software release
Testing MIPI-CSI2 cameras
Before running any of the pipelines below make sure you have camera(s) connected. i.MX95 family of processors uses gstreamer as multimedia framework. Please refer to https://gstreamer.freedesktop.org/
Camera Probe
Run the following command to see if you have the camera(s) detected
# v4l2-ctl --list-devices
This should produce the following output
mxc-isi-cap (platform:4ad50000.isi): /dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/video4 /dev/video5 /dev/video6 /dev/video7 /dev/media0 mxc-jpeg codec (platform:4c500000.jpegdec): /dev/video10 mxc-jpeg codec (platform:4c550000.jpegenc): /dev/video11 wave6-dec (platform:wave6-dec): /dev/video8 wave6-enc (platform:wave6-enc): /dev/video9
The camera interface is /dev/video0
Testing Camera Preview on Display
The driver is implemented using V4L2’s Media Controller (MC) API. In the MC API, each element in the media pipeline is configured individually by the user-space application.
Setup links:
# media-ctl -l "'ov5640_mainline 2-003c':0->'csidev-4ad30000.csi':0 [1]" # media-ctl -l "'csidev-4ad30000.csi':1 -> '4ac10000.syscon:formatter@20':0 [1]"
Setup the media pipeline:
# media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'crossbar':2 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: <format>/<resolution> field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: <format>/<resolution> field:none]"
After configuring the pipeline, it can be confirmed by reading it back, for example:
# media-ctl --get-v4l2 "'ov5640_mainline 2-003c':0
The following examples show how to preview the camera on the display for different resolutions:
- /dev/video0 QCIFx176 30fps:
mipi_csi0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=QCIF,height=176 ! autovideosink sync=false
- /dev/video0 CGAx320 30fps:
mipi_csi0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=CGA,height=320 ! autovideosink sync=false
- /dev/video0 VGAx640 30fps:
mipi_csi0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=VGA,height=640 ! autovideosink sync=false
- /dev/video0 NTSCx720 30fps:
mipi_csi0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=NTSC,height=720 ! autovideosink sync=false
- /dev/video0 NTSCx720 30fps:
mipi_csi0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=NTSC,height=720 ! autovideosink sync=false
- /dev/video0 XGAx1024 30fps:
mipi_csi0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=XGA,height=1024 ! autovideosink sync=false
- /dev/video0 HDx1280 30fps:
mipi_csi0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=HD,height=1280 ! autovideosink sync=false
- /dev/video0 Full HDx1920 30fps:
mipi_csi0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=Full HD,height=1920 ! autovideosink sync=false
Testing Camera JPEG Snapshot
To capture JPEG snapshot run one of the pipelines below depending upon the required picture resolution.
- /dev/video0 QCIFx176:
mipi_cs0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/QCIFx176 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width=QCIF,height=176 ! jpegenc ! filesink location=/tmp/test_QCIFx176.jpg
- /dev/video0 CGAx320:
mipi_cs0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/CGAx320 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width=CGA,height=320 ! jpegenc ! filesink location=/tmp/test_CGAx320.jpg
- /dev/video0 VGAx640:
mipi_cs0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/VGAx640 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width=VGA,height=640 ! jpegenc ! filesink location=/tmp/test_VGAx640.jpg
- /dev/video0 NTSCx720:
mipi_cs0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width=NTSC,height=720 ! jpegenc ! filesink location=/tmp/test_NTSCx720.jpg
- /dev/video0 NTSCx720:
mipi_cs0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/NTSCx720 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width=NTSC,height=720 ! jpegenc ! filesink location=/tmp/test_NTSCx720.jpg
- /dev/video0 XGAx1024:
mipi_cs0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/XGAx1024 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width=XGA,height=1024 ! jpegenc ! filesink location=/tmp/test_XGAx1024.jpg
- /dev/video0 HDx1280:
mipi_cs0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/HDx1280 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width=HD,height=1280 ! jpegenc ! filesink location=/tmp/test_HDx1280.jpg
- /dev/video0 Full HDx1920:
mipi_cs0: # media-ctl -V "'ov5640_mainline 2-003c':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.1':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.2':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.3':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.4':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.5':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.6':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/Full HDx1920 field:none]" # gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width=Full HD,height=1920 ! jpegenc ! filesink location=/tmp/test_Full HDx1920.jpg