1 | initial version |
probably not. what you can pass for a camera identifier highly depends on the backend (apiPreference
parameter). OpenCV docs contains a list of all the backends and some documentation on what each can handle. you can inspect the source code to see any hidden mechanisms.
if you need this functionality, you should use libraries such as ffmpeg, which are cross-platform (but can't hide system-specific naming schemes), or native system APIs.