Webcam?



  • Has anyone figured out how to run a webcam off of the Onion? It looks like the packages that would be needed from opkg are not yet supported.


  • administrators

    @Shaun-Gehring Which package have you tried installing? Try setting up mjpeg_streamer. It should be compatible with all webcams that can output mjpeg format.



  • It will not allow it.

    root@Omega:~# opkg install mjpeg-streamer
    Unknown package 'mjpeg-streamer'.
    Collected errors:

    • opkg_install_cmd: Cannot install package mjpeg-streamer.


  • Never mind, after updating opkg i found this:

    mjpg-streamer - r182-7 - Streaming application for Linux-UVC compatible webcams


  • administrators



  • So im following this, what next Shaun Gehring, this sounds like an interesting project.



  • @Andrew-Nixon I am paused a little because my webcam does not seem to be linux compatible. I need to find a new one. I am looking to make a simple Dropcam like project with X and Y servo control.


  • administrators

    @Shaun-Gehring The webcam we thought worked extremely well with mjpg-streamer is the Logitech C920. Although if you are looking for a dropcam with X and Y servo control, you should just get our Camera Kit. It even comes with a camera mount that's connected to servo motors.



  • @Boken-Lin I have a spare ps3eye camera that should be supported with kernels > 2.6.29 as per: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fbb4c6d20f29f2b10daad31cc6238d91f93d70d4

    Benefit being that these are super cheap and plentiful used at a local gamestop :P

    Will this work 'out of the box' with omega? I ask only as I'd like to know before I try tonight. The ps3eye is usb3.0, and I forgot to check whether omega supports usb3.0 or not. . .


  • administrators

    @Theodore-Borromeo No, the Omega does not support USB3. I do have a play station camera (not sure which version, but it's USB 2.0) that worked out of the box with the Omega. So as long as your ps3eye is backward compatible with USB 2.0, it should work.



  • @Boken-Lin awesome. just paid around 6 bucks for two ps2 eye toys from GameStop :)

    I'm wondering if there is enough power to run in greyscale in 640x480 on both cameras to produce simple depth maps from a stereo camera setup. I'd need a hub to get both cameras connected. i don't think it's possible due to memory constraints, but it'd be interesting to see if it's possible to have two streams at the same time.



  • @Shaun-Gehring
    We've included the kmod-video-core, kmod-video-uvc and mjpg-streamer packages into the firmware. Grab build 212 or any after that.


  • administrators

    @Theodore-Borromeo Damn, that's some cheap webcam!

    I've never tried playing around with depth map. But please do let us know how it goes!



  • Ive got an eye toy , so im not that command line literate, jsutplayed round with a Rpi a little, what should I do to get this going ? Thanks total novice, I can get the little cat to do stuff on scratch !


  • administrators

    @Andrew-Nixon can you describe a bit more about what you want to achieve? Do you want to use omega to stream video from your ps eye?



  • With the latest firmware update, looks like things are working with the Logitech c310 webcam ($22.00 Best Buy) perfectly!



  • So, with no real video output from the omega, where are you viewing this stream? Are you exposing it somewhere that you can stream from another computer? You have an example?


  • administrators

    @Chris-Ward Once you have MJPEG Streamer up and running on your Omega, you can stream the video directly from your browser by navigating to http://192.168.4.1:8080/?action=stream. You might need to change the IP Address of your Omega.



  • Ah. Ok. I haven't looked at GStreamer yet, and didn't realize that it set up it's own server. I need to find a cheap webcam.



  • Microsoft HD3000 works flawlessly with mjpg-streamer



  • Ok, I found a cheap webcam. First time playing with a webcam. I found this page: http://h-wrt.com/en/doc/webcam and found that I did have a UVC cam at /dev/video0. I used this command:
    mjpg_streamer -i "input_uvc.so -d /dev/video0 -y" -o "output_http.so" . This seemed to work. I went to the omega in the browser, and eventually saw an image. It takes 30 seconds to see a snapshot, or a frame of video. Is that what you guys are seeing too? Is that an issue with my cheap webcam? My setup?


Log in to reply