Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using 3 or 4 usb camera fail #23

Open
iliesaya opened this issue Jun 29, 2020 · 2 comments
Open

Using 3 or 4 usb camera fail #23

iliesaya opened this issue Jun 29, 2020 · 2 comments

Comments

@iliesaya
Copy link

iliesaya commented Jun 29, 2020

Hi , I am trying to connect 4 USB camera (Arducam 8MP 1080P Auto Focus USB Camera Module) on the Xavier NX.
The first 2 camera works, but the third one fail with :

'Could not initialize camera. Please see error trace.')

if I try to preview the camera with
gst-launch-1.0 -v v4l2src device=/dev/video2 ! jpegdec ! video/x-raw,format=I420,framerate=30/1,width=1280,height=720 ! videoconvert ! xvimagesink

the two first device works, but the third fail with

"Buffer pool activation failed"

Is there a way the lower the frame rate or to use MJPG to get the 4 camera running ?

`v4l2-ctl --list-formats-ext --device /dev/video1
ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'MJPG' (compressed)
	Name        : Motion-JPEG
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 320x180
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 320x240
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 424x240
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 848x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 960x540
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1600x1200
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 2592x1944
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 3264x2448
			Interval: Discrete 0.067s (15.000 fps)

	Index       : 1
	Type        : Video Capture
	Pixel Format: 'YUYV'
	Name        : YUYV 4:2:2
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 320x180
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 320x240
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 2592x1944
			Interval: Discrete 0.500s (2.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.200s (5.000 fps)
		Size: Discrete 3264x2448
			Interval: Discrete 0.500s (2.000 fps)`
@iliesaya iliesaya changed the title Using more 3 or 4 usb camera fail Using 3 or 4 usb camera fail Jun 30, 2020
@astekardis
Copy link

@iliesaya Did you ever solve this?

@iliesaya
Copy link
Author

@iliesaya Did you ever solve this?

No, I used 2 mipi and 2 USB camera

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants