I was in this situation too and after lots of hours and headcache, thanks to Moreno we have find a way “fast & painless” to solve the problem.
First step, you need to have v4l package and the library libv4l-wrapper installed (to let your OS to use the webcam) plus other packages necessary, to do this we give into a terminal this command line:
Mandriva 32 bit
Code: Select all
urpmi v4l-utils libv4l-wrappers
Code: Select all
urpmi v4l-utils libv4l0 libv4l-wrappers lib64v4l0 lib64v4l-wrappers
Code: Select all
urpmi v4l2ucp v4l-utils-qt4
Once you have the packages you only need to launch your application with this string (the example is referred to Skype, but you just need to change the command with the one of your application):
Code: Select all
export LIBV4LCONTROL_FLAGS=3 skype
Code: Select all
export LIBV4LCONTROL_FLAGS=3 && LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
Code: Select all
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
- you can edit the mandriva menu of your user, adding the needed string before the word skype
- otherwise you could edit by root, so it'll work for all users, the mandriva-skype.desktop file
Code: Select all
# vi /usr/share/applications/mandriva-skype.desktop
Code: Select all
[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=export LIBV4LCONTROL_FLAGS=3 && LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
Icon=skype.png
Terminal=false
Type=Application
Categories=Network;X-MandrivaLinux-Internet-InstantMessaging;
X-Desktop-File-Install-Version=0.15
Code: Select all
Exec=skype
Code: Select all
Exec=export LIBV4LCONTROL_FLAGS=3 skype
Code: Select all
Exec=export LIBV4LCONTROL_FLAGS=3 && LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
Italiano
Capita alle volte di trovarsi con l'immagine della webcam ribaltata e anche installando il pannello di controllo di Video 4 Linux (v4l2ucp) non troviamo l'opzione "vertical flip" quindi, ci troviamo nella situazione di non poter capovolgere l'immagine e di conseguenza di non poter utilizzare la webcam per effettuare videochiamate o semplicemente registrare video; che fare quindi?
Leggi tutto (Guida in Italiano)
Credits: ZeRo_CoOl