I've been using VLCJ (which uses libVLC). Now I need to list available cameras and it has to be cross platform.
What is the way that VLC/libVLC is doing this? When I go to capture mode it lists available devices and I would like to do the same.
I understand.Hmm, lets clarify. The guy that wrote the media discoverer API has left the project. So it is not unlikely that the API has problems (bugs, awkwardness, limitations...).
Maybe I wasn't clear with my question. I asked what is the EXACT way that VLC populates that combo-boxes with available cameras. I assume that there is some native library which is OS specific. I thought that this is libVLCs responsibility but obviously it is not.Now regarding video capture specifically, there is a dedicated service discovery plug-in ("v4l") based on libudev. This is obviously platform-specific stuff, and nobody ever wrote a comparable back-end plug-in for Windows, MacOS, BSD or whatever else.
So basically, what you ask is theoretically possible and in scope, but it is not working at the moment, except maybe on Linux.
Combo-boxes when I go on capture/convert media.I am not sure which combox you mean. On Linux, the Qt4 UI capture dialog is lame, it just lists /dev/video* entries.
I would appreciate if you could point me somewhere, to some starting point of that back-end, so I could see what can I do with it. Thank you.The capture devices in the playlist come from the same back-end as media discoverer.
And what is a "connected camera"? there are infinite IP cameras "connected" and their streams on the internet...I've been using VLCJ (which uses libVLC). Now I need to list available cameras and it has to be cross platform.
What is the way that VLC/libVLC is doing this? When I go to capture mode it lists available devices and I would like to do the same.
Return to “Development around libVLC”
Users browsing this forum: No registered users and 4 guests