I am using vlcj library for my project and finished developing on Windows. Now I am upgrading it for Linux usage. And now I see that libvlc is acting better on Windows that on Linux.
Eg. On windows I can run multiple cameras at once and stream into files (dshow://). Now on Linux I use v4l2:// and only one camera can be streamed at once.
Can I fix this somehow? Is it libvlc issue or Linux issue?
Here is the output that I think comes from VLC:
[0x9a13d8c] v4l2 demux error: VIDIOC_STREAMON failed
[0x9a13d8c] v4l2 demux error: cannot set input (Device or resource busy)
[0x9a9a86c] v4l2 access error: VIDIOC_STREAMON failed
[0x9a9a86c] v4l2 access error: cannot set input (Device or resource busy)
[0x9a584bc] main input error: open of `v4l2:///dev/video1' failed: (null)
[0x9a584bc] main input error: Your input can't be opened
[0x9a584bc] main input error: VLC is unable to open the MRL 'v4l2:///dev/video1'. Check the log for