nvidia agx board
jetson version: R32 (release), REVISION: 4.3, GCID: 21589087, BOARD: t186ref, EABI: aarch64, DATE: Fri Jun 26 04:34:27 UTC 2020
dis.sh display ok
gst-launch-1.0 -ev v4l2src device=/dev/video$1 ! ‘video/x-raw, format=UYVY, framerate=30/1,width=2880,height=1860’ ! nvvidconv ! 'video/x-raw(memory:NVMM),format=I420,framerate=30/1,width=1920,height=1080 ’ ! nvoverlaysink sync=false async=false
dis1.sh display failed
gst-launch-1.0 -ev nvv4l2camerasrc device=/dev/video$1 ! ‘video/x-raw, format=UYVY, framerate=30/1,width=2880,height=1860’ ! nvvidconv ! 'video/x-raw(memory:NVMM),format=I420,framerate=30/1,width=1920,height=1080 ’ ! nvoverlaysink sync=false async=false
and run the sample of “jetson_multimedia_api\samples\12_camera_v4l2_cuda”,The screen display, like dis1.sh, is not correct; if set “[function set_defaults line 156] ctx->capture_dmabuf = false;” the demo display ok;
Save the data of NvBufferTransform before and after the same frame, uyvy and i420. Check with 7yuv tool, uyvy data is correct, i420 data is wrong