when I use cmd
gst-launch-1.0 nvcamerasrc ! ‘video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080,format=(string)I420, framerate=(fraction)30/1’ ! nvtee ! nvoverlaysink -e
to test my camera on board, it only shows a green view.
The devkit camera module ships with a removable bluish-green sticky film protecting the camera lens. Did you remove it?
If you mean there’s just a green screen, just solid green, that means no data is going through the port. I had an issue like that when using an fpga to test different CSI2 widths
Try changing the resolution to 720p.
I have no issue to use the following pipeline to get the on-board camera working.
gst-launch-1.0 nvcamerasrc fpsRange=“30.0 30.0” ! ‘video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1’ ! nvtee ! nvvidconv flip-method=2 ! ‘video/x-raw(memory:NVMM), format=(string)I420, width=(int)3840, height=(int)2160’ ! omxh265enc iframeinterval=24 bitrate=10000000 ! h265parse ! queue name=queenc ! matroskamux name=mux ! filesink location=/home/ubuntu/cameracapture2.mkv -e
I am using R23.2 and recompiled the kernel following the instructions from the release package plus some patches from this forum. I suspect the original R23.2 should also work.
I met the same question(all green color), how did you solve it?
Do you use default reference camera and get green screen? Please give much detail information here.