webcam flipped aka v4l1compat.so troubles

7,528

Solution 1

I found a fix for this problem:

LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype

Did the trick for my Ubuntu 14.04 64bit. If you haven't got the 32bit library install it by:

sudo apt-get install libv4l-dev

I hope that works for you too.

Regards pecuna

Solution 2

You have to install 32 bit (i386) version of libv4l-0:

sudo apt-get install -y libv4l-0:i386

then start Skype with this command:

LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so

or modify the Exec command in /usr/share/applications/skype.desktop

Share:
7,528

Related videos on Youtube

ski
Author by

ski

Updated on September 18, 2022

Comments

  • ski
    ski over 1 year

    So since I installed 14.04 an old issue re-arises: In cheese my webcam works fine, in skype its upside down. Before you could fix that by:

    LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
    

    but now you can't, as I understand, because you end up here:

    /usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
    

    which results in:

    ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    

    Now it was suggested to use the 32bit version in

    /usr/lib/i386-linux-gnu/libv4l/v4l1compat.so
    

    but there is only the one version in x86_64, I searched my whole system, nothing... How is this fixable? Any help highly appreciated!

  • ski
    ski about 10 years
    Thank you very much for your reply, I installed libv4l-dev but there is still no folder libv4l in /usr/lib/i386-linux-gnu/ how did you make it appear?
  • pecuna
    pecuna about 10 years
    I don't know. I just install libv4l-dev and nothing else. I should have done something before that to have it :(
  • muru
    muru over 9 years
    This is the same as askubuntu.com/a/463443/158442.
  • MadMike
    MadMike over 9 years
    @muru The other answer says "libv4l-dev" whereas this one says "libv4l-0:i386". Could this be the missing piece to solve the 32-bit problem?
  • muru
    muru over 9 years
    @MadMike ah, yes. You're right: packages.ubuntu.com/… The poster of the accepted answer probably already had it installed.