I’m using device Jetson AGX Orin as NX-16GB - Jetpack 5.1.2 [L4T 35.4.1].
I tried to run with 4 USB Cameras, but when I run gst pipeline with the 3rd camera I got “Failed to allocate memory error”
Here is my pipepline:
GST_DEBUG=3 gst-launch-1.0 v4l2src device=“/dev/video0” ! decodebin ! queue ! nvvideoconvert ! videoconvert ! x264enc tune=zerolatency ! h264parse ! matroskamux ! filesink location=“logs/checker/check_compatible_cam1.1.mp4”
My camera information:
Driver Info:
Driver name : uvcvideo
Card type : GMSL2-USB3.0 Conversion Kit
Bus info : usb-3610000.xhci-3.1
Driver version : 5.10.120
Capabilities : 0x84a00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : uvcvideo
Model : GMSL2-USB3.0 Conversion Kit
Serial : C1-Master
Bus info : usb-3610000.xhci-3.1
Media version : 5.10.120
Hardware revision: 0x0000120a (4618)
Driver version : 5.10.120
Interface Info:
ID : 0x03000002
Type : V4L Video
Entity Info:
ID : 0x00000001 (1)
Name : GMSL2-USB3.0 Conversion Kit
Function : V4L2 I/O
Flags : default
Pad 0x01000007 : 0: Sink
Link 0x02000010: from remote pad 0x100000a of entity ‘Extension 3’: Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 1920/1280
Pixel Format : ‘UYVY’ (UYVY 4:2:2)
Field : None
Bytes per Line : 3840
Size Image : 4915200
Colorspace : Default
Transfer Function : Default (maps to Rec. 709)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Limited Range)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 1920, Height 1280
Default : Left 0, Top 0, Width 1920, Height 1280
Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 1920, Height 1280, Flags:
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 1920, Height 1280, Flags:
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
Any solution for this issue?
My USB ports information: lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 10000M
|__ Port 1: Dev 3, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 1: Dev 3, If 1, Class=Video, Driver=uvcvideo, 5000M
|__ Port 2: Dev 4, If 1, Class=Video, Driver=uvcvideo, 5000M
|__ Port 2: Dev 4, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 3: Dev 5, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 3: Dev 5, If 1, Class=Video, Driver=uvcvideo, 5000M
|__ Port 4: Dev 6, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 4: Dev 6, If 1, Class=Video, Driver=uvcvideo, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 480M
|__ Port 1: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 3: Dev 2, If 0, Class=Wireless, Driver=rtk_btusb, 12M
|__ Port 3: Dev 2, If 1, Class=Wireless, Driver=rtk_btusb, 12M
|__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M