Webcam upside down when using skype

Solution 1:

This is a link to a blog that appears to have solved the upside-down webcam issue on ubuntu 12.10.

First you need to make you have the libv4l-0 package installed.

To install libv4l-0 open a terminal and type:

sudo apt-get install libv4l-0

If your system is 64-bit then you should specify the i386 architecture, as this is what seems to work with Skype:

sudo apt-get install libv4l-0:i386

Step 2 is to edit skype.desktop so you can pre-load libv4l-0 with skype so type in terminal: sudo gedit /usr/share/applications/skype.desktop

In this file find Exec=skype and replace it with with Exec=env LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype

Solution 2:

On Ubuntu 14.04 LTS, this fix does not work with my Asus PC. The output of above command is:

$ LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Eventually, I got the command working from the README.doc in /usr/share/doc It was:

LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l2convert.so skype

With an installation of the package:

sudo apt-get install libv4l-0:i386

Happy :-)