Thursday, October 20, 2011

Creative VFO260 works in Skype

To get my Creative VFO260 webcam to work with skype I have to run it with the "v4l2convert.so" shared object loaded:
env LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
you can create a launcher with that as the "command" so you won't have to run from terminal every time.

MOAR from the wikipedia:

The dynamic linker can be influenced into modifying its behavior during either the program's execution or the program's linking. Examples of this can be seen in the run-time linker manual pages for various Unix-like systems[1][2][3][4][5]. A typical modification of this behavior is the use of the LD_LIBRARY_PATH and LD_PRELOAD environment variables. These variables adjust the runtime linking process by searching for shared libraries at alternative locations and by forcefully loading and linking libraries that would otherwise not be loaded and linked, respectively.

I do not know what kind of code is in the shared object that we are loading, but it works for me :)

2 comments:

  1. How do I get the same camera to work in Ubuntu 13?

    ReplyDelete
    Replies
    1. I don't know :(
      Sorry I haven't used Ubuntu since 10.10

      Delete