Gst-launch-1.0 nvarguscamerasrc can works but not with v4l2src plugin

Hi
My platform infomation:
Sensor:LI IMX390_GMSL2 [IMX390 + MAX9295A, without ISP] — MAX9296A — AGX Xavier
BSP L4T 32.5.0, with my own driver

The gst-launch-1.0 command with nvarguscamerasrc plugin can works, also can get camera preview, the command is as below:

gst-launch-1.0 \
    nvarguscamerasrc sensor-id=0 \
    ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, framerate=(fraction)30/1' \
    ! nvoverlaysink

but it not works with v4l2src plugin ,the command is as blow:

gst-launch-1.0 \
    v4l2src device="/dev/video0" \
    ! video/x-raw, width=1920, height=1080, format=YUY2, framerate=30/1 \
    ! xvimagesink

And the error message is :

Hi,
The source looks to be a Bayer sensor. Please run

$ v4l2-ctl --list-formats-ext

to get more information. If it does not support YUYV, you are not able to launch it through v4l2src.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.