Hello,
I am using the Jetpack 35.1 and using imx219 sensor (driver: nv_imx219.c), along with other sensors.
I have three more sensors additional to imx219.
$ v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0
vi-output, vc_mipi 9-001a (platform:tegra-capture-vi:0):
/dev/video0
vi-output, imx219 10-0010 (platform:tegra-capture-vi:2): -----------> imx219 on /dev/video1
/dev/video1
vi-output, irs2381c 12-003d (platform:tegra-capture-vi:3):
/dev/video3
vi-output, vc_mipi 11-001a (platform:tegra-capture-vi:4):
/dev/video2
$
Querying imx219:
$ v4l2-ctl -d /dev/video1 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'RG10' (10-bit Bayer RGRG/GBGB)
Size: Discrete 3280x2464
Interval: Discrete 0.048s (21.000 fps)
Size: Discrete 3280x1848
Interval: Discrete 0.036s (28.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1640x1232
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
$
I am trying to stream through v4l-ctl, it goes fine:
$ v4l2-ctl -d /dev/video1 --set-fmt-video=width=3280,height=1848,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=200
<<<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<
$
But, I am facing issue with the below streaming with nvarguscamerasrc!
$ DISPLAY=:0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)3280, height=(int)2464, format=(string)NV12, framerate=(fraction)21/1' ! nvvidconv ! queu
e ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:751 No cameras available
Got EOS from element "pipeline0".
Execution ended after 0:00:00.011258290
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
$
Can any one point out what can be the issue when I am tying to stream with library.
PS: imx219 without any sensor from Jetpack stream fine with library (only problem is the 90 degree clockwise rotation)
Thanks in advance.