Skype does not find a camera: solution

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
User avatar
administrollaattori
Level 14
Level 14
Posts: 5460
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Skype does not find a camera: solution

Post by administrollaattori » Sun Mar 11, 2018 11:46 am

With SkypeForLinux and old version can be a situation where Skype does not find a camera. At first is good to check Skype-version.

Code: Select all

apt show skypeforlinux
... and the output should something like Versio: 8.17.0.2

If camera does not work, run

Code: Select all

apt install libv4l-0:i386
.... probably installed already

Make a script

Code: Select all

sudo nano /usr/local/bin/skypeforlinux
… a contents

Code: Select all

#!/bin/bash
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so /usr/bin/skypeforlinux
... or

Code: Select all

#!/bin/bash
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
 /usr/bin/skypeforlinux
… save and quit and make the file executable
Ctrl o
Ctrl x

Code: Select all

sudo chmod a+x /usr/local/bin/skypeforlinux
Open Skype and check the camera.
skype-test.jpg
if camera does not appear, to check if system sees the camera:

Code: Select all

dmesg | grep video

Code: Select all

ls /dev/video*


An alternative library for Skype can be v4l2convert.so, so the /usr/local/bin/skypeforlinux file goes as

Code: Select all

#!/bin/bash
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l2convert.so /usr/bin/skypeforlinux

.... or

Code: Select all

#!/bin/bash
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l2convert.so
 /usr/bin/skypeforlinux
.. or

Code: Select all

#!/bin/bash
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l2convert.so /usr/bin/skypeforlinux

gbksiazczak
Level 1
Level 1
Posts: 1
Joined: Wed May 02, 2018 10:46 am

Re: Skype does not find a camera solution

Post by gbksiazczak » Wed May 02, 2018 10:58 am

I tried all Your advices - unsuccessfully. Webcam usb works with cheese and vlc. Not with skype. How to associate skype with webcam?

User avatar
administrollaattori
Level 14
Level 14
Posts: 5460
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Skype does not find a camera solution

Post by administrollaattori » Wed May 02, 2018 1:06 pm

gbksiazczak wrote:
Wed May 02, 2018 10:58 am
I tried all Your advices - unsuccessfully. Webcam usb works with cheese and vlc. Not with skype. How to associate skype with webcam?
Do you see web-camera in the Skype-settings?
webcamera-in-skype.jpg
webcamera-in-skype.jpg (20.21 KiB) Viewed 690 times

User avatar
phd21
Level 17
Level 17
Posts: 7226
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Skype does not find a camera solution

Post by phd21 » Wed May 02, 2018 1:26 pm

Hi administrollaattori,

Thank you for your post, good information.

I do not usually use Skype unless I have to because I cannot get other Skype users to use a secure multimedia messenger like "Wire", or "Qtox", "Ring", "Linphone", "Jitsi", etc...

I usually do not have a problem accessing my USB webcam through various applications, and If I do, all I usually have to do is unplug it and wait about 12 seconds and plug it back in and wait another few seconds for it to be recognized by the system.

If you have another application running that accesses the webcam, then that could interfere with another application that is also trying to access the camera, like running "cheese" and Skype at the same time. Rebooting or restarting your computer may help too.

FYI: Some people using Linux have told me that Skype works better through an application like "RamBox" or "Franz" over the "Skype For Linux" application?
...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Post Reply

Return to “Tutorials”