Search This Blog

Showing posts with label permanent. Show all posts
Showing posts with label permanent. Show all posts

Wednesday, July 25, 2012

HOW TO: Fix inverted image on Skype

You have a webcam that doesn't work in Skype but it works fine other apps like Cheese?

This is problem to a lot of people, i have two webcams and both are not working good with Skype.

To fix this you need to have libv4l-0 installed and load it with Skype.

If you had install Ubuntu Restricted Areas you should have installed libv4l-0,

If not then go to terminal(Ctrl + Alt + t) and type

                                              sudo apt-get install libv4l-0


When it asks for the password,please enter your password for the account from which you are logged in. Or if you you are using a standard account then you may need to do this from the Administrative account i.e the account through which Ubuntu was installed. 

This will install libv4l-0. Now,
Download Skype 2.2.0.35.
(NOTE:Skype 4.x.x cannot be used with this work around. Thus,if you want a proper video you are stuck with Skype 2.2.0.35)
For 64 bit click here
For 32 bit click here

After downloading them,install it by double clicking on it. This should start Ubuntu Software center and you can install it.

Now in the terminal,type this
                                                sudo locate libv4l 

You will,see a long list appear. You should lookout for the line which ends with

                                                "v4l1compact.so" 

Output of the command "sudo locate libv4l"


Copy down the path that you get from the output. 
The path that I got was "/usr/lib/1386-linux-gnu/libv4l/v4l1compact.so"

This path maybe different for different versions of Ubuntu and also depends on whether the installed version of Ubuntu is 64 bit or 32 bit.

Now,in the terminal type

                               sudo mv /usr/bin/skype /usr/bin/skype.real 

Then enter this command

                             sudo gedit /usr/bin/skype 

This will open a text editor. The document would be blank.

Now carefully enter this in the text document.


#!/bin/bash
LD_PRELOAD=the path that you got before skype.real
 
 
 For example, the lines that I would enter in my text document would be

 #!/bin/bash
LD_PRELOAD=/usr/lib/1386-linux-gnu/libv4l/v4l1compact.so skype.real

Save the document. Finally, enter this command

                                         sudo chmod +x /usr/bin/skype

After,entering this command,close the terminal and start skype normally. Your video should appear normal and have fun Skyping :)


---
Get 2.5 GB free space on Dropbox. Signup  using :

http://db.tt/CtxY1n59