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
Hello JerryChang.
The camera still doesn’t work
The kernel logs is below.
[520684.000869] misc tegra_camera_ctrl: tegra_camera_update_isobw: Warning, Requested ISO BW 1640625 has been capped to VI’s max BW 1500000
[520684.290629] video4linux video0: frame start syncpt timeout!0
[520684.498614] video4linux video0: frame start syncpt timeout!0
[520684.706724] video4linux video0: frame start syncpt timeout!0
[520684.915240] video4linux video0: frame start syncpt timeout!0
I found some way to solve this issue, but I don’t know how to patch. There is no imx477_mode_tbls.h file in my jetson (my jetpack version is 4.4). Could you give me some advice?