On 04/28/2009 10:19 AM, Florent Cayré wrote:
Hello,
I can no more reproduce the situation where the image is upside down in ekiga and not in skype, but it occurred, and it is really weird indeed (it is now always upside-down).
Ok, always upside down is good, that can be fixed :)
As a workaround, install libv4l-0.5.97 from src, get the tarbal here: http://people.atrpms.net/~hdegoede/libv4l-0.5.97.tar.gz
First make sure you have *no* other versions of libv4l installed, do: rm -fr /usr/lib/libv4l* /usr/local/lib/libv4l*
Then untar the tarbal and do a simple make, make install
Then do: export LIBV4LCONTROL_FLAGS=3
And then run skype like this: LD_PRELOAD=/usr/local/lib/libv4l/v4l2convert.so skype
Now your image should be the right way up.
I would like to modify libv4l to recognize your model laptop and do this automatically (with you needing to set the flags). For that I need to have the DMI info from your laptop, so I can put this inside libv4l, can you please run the following command: dmidecode > log
And send me the resulting log file ?
Thanks,
Hans
Maybe skype uses the driver in a odd
way, like using a low level API for getting raw video data and making a part of the decoding itself? I really do not know and do not have enough v4l knowledge to figure it out... If skype does so, there is perhaps no clean solution at all. But it would be nice to try a libv4l software solution in this case, because I think the reason why the image is upside down is that ASUS just integrated the webcam upside down, so it may be found on another laptop in the right direction... What do you think?
Regards, Florent.
2009/4/28 Hans de Goede <j.w.r.degoede@hhs.nl mailto:j.w.r.degoede@hhs.nl>
On 04/28/2009 12:38 AM, Florent Cayré wrote: Hello Hans, thanks for you answer. My webcam is the ASUS X5AV laptop integrated webcam. Here is the beginning of the 'lsusb -v -d 04f2:b106' command : Bus 008 Device 004: ID 04f2:b106 Chicony Electronics Co., Ltd Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize0 64 idVendor 0x04f2 Chicony Electronics Co., Ltd idProduct 0xb106 bcdDevice 18.07 iManufacturer 2 Chicony Electronics Co., Ltd iProduct 1 CNF7246 iSerial 0 bNumConfigurations 1 ... I am already using libv4l-0.5.8-1 (ubuntu jaunty) and tried 'LD_PRELOAD=/usr/local/lib/libv4l/v4l2convert.so skype', but it does not correct skype video vertical inversion. In Jaunty, I also have a vertically flipped image in ekiga. Ok, So that is a uvc camera. In your original mail you wrote that the image was no longer upside down in ekiga when you updated the kernel driver to the hg version, but still upside down in skype, did I understand that correctly? Maybe there is an option in ekiga somewhere to correct and upside down image in software and you enabled this option ? Note that libv4l can fix the upside down image in software, but before going there I would first like to figure out why its upside down in some apps only thats weird. Now if it is always upside down, things are easy to fix. Regards, Hans
-- Ce message est la propriété de SecondWeb et peut contenir des informations confidentielles. Si vous n'êtes pas le destinataire désigné, nous vous remercions de bien vouloir nous en aviser immédiatement et de nous retourner ce message ou de le détruire, sans faire un quelconque usage de son contenu, ni le communiquer ou le diffuser, ni en prendre copie, électronique ou non.
This message is the property of SecondWeb and may contain confidential information. If you are not the designated recipient, please notify us immediately and return the message to us or destroy it, without making any use whatsoever of the contents thereof. Furthermore you should not forward or copy the message by electronic or other means.