Related to #103 if want multiple viewers, without other computer resource access.
I suspect that before starting consuming the video stream, can create 2 virtual cameras from it (not just one as we are already consuming the initial one).
Related to #103 if want multiple viewers, without other computer resource access.
I suspect that before starting consuming the video stream, can create 2 virtual cameras from it (not just one as we are already consuming the initial one).
Short answer: the command itself is correct — if /dev/video6 doesn't appear, the module almost certainly didn't actually load (or it was already loaded before your parameters could apply). modprobe failing doesn't always look like a crash, and it never re-applies parameters to an already-loaded module.
Check in this order:
1. Was the module already loaded? modprobe silently ignores parameters for an already-loaded module, so if something loaded v4l2loopback earlier (without video_nr), your command "succeeds" but changes nothing:
Module not built for your running kernel (modprobe: FATAL: Module v4l2loopback not found in /lib/modules/$(uname -r)). The package is a DKMS out-of-tree module, so it must be compiled against the exact kernel you're booted into — typically after a kernel update you need linux-headers-$(uname -r) and a successful DKMS build:
3. Module loaded but number 6 is taken? A single video card often occupies several /dev/video* nodes. If another driver already registered minor 6, v4l2loopback can't claim it. Check what exists and pick a free number:
ls /dev/video*; v4l2-ctl --list-devices
The decisive evidence is always in dmesg right after the modprobe — it will tell you which of the three cases you're in.
v4l2loopback-dkms is already the newest version (0.15.0-2).
linux-headers-6.12.113+deb13-amd64 is already the newest version (6.12.113-1).
linux-headers-6.12.113+deb13-amd64 set to manually installed.
Installing:
v4l2loopback-utils
Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 15
Download size: 44.2 kB
Space needed: 93.2 kB / 3,967 MB available
Continue? [Y/n]
Get:1 http://deb.debian.org/debian trixie/main amd64 v4l2loopback-utils amd64 0.15.0-2 [44.2 kB]
Fetched 44.2 kB in 0s (785 kB/s)
Selecting previously unselected package v4l2loopback-utils.
(Reading database ... 672344 files and directories currently installed.)
Preparing to unpack .../v4l2loopback-utils_0.15.0-2_amd64.deb ...
Unpacking v4l2loopback-utils (0.15.0-2) ...
Setting up v4l2loopback-utils (0.15.0-2) ...
Processing triggers for man-db (2.13.1-1) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
User sessions running outdated binaries:
benjamin_loison @ user manager: crashhelper[6631], firefox-esr[6537], forkserver[6717],
python3[62332,62335,62337,62345,62349,66127,68042,68043,68044,68046,68047,68048,68049,68051,68053,68054,68055,68056,68057,68058,68059,68060,68062,68063,68064,68065,68066,68149,68582,68583,68584,68585,68586,68
587,68588,68590,68591,68592,68593,68594,68595,68596,68597,68598,68599,68600,68601,68602,68603,68604,68605,68614,69534,69535,69537,69539,69540,69542,69544,69545,69546,69548,69549,69552,69553,69554,69556,70293,
70294,70295,70296,70297,70298,70300,70301,70302,70303,70304,70305,70306,70307,70308,70309,70310,70311,70312,70316,70317,70318,70319,70342,71151,71152,71153,71154,71155,71156,71157,71158,71159,71161,71162,7116
3,71164,71165,71166,71167,71168,71169,71170,71171,71172,71173,71174,71175,71644,71646,71647,71648,71649,71650,71651,71652,71653,71654,71655,71656,71657,71658,71659,71660,71661,71662,71663,71665,71666,71667,71
668,71861,72828,72829,72830,72831,72832,72833,72835,72836,72837,72838,72839,72840,72841,72842,72843,72844,72845,72846,72847,72848,72849,72850,72852,75521,75522,75523,75524,75525,75526,75527,75528,75529,75530,
75531,75532,75533,75535,75536,75537,75538,75539,75540,75541,75542,75543,75544,75545,76522,76523,76524,76526,76527,76528,76529,76530,76532,76533,76534,76535,76536,76537,76538,76540,76542,77396,77397,77398,7739
9,77400,77401,77402,77403,77405,77406,77407,77408,77410,77411,77412,77413,77414,77416,77417,77418,77419,77420,77421,77485,78072,78074,78075,78076,78077,78078,78079,78080,78081,78082,78083,78084,78085,78086,78
088,78089,78090,78092,78093,78094,78095,78096,78109,78127,82049,82050,82051,82052,82053,82055,82056,82057,82060,82061,82063,82064,82065,82066,82069,82070,82071,82650,82651,82652,82653,82654,82655,82657,82658,
82659,82660,82661,82662,82663,82664,82665,82666,82667,82668,82669,82670,82671,82672,82673,82674,82677,84190,84191,84192,84193,84194,84195,84196,84198,84199,84200,84201,84202,84203,84204,84206,84207,84208,8420
9,84210,84211,84212,84213,84214,85029,85030,85031,85032,85033,85034,85035,85036,85037,85038,85039,85040,85041,85042,85043,85044,85045,85046,85047,85048,85049,85050,85052,85053,85256,85507,85508,85509,85510,85
511,85512,85513,85514,85515,85516,85518,85519,85520,85521,85522,85523,85524,85525,85526,85527,85528,85530,85531,85532,85970,85971,85972,85973,85974,85979,85982,85983,85984,85986,85988,85990,85991,85992,86546,
86547,86548,86550,86551,86552,86553,86554,86555,86556,86557,86558,86559,86561,86563,86564,86565,86566,86569,86570]
benjamin_loison @ user service: org.gnome.Shell@wayland.service[5329]
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Due to many errors I stopped the following command:
v4l2loopback-dkms is already the newest version (0.15.0-2).
v4l2loopback-utils is already the newest version (0.15.0-2).
ffmpeg is already the newest version (7:7.1.5-0+deb13u1).
ffmpeg set to manually installed.
v4l-utils is already the newest version (1.30.1-1).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 15
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
For instance I had doubts Zoom was correctly showing the whole viewable image and I wanted to check that discreetly with OBS.
+8
Related to Benjamin-Loison/obs-studio/issues/21.
Related to Benjamin-Loison/android/issues/225.
Settings > Video is a workaround for Jitsi.
Related to #103 if want multiple viewers, without other computer resource access.
I suspect that before starting consuming the video stream, can create 2 virtual cameras from it (not just one as we are already consuming the initial one).
DuckDuckGo and Google search Linux duplicate video and Linux use webcam on 2 softwares.
The Ask Ubuntu answer 509681:
v4l2loopback/v4l2loopback has 4.3k stars and last commit was last week.
v4l2loopback/v4l2loopback/blob/442d720262e150084e7923068fb3c01acc42a253/README.md
The Ask Ubuntu answer 1244152:
Benjamin_Loison/cheese/-/work_items/5 would help.
OBS virtual camera is not a workaround:
On Debian 13 GNOME HP laptop:
Output:
Output:
Note:
Output:
graphically works fine.
does not return anything.
Are both
exclusive_caps=1 video_nr=5necessary? Is this command at all necessary? At least after each reboot?Output:
Output:
Output:
Output:
Output:
Output:
Output:
Output:
Output:
does not create
/dev/video6contrarily to stated too.none creates it too.
https://chat.mistral.ai/work/a48067dd-6338-4a45-ae1f-18cabc01e4ed
Mistral free Think:
Short answer: the command itself is correct — if
/dev/video6doesn't appear, the module almost certainly didn't actually load (or it was already loaded before your parameters could apply).modprobefailing doesn't always look like a crash, and it never re-applies parameters to an already-loaded module.Check in this order:
1. Was the module already loaded?
modprobesilently ignores parameters for an already-loaded module, so if something loadedv4l2loopbackearlier (withoutvideo_nr), your command "succeeds" but changes nothing:2. Did modprobe actually succeed? Re-run it verbosely and look at the kernel log:
On Debian 13, the two classic failures are:
Module not built for your running kernel (
modprobe: FATAL: Module v4l2loopback not found in /lib/modules/$(uname -r)). The package is a DKMS out-of-tree module, so it must be compiled against the exact kernel you're booted into — typically after a kernel update you needlinux-headers-$(uname -r)and a successful DKMS build:This is the single most common cause of the module being "installed but absent", and it resurfaces silently after every kernel upgrade ([v4l2loopback issue #674](https://github.com/v4l2loopback/v4l2loopback/issues/674), [CamLooper setup guide](https://www.camlooper.com/blog/v4l2loopback-setup-linux/)).
Secure Boot rejecting the unsigned module (
Key was rejected by service/Operation not permittedin dmesg). DKMS-built modules are unsigned, so with Secure Boot enabled the kernel refuses to load them. Either disable Secure Boot in your UEFI settings or enroll your own MOK key and sign the module ([fake-background-webcam docs](https://deepwiki.com/fangfufu/Linux-Fake-Background-Webcam/2-installation-and-setup), [v4l2loopback troubleshooting](https://deepwiki.com/v4l2loopback/v4l2loopback/6-troubleshooting)).3. Module loaded but number 6 is taken? A single video card often occupies several
/dev/video*nodes. If another driver already registered minor 6, v4l2loopback can't claim it. Check what exists and pick a free number:The decisive evidence is always in
dmesgright after the modprobe — it will tell you which of the three cases you're in.Output:
Output:
Output:
I still face device busy with
ffplay /dev/video5on second instance.https://chat.mistral.ai/work/759a2ddb-9205-4f65-8342-66f13c48ccc2
Output:
Due to many errors I stopped the following command:
Output:
Output:
Source: https://chatgpt.com/share/6aeb5dea-5c80-83eb-ab76-b9f86677baec
With ChatGPT approach I still face device is busy.
https://chatgpt.com/share/6aeb5f3a-9ff8-83eb-9f97-d66273069d64
Bash script:
Output:
ffplay /dev/video10andffplay /dev/video11works fine.