xavier csi-2 capture err

Hi,
ShaneCCC,now we can captuer some pictures,but when I opened it with YUV formate,it shows nothing.I guess the reason is something about “v4l2-ctl -d /dev/video0 --list-formats-ext” output,We want to let the cmd out YUV support,how to do it?

You can remove all of the bayer format only leave YUV support to narrow down it.

Thanks ShaneCCC we will try.

Hi,
ShaneCCC,now the cmd v4l2-ctl -d /dev/video0 --list-formats-ext output like this:
[b] ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

    [0]: 'YUYV' (YUYV 4:2:2)
            Size: Discrete 1920x1080
                    Interval: Discrete 0.033s (30.000 fps)[/b]

But neither of the bellow cmd runs well:
gst-launch-1.0 v4l2src ! ‘video/x-raw, width=1920, height=1080, framerate=30/1, format=YUYV’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=I420’ ! nvoverlaysink sync=false
gst-launch-1.0 -v v4l2src device=“/dev/video0” ! “video/x-raw,width=1920,height=1080, format=(string)I420” ! nvvidconv ! “video/x-raw(memory:NVMM)” ! nvoverlaysink
gst-launch-1.0 v4l2src device=/dev/video0 ! “video/x-raw, format=(string)YUYV, width=(int)1920, height=(int)1080”! fpsdisplaysink
any suggestions?
errlog.txt (2.28 KB)

Does the fakesink work?

gst-launch-1.0 v4l2src device=/dev/video0 ! “video/x-raw, format=(string)YUYV, width=(int)1920, height=(int)1080”! fakesink

The cmd shows:
WARNING: erroneous pipeline: could not link v4l2src0 to fakesink0, v4l2src0 can’t handle caps video/x-raw, format=(string)YUYV, width=(int)1920, height=(int)1080

Hi,
ShaneCCC,now the camera works now,but we need a mirror image,is there any way(not by software)?

Sensor output should be able configure as mirror mode. Please check the sensor spec or consult with sensor vendor to get the configure.