JetPack 4.6 (rev. 3)
Allied Vision 1800 C-319c camera
Camera is connected to the Jetson via “ADAPTER CSI-2 JETSON TX2 / XAVIER” board.
Using:
“gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink”
I get the following error:
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:725 No cameras available
ls /dev/video* shows:
/dev/video0
and lsmod shows the driver is installed:
avt_csi2 92085 0
v4l2-ctl -d /dev/video0 --list-formats-ext shows:
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: ‘TP31’
Name : 0x31 MIPI DATATYPE
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
Index : 1
Type : Video Capture
Pixel Format: 'GREY'
Name : 8-bit Greyscale
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
Index : 2
Type : Video Capture
Pixel Format: 'RGGB'
Name : 8-bit Bayer RGRG/GBGB
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
Index : 3
Type : Video Capture
Pixel Format: 'JXY0'
Name : 10-bit/16-bit Greyscale
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
Index : 4
Type : Video Capture
Pixel Format: 'JXR0'
Name : 10-bit/16-bit Bayer RGRG/GBGB
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
Index : 5
Type : Video Capture
Pixel Format: 'JXY2'
Name : 12-bit/16-bit Greyscale
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
Index : 6
Type : Video Capture
Pixel Format: 'JXR2'
Name : 12-bit/16-bit Bayer RGRG/GBGB
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
Index : 7
Type : Video Capture
Pixel Format: 'BX24'
Name : 32-bit XRGB 8-8-8-8
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
Index : 8
Type : Video Capture
Pixel Format: 'XR24'
Name : 32-bit BGRX 8-8-8-8
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
Index : 9
Type : Video Capture
Pixel Format: 'VYUY'
Name : VYUY 4:2:2
Size: Discrete 2064x1544
Interval: Discrete 0.019s (51.968 fps)
I tried using this longer command with edited resolution:
gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! ‘video/x-raw(memory:NVMM),width=2064, height=1544, framerate=51/1’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=540’ ! nvvidconv ! nvegltransform ! nveglglessink -e
Output:
Setting pipeline to PAUSED …
Using winsys: x11
Pipeline is live and does not need PREROLL …
Got context from element ‘eglglessink0’: gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Setting pipeline to PLAYING …
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:725 No cameras available
Got EOS from element “pipeline0”.
Execution ended after 0:00:00.049963076
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
My goal is to show the camera output using OpenCV so I’ve been looking at the JetsonHacks python script “simple_camera.py” but no luck.
Any help appriciated!