Package Details: fake-background-webcam-git r269.eccc742-1

Git Clone URL: https://aur.archlinux.org/fake-background-webcam-git.git (read-only, click to copy)
Package Base: fake-background-webcam-git
Description: Faking your webcam background
Upstream URL: https://github.com/fangfufu/Linux-Fake-Background-Webcam
Licenses: GPL-3.0-or-later
Groups: modified
Conflicts: fake-background-webcam
Provides: fake-background-webcam
Submitter: Premik
Maintainer: gchamon
Last Packager: gchamon
Votes: 12
Popularity: 0.003856
First Submitted: 2021-02-14 13:31 (UTC)
Last Updated: 2024-12-02 15:25 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

winicius commented on 2021-06-15 15:52 (UTC)

Getting this error:

==> Starting package_fake-background-webcam-git()...
/home/winicius/.cache/yay/fake-background-webcam-git/PKGBUILD: line 39: cd: /home/winicius/.cache/yay/fake-background-webcam-git/src/fake-background-webcam-git/fakecam: No such file or directory
==> ERROR: A failure occurred in package_fake-background-webcam-git().
    Aborting...
error making: fake-background-webcam-git (fake-background-bodypix-git)

Any idea on how to fix this?

suger commented on 2021-06-15 12:28 (UTC) (edited on 2021-06-19 07:52 (UTC) by suger)

Actually, the changes are even larger than pointed out by @Rhinoceros . The contents of the fakecam folder have been moved to root, and the dependency from bodypix has been dropped in favour of Google's mediapipe. Which, if I'm not mistaken, isn't in in aur right now. Do you need help making the switch?

Rhinoceros commented on 2021-06-11 02:14 (UTC)

Looks like upstream changed the directory structure, so this PKGBUILD doesn't work any more. Specifically on line 39, it tries to cd "$srcdir/${pkgbase}/fakecam", but this subdirectory no longer exists.

Also, for the bundled readme.md, I get a checksum of f6b37aff68926eb16c510db56df665ec2a3f8aa7348c0e8ddf247bcaa770a955.

entropie commented on 2021-06-09 18:34 (UTC) (edited on 2021-06-09 20:25 (UTC) by entropie)

Thanks for the package Premik, its working great for me. Only thing I did was changing the /dev/video2%i to /dev/video4 on my setup in the fake-background-webcam@.service. That made it get recognized in Zoom and MS Teams which are both firejailed on my setup. With the video siting on 20, I could only disable the private-dev setting all along in firejail or it wouldnt be found.

One question: do you plan on keeping this package or update to the new mediapipe release of the git version?

Rhinoceros commented on 2021-06-07 06:26 (UTC)

Thanks @Premik. I was already using the latest nodejs, but it seems to be working perfectly now. Thank you! Also, I think you were right about linux-headers.

One other minor issue, the checksum of readme.md seems to be incorrect.

Premik commented on 2021-06-06 20:45 (UTC) (edited on 2021-06-06 20:48 (UTC) by Premik)

@Rhinoceros thanks for reporting the issue. I assumed the node dependency was coming inherently from the npm. But now I see the known-to-work node version is the v12. So I've added nodejs>=12 as an explicit dependency now. I guess the last node error you got was related to node version.

Btw an easy way to swap the node version is by using the nvm like:

nvm list
nvm install 12
nvm use 12

And only then run the makepkg.

I'm not sure about linux-header. Headers are indeed mentioned in the readme.md as a dependency but for the v4l2loopback-dkms. So perhaps it is missing from the v4l2loopback-dkms package.

You can also give the opt-flavor version a try. It has the dependencies self-contained. Edit: I see you did already :)

@lawa42 I was not able to reproduce the issue. But is seems the ticket has been closed on the github in the meantime.

Rhinoceros commented on 2021-06-04 08:00 (UTC)

I can't get this working either. There are at least two dependencies missing. Firstly, sudo systemctl start fake-background-webcam@0.service failed with fake-background-bodypix.service: Failed at step EXEC spawning /usr/bin/node: No such file or directory. I installed nodejs, and it progressed. Then modprobe: FATAL: Module v4l2loopback not found in directory /lib/modules/5.12.8-arch1-1, so I installed linux-headers and it progressed. Finally, I gave up after the following:

Jun 04 13:24:51 hostname systemd[1]: Starting Fake Background Webcam - frame-source /dev/video0 -> /dev/video20...
Jun 04 13:24:51 hostname kernel: v4l2loopback: loading out-of-tree module taints kernel.
Jun 04 13:24:51 hostname kernel: v4l2loopback: module verification failed: signature and/or required key missing - tainting kernel
Jun 04 13:24:51 hostname kernel: v4l2loopback driver version 0.12.5 loaded
Jun 04 13:24:51 hostname systemd[1]: Started Fake Background Webcam - frame-source /dev/video0 -> /dev/video20.
...
Jun 04 13:24:53 hostname node[2452]: /usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:542
Jun 04 13:24:53 hostname node[2452]:                 out = _this.tidy(function () { return forwardFunc(_this.backend, saveFunc_1); });
Jun 04 13:24:53 hostname node[2452]:                                                       ^
Jun 04 13:24:53 hostname node[2452]: TypeError: forwardFunc is not a function
Jun 04 13:24:53 hostname node[2452]:     at /usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:542:55
Jun 04 13:24:53 hostname node[2452]:     at /usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:388:22
Jun 04 13:24:53 hostname node[2452]:     at Engine.scopedRun (/usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:398:23)
Jun 04 13:24:53 hostname node[2452]:     at Engine.tidy (/usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:387:21)
Jun 04 13:24:53 hostname node[2452]:     at kernelFunc (/usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:542:29)
Jun 04 13:24:53 hostname node[2452]:     at /usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:553:27
Jun 04 13:24:53 hostname node[2452]:     at Engine.scopedRun (/usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:398:23)
Jun 04 13:24:53 hostname node[2452]:     at Engine.runKernelFunc (/usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:551:14)
Jun 04 13:24:53 hostname node[2452]:     at Engine.runKernel (/usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:449:21)
Jun 04 13:24:53 hostname node[2452]:     at pad_ (/usr/lib/node_modules/bodypix/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:16988:19)
Jun 04 13:24:53 hostname systemd[1]: fake-background-bodypix.service: Main process exited, code=exited, status=1/FAILURE
Jun 04 13:24:53 hostname systemd[1]: fake-background-bodypix.service: Failed with result 'exit-code'.

lawa42 commented on 2021-05-06 06:36 (UTC)

Hi I've been using this for a while and now discovered that there is an aur. Great job thanks. However, I run into https://github.com/fangfufu/Linux-Fake-Background-Webcam/issues/87 which can be solved by issuing

npm audit fix --force

However, I tried to do this manually or directly in the PKGBUILD but it fails due to a missing json file: /usr/lib/node_modules/package.json Any idea how to fix this?

ogasser commented on 2021-04-13 08:29 (UTC)

python-pip is mising in the dependencies.

aurifier commented on 2021-04-08 20:00 (UTC)

I think python-opencv should be in depends. I needed it to run.