I am trying to save raw images or videos with a 10 or 12 bit depth using the IMX477 image sensor (The sensor supports 10 or 12 bit depth). However, I have encountered some errors with the pipeline I am using. It seems that the sensor does not support the format r210 and I have also tried other 10 bit depth formats listed here with no success.
Does the nvarguscamerasrc support saving raw images of the IMX477 sensor?
If so, can anyone suggest a way to save raw images or videos with a 10 or 12 bit depth?
Any help would be greatly appreciated.
Error opening bin: could not link nvarguscamerasrc0 to t, nvarguscamerasrc0 can’t handle caps video/x-raw(memory:NVMM), width=(int)4032, height=(int)3040, format=(string)r210, framerate=(fraction)30/1, exposurecompensation=(int)0
no, it’s not supported.
please use v4l commands for saving Raw files.
for example, $ v4l2-ctl -d /dev/video0 --set-fmt-video=width=4032,height=3040,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw
can you access to the camera stream correctly?
can this v4l pipeline executed to test the camera stream. $ v4l2-ctl -d /dev/video0 --set-fmt-video=width=4032,height=3040,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100
please also share kernel logs for reference if you’re seeing failures. i.e. $ dmesg > logs.txt