Hi Enrique,
There is no nvoverlaysink plugin on Orin Nano running JP 6.1. I tried removing the src caps from nvvidconv and still seeing the same incorrect image as output. I found something useful here, v4l2src is preceiving the video as YUY2, pixel format whereas nvv4l2camerasrc as UYVY pixel format both are YUYV 422 formats.
When tried to set the pixel format as YUY2 for nvv4l32camerasrc then getting below warning which means that it can not handle that frame format.
WARNING: erroneous pipeline: could not link nvv4l2camerasrc0 to nvvconv0, nvv4l2camerasrc0 can’t handle caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)YUY2
I suspect that the source plugin acquiring data in the form of UYVY instead of YUYV is causing color swap in the output image.
Incorrect image pipeline:
src plugin:
caps = video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)UYVY, interlace-mode=(string)progressive, framerate=(fraction)30/1
videoconvert:
caps = video/x-raw, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)RGBA
fpsdisplaysink:
caps = video/x-raw(memory:SystemMemory, meta:GstVideoOverlayComposition), width=(int)1280, height=(int)720, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)RGBA
Correct image pipline:
src plugin:
caps = video/x-raw, width=(int)1280, height=(int)720, format=(string)YUY2, framerate=(fraction)10/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:5:1
videoconvert:
caps = video/x-raw, width=(int)1280, height=(int)720, format=(string)YUY2, framerate=(fraction)10/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:5:1
fpsdisplaysink:
caps = video/x-raw, width=(int)1280, height=(int)720, format=(string)YUY2, framerate=(fraction)10/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:5:1
Hardware information:
NVIDIA NVIDIA Jetson Orin Nano Developer Kit
L4T 36.3.0 [ JetPack 6.0]
Ubuntu 22.04.4 LTS
Kernel Version: 5.15.136-tegra
CUDA 12.2.140
CUDA Architecture: 8.7
OpenCV version: 4.8.0
OpenCV Cuda: NO
CUDNN: 8.9.4.25
TensorRT: 8.6.2.3
Vision Works: NOT_INSTALLED
VPI: 3.1.5
Vulcan: