Ubuntu : How to Upside-Down Image From ASUS Camera

Ubuntu : How to Upside-Down Image From ASUS Camera

I am using ASUS K40In. I have a problem in Linux and Windows with ASUS camera. The image from this ASUS camera is upside-down. I can solve this problem in Windows with update the driver. But, I can not get the new driver to resolve this problem in Linux. I use Ubuntu 10.04 as my favorite Linux OS. This is a method how to resolve upside-down image from ASUS camera in Linux.

sudo add-apt-repository ppa:libv4l
sudo aptitude update && sudo aptitude install gtk-v4l libv4l-0

If you using Ubuntu Linux 32 bit :

sudo su
echo -e '#!/bin/sh\nLD_PRELOAD=/usr/lib/libv4l/v4l1compat.so $1\nexit 0' > /bin/webcamWrapper
chmod +x /bin/webcamWrapper
exit

If you use Ubuntu 32 bit, you can now run programs like this to fix webcam upside-down image:

webcamWrapper skype
webcamWrapper amsn
webcamWrapper cheese

If Ubuntu Linux 64 bit:

sudo su
echo -e '#!/bin/sh\nLD_PRELOAD=/usr/lib/libv4l/v4l1compat.so $1\nexit 0' > /bin/webcamWrapper
echo -e '#!/bin/sh\nLD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so $1\nexit 0' > /bin/webcamWrapper32
chmod +x /bin/webcamWrapper
chmod +x /bin/webcamWrapper32
exit

If you use Ubuntu 64 bit, you can now run programs like this to fix webcam upside-down image:

webcamWrapper32 skype
webcamWrapper32 cheese

This method solve my upside-down image from Asus camera. Are you have any of method to solve this upside-down image from Asus camera ?

Source :
http://ubuntuforums.org/showpost.php?p=8925031&postcount=225

 

totosugito

Hi, This is my notes when I try something. Maybe, this is NOT THE BEST SOLUTION for your problems. If you have other method or idea that better with my post, please share in this blog. Thank for visiting my site.

More Posts - Website

Leave a Reply