Webcam?
-
@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.
-
@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 !
-
@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?
-
@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?
-
Hi @Chris-Ward, it is very likely a problem with your camera. Most of the camera we've tested with a pretty fast. It usually is instantaneous.
-
Bummer. Oh well, it was a $6 gamble.
-
Thanks all, it worked on the $5 NZD camera Igot from Alliexpress, awesome!
-
Ps2 Eye toy didnt work though.
-
@Andrew-Nixon please let me know which command you have used that your camera is now working.
-
Used the command
mjpg_streamer -i "input_uvc.so -d /dev/video0 -y" -o "output_http.so"
As already posted on here, then viewed the stream directly from the browser (as posted here also) through
http://192.168.3.1:8080/?action=stream
. Mines very slow though.
-
@Andrew-Nixon Yeah, the reason why it's slow could be due to the camera. I'm curious why you weren't able to get PS2 eye working though. The very first camera we had working on the Omega was a PS2 eye, and the streaming speed is pretty much instantaneous.
-
@Boken-Lin Using PS2 eyetoy (and checked on both of them as I bought two) with the command:
mjpg_streamer -i "input_uvc.so -d /dev/video0 -y" -o "output_http.so"
MJPG Streamer Version: svn rev: Unversioned directory
and get:i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 640 x 480 i: Frames Per Second.: 15 i: Format............: YUYV i: JPEG Quality......: 80 i: TV-Norm...........: DEFAULT ERROR opening V4L interface: No such file or directory Init v4L2 failed !! exit fatal i: init_VideoIn failed
What's going on?
-
@Theodore-Borromeo Is there a reason that you uare using YUYV format instead of mjpeg? I think PS2 eye should support mjpeg by default. Can you try sending input in mjpeg format?
-
@Boken-Lin Didn't put anything in there that would have made it choose one over the other, though I ran it again like so:
mjpg_streamer -i "input_uvc.so -r 640x480" -o "output_http.so -p 8080"
and got:
MJPG Streamer Version: svn rev: Unversioned directory i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 640 x 480 i: Frames Per Second.: not limited i: Format............: JPEG i: TV-Norm...........: DEFAULT ERROR opening V4L interface: No such file or directory Init v4L2 failed !! exit fatal i: init_VideoIn failed
And I'm using the latest firmware version (220 I think, just oupgraded)