-
Notifications
You must be signed in to change notification settings - Fork 82
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
Multiple identical cameras not correctly logged #190
Comments
Possible related to #109 |
@NV4RE It's not related to the issue you mentioned. The issue you mentioned is about connection problems with a cb1. Your issue is just about crowsnest.log not showing the second identical camera. Crowsnest currently only shows the entry of |
I updated this issue to represent a feature request. Fyi this feature is internally already under development. |
@NV4RE I need some information for this issue to tackle it correctly. |
Hi, thanks for the follow-up. I apologize that I can't be of more help in testing the fix right now. I actually removed all the webcams from the machine a while back, so I can't send you the output or confirm whether the issue is resolved. However, I wanted to provide some additional information that might be helpful. Since the last time I interacted with this issue, I tried using multiple webcams with the machine, but from different models and brands. Unfortunately, the problem persisted regardless of the webcams used. This leads me to believe that the root cause might be related to the bandwidth limitations of the BTT Manta M8P's USB chip. It's possible it doesn't have enough capacity to handle multiple webcams efficiently. |
Ok, then I now understand why you mentioned #109. You are completely correct and the CB1 and CM4 are not capable of multiple cameras, as they only got one USB 2.0 interface.
I will focus in this issue on 1 as 2 got it's own issue. If you still have those 2 identical cams lying around, I would highly appreciate, if you could connect them shortly and get me the output. They don't have to run inside Crowsnest or similar, they just need to be connected to the USB ports. |
Hello, I've reinstalled the webcam, but the problem persists. Here's the output of {
"result": {
"v4l2_devices": [
{
"device_name": "video0",
"device_path": "/dev/video0",
"camera_name": "1080P Webcam: 1080P Webcam",
"driver_name": "uvcvideo",
"hardware_bus": "usb-5200000.usb-1.1.2",
"capabilities": ["VIDEO_CAPTURE", "EXT_PIX_FORMAT", "STREAMING"],
"version": "5.16.17",
"path_by_hardware": "/dev/v4l/by-path/platform-5200000.usb-usb-0:1.1.2:1.0-video-index0",
"path_by_id": null,
"alt_name": "1080P Webcam: 1080P Webcam",
"usb_location": "2:5",
"modes": [
{
"format": "MJPG",
"description": "Motion-JPEG",
"flags": ["COMPRESSED"],
"resolutions": [
"640x480",
"1920x1080",
"1280x720",
"320x240",
"1024x768",
"1280x1024",
"160x120",
"800x600"
]
},
{
"format": "YUYV",
"description": "YUYV 4:2:2",
"flags": [],
"resolutions": [
"640x480",
"1920x1080",
"1280x720",
"320x240",
"1024x768",
"1280x1024",
"160x120",
"800x600"
]
}
]
},
{
"device_name": "video2",
"device_path": "/dev/video2",
"camera_name": "1080P Webcam: 1080P Webcam",
"driver_name": "uvcvideo",
"hardware_bus": "usb-5200000.usb-1.1.4",
"capabilities": ["VIDEO_CAPTURE", "EXT_PIX_FORMAT", "STREAMING"],
"version": "5.16.17",
"path_by_hardware": "/dev/v4l/by-path/platform-5200000.usb-usb-0:1.1.4:1.0-video-index0",
"path_by_id": "/dev/v4l/by-id/usb-SJ-180517-N_1080P_Webcam-video-index0",
"alt_name": "1080P Webcam: 1080P Webcam",
"usb_location": "2:16",
"modes": [
{
"format": "MJPG",
"description": "Motion-JPEG",
"flags": ["COMPRESSED"],
"resolutions": [
"640x480",
"1920x1080",
"1280x720",
"320x240",
"1024x768",
"1280x1024",
"160x120",
"800x600"
]
},
{
"format": "YUYV",
"description": "YUYV 4:2:2",
"flags": [],
"resolutions": [
"640x480",
"1920x1080",
"1280x720",
"320x240",
"1024x768",
"1280x1024",
"160x120",
"800x600"
]
}
]
}
],
"libcamera_devices": []
}
}
crownest.conf
crowsnest.log
|
Thanks for the output. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
And you know it's a different issue, if you right: "It's a similar issue, BUT...." |
Hello, have similar problem. It is sort of random on which of the two IDENTICAL cameras are detected. I can unplug ONE or THE OTHER and get each one working...but crowsnest always just detects ONE... Here is my output from the moonraker reques: and my logfile:
|
Hi...thanks. I followed the /dev/by-path/... info and that also does not work. I get ONE view, while the other just says "connecting" and crowsnest log still shows only one device. if I swap USB ports they are plugged into, then I can get the other one to show first, while the other one just sits and says "connecting..." but never does. I've tried ONE on ustreamer and one camera-streamer, tried both on camera-streamer, tried both on ustreamer, rebooted multiple times, tried one as YUYV and one as JPEG, both at JPEG, both as YUYV...nothing works to get both working. I can easily get two working at same time if I plug in a different camera (Logitech C920). And actually, two logitech C920 at same time works fine, even without using the /dev/by-path/ |
For support, please join our Discord or use the Github Discussions of the Mainsail-Crew. |
What happened
When adding multiple cameras (both on the same model), only one detects
crowsnest only detect one camera
Hardware
software
lsusb
v4l2-ctl --list-devices
crowsnest.conf
crowsnest.log
What did you expect to happen
Detect both camera
How to reproduce
Just use multiple camera
Additional information
No response
The text was updated successfully, but these errors were encountered: