Tuesday, July 12, 2011

Skype - up/down camera problem on Debian Squeeze 32 bit

Here are for a curious problem with camera on skype.
Differently of cheese(all it's ok) image camera output on skype is rendered up/down.

So this solution works with my Debian Squeeze 32 bit.....
First of all those libraries should be installed....
- libv4l-0(that contains v4l1compat.so)
and

If you haven't them.... give...
apt-get install libv4l-0
apt-get install libqt3-mt

After you can try in the same shell to export those variables

export QT_PLUGIN_PATH=/usr/lib/qt3/plugins
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

so you can try to launch skype and assure that now webcam output is ok.....

If so.... now you only do a simple script to wrap the variables export before launching skype....
One way....
cp /usr/bin/skype /usr/bin/skype_appl
echo "" > /usr/bin/skype
(to empty /usr/bin/skype file)
and after edit /usr/bin/skype in way of it contains those lines:
#!/bin/bash
export QT_PLUGIN_PATH=/usr/lib/qt3/plugins
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
skype_appl&


Now launch from terminal skype or add a new launcher on Desktop/Toolbar
and all it's ok!!!


Bye

No comments:

Post a Comment