Menu

#103 Webcamstudio on chrome

Fixed
nobody
None
Medium
Defect
2014-03-09
2014-01-13
Anonymous
No

Originally created by: joanguis...@gmail.com
Originally owned by: soylent...@gmail.com

What steps will reproduce the problem?
1. run webcamstudio
2. run chrome
3. Go to: http://www.testwebcam.com/

What is the expected output?
Flash player should appear and ask you to give persmision to access your camera, which should be WCStudio camera.

What do you see instead?
WCStudio camera is not found

The Operating system you are using (Linux, Windows etc)?
Ubuntu 13.10

What version ofWebcamStudioare you using?
0.57 beta 2

What version of Java are you using?
java-6-sun

Discussion

  • Anonymous

    Anonymous - 2014-01-14

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

    Hi joanguisado,
    sorry but WS 0.5x is no longer maintained.
    You can try the SkyCam feature in WebcaStudio 0.6x to have flash compatibility or if you want to use WS 0.5x you can try the solution well explained by willyaynard in this past issue:

    https://code.google.com/p/webcamstudio/issues/detail?id=81&can=1

    " What I needed to do was basically the following (this should not be copy-pasted 1:1 as it may need personal adjustments and some required software may need to be installed first):

    << Install v4l2loopback module >>
    su
    git clone https://github.com/umlaeute/v4l2loopback.git
    cd v4l2loopback
    make
    sudo make install
    sudo modeprobe v4l2loopback

    << Run WS 0.5x and start a source >>
    webcamstudio

    << Open a Terminal and type the gst-launch command line >>
    gst-launch-0.10 v4l2src device=/dev/video0 ! v4l2sink device=/dev/video1

    << Open Chrome and use the /dev/video1 device >>
    google-chrome

    With this WS can be used on Linux Mint 15 (64-bit) with the latest Chrome Browser."

    Basically you have to stream the Webcamstudio Module to another virtual webcam instance (v4l2loopback) with gst-launch in a terminal and then use the last device with Chrome.
    Sometimes this re-streaming could flip horizontally your output, but you can use WS 0.5x filters to adjust the image.
    Hope this helps

    karl

     

    Related

    Tickets: #81

  • Anonymous

    Anonymous - 2014-01-14

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

    Thank Karl for your answer. It was very quick and most important...It almost worked. I'm having problems when executing this commnad:

    $> gst-launch-0.10 v4l2src device=/dev/video0 ! v4l2sink device=/dev/video1

    I got this error:

    Setting pipeline to PAUSED ...
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Device '/dev/video1' is not a output device.

    I don't know if it's due to the difference in the distributions Ubuntu and Mint but I don't think so since Mint is based on Ubuntu. Maybe you have some idea of what's happening.

    Thanks again.

    joan

     
  • Anonymous

    Anonymous - 2014-01-15

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

    Are you sure to use the correct /dev/videoX as input and output?
    Try this command to have infos about video device in your system and change the command accordling to your configuration (v4l2-ctl have to be installed):

    v4l2-ctl --list-devices

    karl.

     
  • Anonymous

    Anonymous - 2014-01-15

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

    For a better explanation, let me show you the outputs of the commands:

    $>v4l2-ctl --list-devices
    Dummy video device (0x0000) (v4l2loopback:0):
        /dev/video1

    WCStudio video device (0x0000) (webcamstudio:0):
        /dev/video0
    $> gst-launch-0.10 v4l2src device=/dev/video0 ! v4l2sink device=/dev/video1
    Setting pipeline to PAUSED ...
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Device '/dev/video1' is not a output device.
    Additional debug info:
    v4l2_calls.c(528): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
    Capabilities: 0x5000001
    Setting pipeline to NULL ...
    Freeing pipeline ...

    Thanks,

    j

     
  • Anonymous

    Anonymous - 2014-01-15

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

    Ok,
    seems you have to switch video0 with video1 like this:

    gst-launch-0.10 v4l2src device=/dev/video1 ! v4l2sink device=/dev/video0

    because we have to stream webcamstudio video device video0 (used as output) to the new installed v4l2loopback (Dummy video device) video1 (input/output).
    Once the gst-launch pipe is running try chrome.

    Thanks,
    karl

     

    Last edit: Anonymous 2016-03-29
  • Anonymous

    Anonymous - 2014-01-16

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

    I was able to make it work thanks to you help.

    Thanks a lot.

     
  • Anonymous

    Anonymous - 2014-03-09

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

    I'll handle this one.

    Owner: soylent...@gmail.com
    Status: Accepted

     
  • Anonymous

    Anonymous - 2014-03-09

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

    WebcamStudio 0.5x no longer maintained.

    Status: Fixed

     

Log in to post a comment.