Hi,
I am working with a monochrome camera on Jetson Orin NX running JetPack 5.1.4. The camera supports Y12 (12-bit grayscale) format, which I verified using v4l2-ctl:
v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'Y12 ' (12-bit Greyscale)
Size: Discrete 640x480 Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720 Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1920x1080 Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 3840x2160 Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 5120x2880 Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 5120x3840 Interval: Discrete 0.017s (60.000 fps)
Currently, I am able to stream Y8 using the following GStreamer pipeline:
gst-launch-1.0 v4l2src device=/dev/video0 !
video/x-raw,format=GRAY8,width=640,height=480,framerate=60/1 !
nvvidconv !
video/x-raw,format=I420 !
fpsdisplaysink text-overlay=true video-sink=autovideosink sync=true
However, I would like to stream Y12 format from the same camera.
My questions:
-
Does GStreamer on Jetson Orin NX (JetPack 5.1.4) support Y12 format directly?
-
What is the correct GStreamer pipeline to stream Y12?
-
Should Y12 be treated as GRAY16_LE in GStreamer?
-
Does nvvidconv support Y12 / GRAY16_LE conversion?
-
If GStreamer does not support Y12 directly, what alternative applications or approaches can be used to stream or visualize Y12 data?
Any guidance or example pipelines would be greatly appreciated.
Thanks!