Menu

LinuxSupport

Anonymous PhobosK

Introduction

Here are discussed the Linux specifics about WebcamStudio.

Details

  • GStreamer, ffmpeg and libav are available from the package manager of most of the contemporary distributions.
  • The virtual webcam module is the thing that is a little harder to deploy.
    • WebcamStudio is using a forked module of v4l2loopback (previously vloopback) renamed to webcamstudio.
    • The problem with the recompiling the module for each kernel is fixed for versions 0.60+ on Debian like systems, since it uses DKMS
  • The original v4l2loopback kernel module could be used since versions 0.60+ on Debian like systems
  • On some distributions GStreamer works much better and faster than ffmpeg/libav on the same system (for example this is the case with Gentoo). This should be further investigated.

Related

Wiki: WebcamStudio

Discussion

  • Anonymous

    Anonymous - 2011-12-22

    Originally posted by: copyl...@gmail.com

    Installation notes:

    On Debian Wheezy, I had to install some dependencies first:

    aptitude install libdbus-java libjna-java linux-headers-3.1.0-1-amd64 
    

    Then:

    dpkg -i webcamstudio_0.57beta4_all.deb 
    

    This produced the following output:

    Restating the webcamstudio service to update the module
    Stopping WebcamStudio kernel module: webcamstudio.
    Starting WebcamStudio kernel module: webcamstudio
    Building webcamstudio driver... 
    make -C /lib/modules/`uname -r`/build M=/tmp/webcamstudio-src modules 
    make1: Entering directory `/usr/src/linux-headers-3.1.0-1-amd64'
    
    > CC M /tmp/webcamstudio-src/webcamstudio.o 
    
    /tmp/webcamstudio-src/webcamstudio.c: In function ‘webcamstudio_write’: /tmp/webcamstudio-src/webcamstudio.c:1350:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat] /tmp/webcamstudio-src/webcamstudio.c:1362:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat] 
    
    > Building modules, stage 2. MODPOST 1 modules CC /tmp/webcamstudio-src/webcamstudio.mod.o LD M
     /tmp/webcamstudio-src/webcamstudio.ko 
    
    make1: Leaving directory `/usr/src/linux-headers-3.1.0-1-amd64' 
    make -C /lib/modules/`uname -r`/build M=/tmp/webcamstudio-src modules_install 
    make1: Entering directory `/usr/src/linux-headers-3.1.0-1-amd64'
    
    > INSTALL /tmp/webcamstudio-src/webcamstudio.ko DEPMOD 3.1.0-1-amd64 
    
    make1: Leaving directory `/usr/src/linux-headers-3.1.0-1-amd64' 
    depmod -ae WARNING: -e needs -E or -F . Processing triggers for gnome-menus ... Processing triggers for desktop-file-utils ... 
    

    There are now WebcamStudio and WebcamStudio Console menu items available (but neither actually seem to start/work). Far as I've gotten. Perhaps it helps someone.

     

    Last edit: PhobosK 2015-03-15
  • Anonymous

    Anonymous - 2011-12-24

    Originally posted by: copyl...@gmail.com

    Solved: webcamstudio looks for sun java, but I use openjdk. This allows it to run:

    ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun 
    
     

    Last edit: PhobosK 2015-03-15

Log in to post a comment.