I am going to bring up AR0145 on jetson Nano which is MONO Y10 format sensor. I have added Y10 formats in driver codes and with below command I can capture out Y10 frame well: v4l2-ctl --set-fmt-video=width=1280,height=800,pixelformat=Y10 --stream-mmap -d /dev/video0 --stream-poll --stream-count=1 --stream-skip=20 --stream-to=cap1.raw
Now I need to preview the frames with gst command and I tried below commands it says “execute:740 No cameras available”:
gst-launch-1.0 -v -m nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), width=1280, height=800, format=(string)NV12, framerate=(fraction)120/1’ ! nvoverlaysink -e
How could I preview well with gst-launch-1.0 command with the MONO Y10 sensor? Thanks.
may I know what’s the sensor format dumps,
please examine with… $ v4l2-ctl -d /dev/video0 --list-formats-ext
since it’s MONO Y10 format, please try fetch the stream with v4l2src instead.
let’s check you’re able to access to the steam and dump single frame as JPG file.
for example, $ gst-launch-1.0 v4l2src num-buffers=1 ! "video/x-raw, format=(string)Y10, width=(int)1280, height=(int)800, framerate=(fraction)30/1" ! nvvidconv ! nvjpegenc ! filesink location=cam0.jpg
if above works, here’s another example to preview the stream. $ gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,framerate=30/1,width=1280,height=800 ! xvimagesink
Thank you very much for the feedback. I will try to switch to RAW-Y8 settings, but I meet errors with Y8 settings while I have created another case in Got "frame start syncpt timeout!0" , do you have any idea on that? Thanks.