Hi,
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
let’s check whether you’re able to access to the steam and dump single frame as JPG file,
it looks incorrect command for video converter, please refer to developer guide, Accelerated GStreamer.
Hi,
By default it is impossible to preview 10-bit GRAY. If the camera source supports other formats, we would suggest set to other format instead of Y10
@DaneLLL
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.
How to let nvarguscamerasrc support MONO Y10 format?
it needs ISP settings update to enable momochrome sensor support via nvarguscamerasrc.
please contact with sensor vendors, we don’t support this through public forum discussion thread.