[SOLVED] USB Webcam not working in Kamoso

[SOLVED] USB Webcam not working in Kamoso

Postby Gelsenbury » Sep 30th, '15, 09:49

I have a USB Webcam from Logitech. It is recognised in the Mageia Control Centre under "Webcam" as "Logitech Webcam C300" using the uvcvideo driver. There is also an entry at the bottom of the hardware list saying "Unknown/Others" and "UVC Camera (046d:0805)". I don't know whether it's meant to be like that.

The Webcam works well in Skype and in wxCam. But it doesn't work in Kamoso. When I start Kamoso, the camera doesn't turn on, and the screen stays black. The settings in Kamoso don't seem to help, and I can't find anything in the KDE system settings either.

When I start Kamoso from the command line, the only message I get is
Object::connect: No such slot Kamoso::fileSaved(KUrl)
error "no element "v4l2src""

Does anyone understand what this means, and why the camera would work in some applications but not others?
Last edited by Gelsenbury on Oct 2nd, '15, 11:34, edited 1 time in total.
User avatar
Gelsenbury
 
Posts: 113
Joined: Jun 1st, '11, 21:00

Re: USB Webcam not working in Kamoso

Postby doktor5000 » Oct 1st, '15, 01:57

Seems like kamoso does not support the current v4l2 (video 4 linux 2) API or you're maybe missing some library. Ping me again if I forget to reply with further details.

edit doktor5000: Can you try to start kamoso the same way as skype is started? Should be
Code: Select all
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so /usr/bin/kamoso
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18032
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: USB Webcam not working in Kamoso

Postby Gelsenbury » Oct 1st, '15, 12:04

Thank you for the reply. I tried your suggestion, but the camera still stays off and the screen is black. This is what my terminal says:

Code: Select all
[duni@localhost ~]$ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so /usr/bin/kamoso
ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Object::connect: No such slot Kamoso::fileSaved(KUrl)
error "no element "v4l2src""


If I'm missing some libraries, how do I know which ones to install?
User avatar
Gelsenbury
 
Posts: 113
Joined: Jun 1st, '11, 21:00

Re: USB Webcam not working in Kamoso

Postby doktor5000 » Oct 1st, '15, 14:45

Gelsenbury wrote:ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

Please try again with
Code: Select all
LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so /usr/bin/kamoso

I forgot that skype is 32bit and kamoso is a native 64bit program, you also need to load the relevant 64bit library. FWIW, for this you need lib64v4l-wrappers installed.

Gelsenbury wrote:If I'm missing some libraries, how do I know which ones to install?

Please show the output of
Code: Select all
gst-inspect-1.0 -b
gst-inspect-1.0 | grep video4
rpm -qa | grep gstreamer|sort

The plugin you need should be contained either in gstreamer1.0-plugins-good or gstreamer0.10-plugins-good
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18032
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] USB Webcam not working in Kamoso

Postby Gelsenbury » Oct 2nd, '15, 11:39

Thank you for all your help. I was missing the gstreamer1.0-plugins-good package. I'm not sure how Kamoso got installed without it. It's working now.

I have marked the thread as solved.
User avatar
Gelsenbury
 
Posts: 113
Joined: Jun 1st, '11, 21:00


Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest