I'm running 10.10, had to reinstall because of a bad hard drive. Now skype refuses to see my video (cheese works fine). I'm using a capture card and it sees that (video1). It used to work just fine (old version?).
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype "$@" starts up skype but still no video.
I've got the same error. before I used ubuntu 10.10 ans with this line it worked. cheese working with no problem . and this bug exist form 9.04 . no body care .
As seen on Ubuntu forums, and worked for me just now...
This command will work only if you have 32-bit Oneiric installed. For 64-bit you must first:
sudo apt-get install libv4l-0:i386
...in order to obtain required 32-bit version of v4l1compat.so - then it works.
Pre-loading the 64-bit version does not work - you need the 32-bit version.
I have no idea how to edit the Startup Applications or the Main Menu item for Skype in Ubuntu (I am using 11.10 64bit version), but there is simply workaround.
Skype entry in the Startup Applications or the Main Menu points to binary file /usr/bin/skype, so it is enough to modify this binary file in order to add needed startup parameter:
(You can use your version of LD_PRELOAD parameter: LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1comp
To do this perform following steps:
1. Rename original binary skype file:
sudo mv /usr/bin/skype /usr/bin/oldskype
2. Write following bash script and store it in file named skype:
3. Add executive property to newly created file:
chmod +x skype
4. Copy script skype to /usr/bin
sudo cp skype /usr/bin
That's all :-), next when you run skype from Main Menu or just from console by typing skype the LD_PRELOAD parameter will be automatically added and video will be avialable.