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 13
Level 13
Posts: 4776
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

Post Reply

Return to “Tutorials”