Is Skype + Video + Linux Always a Hassle?

Every time I upgrade my favorite Linux distro. I end up without Skype video support. Every time!!! It’s unbelievable. Why can’t Skype make an app that provides out-of-the-box video support for Kubuntu.

Anyway, because I keep forgetting how to get my webcam to work with Skype on Linux, I thought I’d write about it here so I always have a reference and so you can benefit from my forgetfulness.

Install a few libraries and applications

Open Konsole or some other terminal then copy and paste these commands

Install the Dependencies Needed by the Video Libriaries Needed for Skype Video in LinuxInstall the Video Libriaries Needed for Skype Video in Linux

Download Skype

Get Skype from Skype:

http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux/

Then install Skype.

Now for the playful part

Edit the file that loads Skype. I use Kate to do most of my file editing. If you use gedit or vim or another file editor, change ‘kate’ in the following command to the name of your favorite text editor.

Copy and paste this into Konsole

Put the following lines into the file that opens up

Pay attention to the second line where it reads /usr/lib/i386-linux-gnu/libv4l/v4l2convert.so. You might need to replace that section.

Editing Skype bin File

Save the file.

Make the file executable by copying and pasting this into Konsole

Now test Skype loads without errors. Type skype (all lowercase) into Konsole and check whether it spits out an error message similar to

If it doesn’t throw an error, it means you have referenced the correct v4l2convert.so file and Skype webcam video should now work in your Linux distro. If it does show the error message then you need to locate the correct v4l2convert.so file.

Finding the location of v4l2convert.so

You only need to do this if running Skype shows an error as detailed above here. This required some trial and error testing.

Type this into Konsole

You should see a few locations listed.

Reopen the file you just edited. Open a new Konsole (keep the first console open):

You will see a result similar to this:

Locate v4l2convert.so in Linux

In the file at /usr/local/bin/skype, replace the section of the second line that reads /usr/lib/i386-linux-gnu/libv4l/v4l2convert.so with the first location shown in Konsole for v4l2convert.so when you typed ‘locate v4l2convert.so’ into Konsole in the first step above. Save the file then test run Skype again (you must quite Skype then restart it between tests).

If error shows again, try the next location then test Skype again. Eventually you will find the correct version of v4l2convert.so needed for Skype video to work.

Assuming everything works right and the error no longer shows when you run Skype by typing ‘skype’ in Konsole….

Test Skype video

With Skype open, click the blue Skype symbol at the bottom of the Skype window, select options then select Video Devices. Make sure “Enable Video” is ticked and double check your webcam is connected then click “Test”. You should see a picture of yourself in the test screen.

Congratulations! You now have working Skype video on your Linux computer.

Test Skype Video for Linux - Skype Options.

Test Skype Video for Linux - Setting Skype Video Options

Configuring Linux video settings

Video 4 Linux lets us control webcam settings like brightness, contrast, gain and horizontal flipping. Open a terminal and start Video4Linux with

Configure the previewer by clicking the Preview tab then entering cheese (all lowercase) where it says “Application to use”, then save the settings and select Preview > Preview from the menu bar. Now you can configure the webcam settings with a realtime updated visual.

Configuring Linux Video Settings with Video4Linux

Configuring Linux Video Settings with Video4Linux

No sound! No mic!

This is another common fault with Skype for Linux. Type aumix or alsamixer into a terminal to open the system sound settings. Make sure the mic is not muted. When Skype is active during a call, open kmix and adjust the volume level for the Skype capture stream as well as the mic and the webcam (if it has a built in mic).

Also, be sure to check you are using the correct sound card. Press F6 to change it if needed.

Using Alsamixer

Win the battle. Social Warfare Dynamik Website Builder Author Pro

Leave a Reply

10 Comments on "Is Skype + Video + Linux Always a Hassle?"

Notify of
Sort by:   newest | oldest | most voted

I know this post is kinda old, but I was pulling my hair out trying to get my webcam to work in linux. Your instructions worked! WTF? Why on earth do we have to go through these contortions just to get our webcams to work with skype. Whatever – tyvm for this, I don’t know how I would have got it to work otherwise….

Who are using Ubuntu 12.04 could change
kdesudo kate /usr/local/bin/skype
by
gksu gedit /usr/local/bin/skype

Hello,

in 12.10 /usr/local/bin/skype is an executable file. Do you know where I can find the correct file?

Thanks for all

Sorry, maybe I didn’t understood.
Now I’ve a second problem: I don’t know what I’ve to do when you said:

One-by-one, replace the section that reads/usr/lib/i386-linux-gnu/libv4l/v4l2convert.so with one of the locations shown forv4l2convert.so then save the file. Copy and paste the whole line over the section being replaced i.e from /usr/…. to …./v4l2convert.so.

Regards

I just added one line without removing the original one and it works great.

Mine is like this on mageia 3.

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so /usr/share/skype/skype
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/share/skype/skype

Regards

I finally got my Logitech video working in Debian Wheezy thanks to the
advice above! Thank you – I will cook a good espresso

Free to your inbox

Join our mailing list to receive the latest news and updates from JournalXtra.

You have Successfully Subscribed!