Package Details: webcamize 1.2.0-2

Git Clone URL: https://aur.archlinux.org/webcamize.git (read-only, click to copy)
Package Base: webcamize
Description: Use any camera as a webcam—DSLR, mirrorless, camcorder, point-and-shoot, and even some smartphones/tablets!
Upstream URL: https://github.com/weebney/webcamize
Keywords: camera dlsr livestreaming webcam
Licenses: BSD-2-Clause
Submitter: weebney
Maintainer: weebney
Last Packager: weebney
Votes: 2
Popularity: 0.001318
First Submitted: 2023-08-10 17:12 (UTC)
Last Updated: 2023-08-11 14:53 (UTC)

Latest Comments

weebney commented on 2023-08-11 14:48 (UTC) (edited on 2023-08-11 14:51 (UTC) by weebney)

The issue about the missing dependency on "linux-headers" appears to be an issue with "v4l2loopback" missing the "linux-headers" dependency (or perhaps Arch packaging standards meaning the headers are for some reason not an explicit dependency for kernel modules). I'm adding it to this package temporarily, but I'm pretty sure this will break the package for people using linux-zen, linux-hardened, etc.

On pulling documentation, systemd unit file, etc. onto the user's PC, that is extremely low priority for me at the moment. I have a lot of things to do right now, but you're right these things need to change and will in the future, just not a priority for me now.

The rest of your comment belongs in the issue tracker for the project, not here.

m040601 commented on 2023-08-11 12:54 (UTC) (edited on 2023-08-11 13:51 (UTC) by m040601)

Thanks for working on this PKGBUILD. An interesting tool.

Did you actuallly tested this PKGBUILD and confirmed that it is working on your Arch Linux system ?

I could not get it to work on my system. I'm not not sure why, and this PKGBUILD involves "v4l2loopback-dkms" and compiling kernel modules. This might all be "obvious" for you or other developer, but not for the end user.

That's why it should be be properly documented and explained. I like what you have written, and need your README on my PC, not online.

Your repo https://github.com/weebney/webcamize also has LICENSE, supported.md , etc and maybe docs or man pages in the future. These thing should not be there to read online. They should be on the users PC.

These should go into something like for example,

/usr/share/licences/webcamize/LICENCE
/usr/share/doc/webcamize/README
/usr/share/doc/webcamize/Security.md
etc..

Also the "webcamize.service" maybe should end up in something like

/usr/share/doc/webcamize.service

for reference. Or be properly installed to its final destination

The pages,

are also very usefull and you should point to them on your README to help users troubleshoot any problems

Archlinux AUR guidelines, https://wiki.archlinux.org/title/Arch_User_Repository

AUR submission guidelines
Creating packages

First error:

I first got this error message when trying to install webcamize:

==> ERROR: Missing usr kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing media kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing proc kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing lib kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing home kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing root kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing tmp kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing srv kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing run kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing lost+found kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing boot kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing dev kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing sbin kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing sys kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing lib64 kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing var kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing mnt kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing etc kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing opt kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing bin kernel headers for module v4l2loopback/0.12.7.

I suspect, but I'm not sure, there is some missing dependency. As I said, this involving modules/kernels/compiling etc should be very well explained. One should not expect the end user to magically understand this.

I also went to the dependency, https://github.com/umlaeute/v4l2loopback page and spent some time reading and trying to understand what it is, and what it does, and why is it needed.

So I installed the Arch official package "linux-headers".

The above first error message then went away. Webcamize then seemed to install properly.

But then trying to run it:

[FATAL] Couldn't detect any cameras with gphoto2

I still have to investigate this. I know my camera is working because I can use it with for example "cheese" or "guvcview", http://guvcview.sourceforge.net/ in Archlinux.

I still havent figured out if this is a problem with "webcamize" or "gphoto2" on my Archlinux.

It's a simple, old, popular Logitech Webcam C170. I would expect it to work with gphoto2 just like it works with the other programs,

I try,

gphoto2 --list-cameras

And I dont see it. So maybe it is not supposed to work with gphoto2 ? And therefore it is not gonna work with "webcamize" ? I'm not sure.

I check, https://github.com/weebney/webcamize/blob/master/assets/supported.md

Supported Devices

With support for over 1,400 devices, ....

And in fact my Logitech C170 is not there.

Webcamize is a tiny bash script that coordinates gphoto2 and ffmpeg t

I am also a little bit confused. Isn't your list "supported devices" supposed to be exactly the same as what "gphoto2" supports ? Why is it different ?

Also when I plug the camera I see this,

usb 2-3.3: new high-speed USB device number 9 using ehci-pci
usb 2-3.3: New USB device found, idVendor=046d, idProduct=082b, bcdDevice=28.c5
usb 2-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-3.3: Product: Webcam C170
usb 2-3.3: Manufacturer:
usb 2-3.3: Found UVC 1.00 device Webcam C170 (046d:082b)
<WpPortalPermissionStorePlugin:0x55886200e970> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
[17:35:38.694457998] [423] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
[17:35:38.694501018] [423] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA
module has no valid info
[17:35:38.694564082] [423]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
<WpPortalPermissionStorePlugin:0x55886200e970> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files



I'm still gonna try other old cameras on Archlinux and give you some feedback.

I'm also testing,

And trying to understand where does this all fits in.

Thanks in advance.