I use a 5M camera and try to bring up with FULL resolution(2592x1944) by Gstreamer.
This is my pipeline with nvv4l2camerasrc:
gst-launch-1.0 nvv4l2camerasrc bufapi-version=TRUE device=/dev/video0 ! \
'video/x-raw(memory:NVMM),format=UYVY,width=2592,height=1944' ! nvvideoconvert ! 'video/x-raw(memory:NVMM)' ! nv3dsink sync=false
However, I got the wrong image:
Then I modified the pipeline with v4l2src:
gst-launch-1.0 v4l2src device=/dev/video0 ! \
'video/x-raw,format=UYVY,width=2592,height=1944' ! nvvideoconvert ! 'video/x-raw(memory:NVMM)' ! nv3dsink sync=false
I can capture the correct image with the pipeline.
I think there is a potential problem in nvv4l2camerasrc when I use specific resolutions.
I also tried 2560x1440, 1920x1080, and 1280x720. They can work with nvv4l2camerasrc.
How could I fix the problem if I still want to use nvv4l2camerasrc to bring up the full resolution in my pipeline?