-
Notifications
You must be signed in to change notification settings - Fork 3
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
Alternative ways to match devices #21
Comments
I'll just list out the use cases for the other options than the "by device id" option. By Bus PathHere the device is mapped by looking at which bus adress it is connected via. Pros:
Cons:
By "Other" methodThis is the current default on Linux and freeBSD. Even if this is not as useful for physical devices as the "By ID" or "By bus path" methods, there is still some cases where this is useful or needed. This is because the virtual devices only gets put in Pros:
Cons:
|
@GeorgesStavracas Any update? If you have concerns on "By Bus Path", why don't you accept the "By Device ID" first? Current obs-studio behavior ("Other" in the proposed PR) is useless on Linux when you have multiple cameras. Either "By Path" or "By ID" will fix obsproject/obs-studio#3003 . |
@christephan1 the issue is that you can not exclude "Other" as there are certain cameras or v4l plugins that do not support anything else (like virtual cameras and loopback devices). So the issue here is not really technical as supporting all three ways is not hard. At least that is what I got out of the discussions on Discord we had a year ago. Otherwise it is very easy to get maintainability issues that we have in certain parts of Blender where settings where just added and made it very hard to untangle and make nice after the fact. The issue with "merge now, fix later" is that the "fix later" usually not happens. Either because the contributor that said they would fix it doesn't have time or even disappears after the new functionality has been merged. So I do understand that the OBS project has halted this until something as been agreed upon. |
Seems like there are actually v4l devices that only has "by path" and "other" as well: (I'm just trying to keep information like this easily available in here so it is easy to get an overview) |
Got it. All my video capture devices provide stable unique ID so "By-ID" works for me. And the situation became complicated now because of #6493 is adopted in major distributions. And thus any decisions made here should back-compatible with settings in #6493 if possible. Otherwise, it will break users again. The issue is reported in 2020, first patch (#3437) provided in same year, then a solid patch (#6493) is provided in 2022. It is easy to say we need to consider other platforms, but forgot the fact this it is a showstopper in live production usage under Linux. A small fix could save lots of lives, but it is 2024 now and we are still no progress here. |
I have created a pull request to debian to delete that patch: https://salsa.debian.org/multimedia-team/obs-studio/-/merge_requests/9 |
This sparked from a discussion about how the V4L2 plugin matches capture devices (obsproject/obs-studio#9246). Matching devices by the bus / port might be interesting, but we need to consider this approach holistically, both for other platforms, and also for other device types. It's unclear how the UI would look like, if it's a global vs per device type vs per source, etc.
TODO: list use cases
The text was updated successfully, but these errors were encountered: