Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Will reinstallation on older OS Debian flavors use the new version if reinstalled? I am getting errors trying to use that code on Ubuntu 20.04 Commented Mar 19, 2024 at 22:50
  • 1
    For runtime device control you need v4l2loopback version 0.13 or higher. Ubuntu 22.04 still has v4l2loopback 0.12 that has the old v4l2loopback-ctl that doesn't support adding and removing devices in runtime. There are currently no Ubuntu versions that ship v4l2loopback version 0.13, not even the next version currently in development. The only Linux OS shipping v4l2loopback version 0.13 - to the best of my knowledge - is Debian Sid. Commented Mar 20, 2024 at 16:26
  • 1
    It is easy to check if you have the correct version - run v4l2loopback-ctl --version . If it says "0.6", then you have the old version and that will not let you add and remove devices in runtime. You need a version that says 0.13.0 or higher. Commented Mar 20, 2024 at 16:28
  • thanks! at the moment, I just use modprobe v4l2loopback video_nr=${videoDevIdNum} card_label="${cardLabel} and to remove modprobe -r v4l2loopback. correct? I add a specific one and then remove all from the app, in run time, seems to work ok at the terminal, and yes, I have 0.6 Commented Mar 21, 2024 at 16:57
  • 1
    That seems like it should work. Commented Mar 23, 2024 at 11:19