You are not logged in.

#1 2015-07-14 16:15:55

anopows
Member
Registered: 2015-07-14
Posts: 2

Setting up Webcam correctly (so that Chromium finds it)

I plan to use my Android phone as my webcam.  So far I installed the IP Webcam app on Android which gives me an MJPEG URL. Then I used this tool: github.com/bluezio/ipwebcam-gst/ to pipe the video feed into /dev/video1 (or at least it seems to do that) which works (for example the Webcam App Kamoso recognizes it).

Unfortunately I want to use my webcam in the Chromium browser, which does not recognizes my setup (only my built-in camera).
Do you know what I could change so Chromium would recognize my camera (restarted computer, checked all settings in chromium, still doesn't work).

Any help is appreciated.

Offline

#2 2015-07-15 14:03:02

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Setting up Webcam correctly (so that Chromium finds it)

What have you tried to change the camera? Did you click on the camera icon and try to select the other cam?

Offline

#3 2015-07-16 07:16:17

anopows
Member
Registered: 2015-07-14
Posts: 2

Re: Setting up Webcam correctly (so that Chromium finds it)

Yes tried it but only the other camera is listed: http://i.imgur.com/UzsPoXl.png

Could it be that Chrome does not recognize because the format that Gstreamer outputs is not supported?

The gstreamer command the script uses:

gst-launch-0.10 -vt --gst-plugin-spew --gst-debug=souphttpsrc:0,videoflip:0,ffmpegcolorspace:0,v4l2sink:0,pulse:0 souphttpsrc location=http://127.0.0.1:8080/videofeed do-timestamp=true is-live=true '!' multipartdemux '!' jpegdec '!' ffmpegcolorspace '!' 'video/x-raw-yuv, format=(fourcc)YV12' '!' videoflip method=none '!' videorate '!' 'video/x-raw-yuv, framerate=25/1' '!' v4l2sink device=/dev/video1 souphttpsrc location=http://127.0.0.1:8080/audio.wav do-timestamp=true is-live=true '!' wavparse '!' audioconvert '!' volume volume=3 '!' rglimiter '!' pulsesink device=null sync=false

Offline

Board footer

Powered by FluxBB