Webcam?
-
@Boken-Lin I did:
opkg list
and I didn't see it. I also ran:
opkg install libv4l
and that went through to install v1.6.2-1. I am just pointing this out to clear up that your shipped firmware doesn't have it installed by default. Might there be some other dependencies missing for us non onion inc. users?
-
@Theodore-Borromeo Hmm, i thought v4l was installed by default when you try to install the mjpeg_streamer package. After installing libv4l, though, is the Omega able to detect your ps2eye?
-
@Boken-Lin No. it seems that mjpg-streamer, though in the current firmware, doesn't do anything to check or ensure that libv4l is installed (I think that this may be a runtime check). And no, the ps2eye toy camera (either of them) are still not recognized. No /dev/video* is being created either, lsusb shows only a connection to a usb device and dmesg shows the same. . .
-
@Andrew-Nixon try:
mjpg_streamer -i "input_uvc.so -d /dev/video0" -o "output_http.so"
As, according to: https://github.com/foosel/OctoPrint/wiki/Setup-on-a-Raspberry-Pi-running-Raspbian
they "-y" flag you were using is forcing YUV mode, which requires massive compute cycles for a camera (ps2eyetoy) that should just support jpeg encoding out of the box.let me know how that goes, and then pass on to me the setup you have so that I may duplicate.
-
@Boken-Lin I think that latest firmware doesn't have, at least:
libv4l
kmod-video-gspca-ov519 <-- had to use the opkg "--force-depends" due to kernel mismatchinstalled, which means that the ps2eyetoy shouldn't work out of the box, right?
info from:
https://wiki.openwrt.org/doc/howto/usb.video
-
@Theodore-Borromeo Logitech HD Webcam C310 tested and enumerates and produces a /dev/video0 node.
The ps2eyetoy doesn't seem to even be recognized past being plugged in. The omega just states a full speed device was detected. Could there be a difference between models you are using and the ones I am using? I know that Logitech made some models, while Namtai made others. Perhaps I have the Namtai, and you have the logitech?
-
@Theodore-Borromeo I'm not sure if this is the source of the problem. But I just realized that the webcam we have is a PS3 eye (not a ps2 eye). And it was able to be detected by the Omega with the firmware. I have just ordered a ps2 eye so we can play around with it and figure out the problem.
-
@Theodore-Borromeo I didn't look up that "-y" flag. Maybe my web cam would have worked without that. Oh well, I returned it earlier today. I have ordered a PS3 cam from ebay so I will check that when it comes. It is called a "Sony PS3 Playstation USB Move Motion Eye Gaming Camera Microphone Zoom Lens" Not sure if that is the same one that @Boken-Lin mentioned that they used.
-
@Chris-Ward This is the one we had working: http://www.amazon.com/gp/product/B000VTQ3LU?keywords=ps3 eye&qid=1448319414&ref_=sr_1_2&sr=8-2. And this is what we've ordered to try out/debug: http://www.amazon.com/Playstation-Eye-Camera-Stand-Alone-2/dp/B000B69ECS/ref=sr_1_1?ie=UTF8&qid=1448319444&sr=8-1&keywords=ps2+eye. Not sure why the Ps3 eye is cheaper than the ps2 eye.
-
I can confirm that the Logitech B525 works correctly. At first it had a 15 FPS and fairly slow refresh. Removed the -y flag which seemed to force it to YUV mode and then it ran on MJPEG and was really good. Even swapped the res to 1280x720 and was still excellent refresh speed but not quite as smooth as 640x480.
mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 1280x720 " -o "output_http.so"
-
@Boken-Lin I have ordered the PS3 one that looks like the first link. Got from ebay for $6. Won't get it for several days. Should have just used amazon. I did have someone tell me that the PS3 ones were probably purchased by the crate from China, and now being sold individually for a dollar or two profit each.
-
@Boken-Lin said:
@Theodore-Borromeo I'm not sure if this is the source of the problem. But I just realized that the webcam we have is a PS3 eye (not a ps2 eye). And it was able to be detected by the Omega with the firmware. I have just ordered a ps2 eye so we can play around with it and figure out the problem.
Buahahaha!!! I went and bought two ps2eyes based on the previous info, even though I already had two ps3eyes already! ( what can I say, GameStop is having a fire sale on them and they are the cheapest CV cams when you do the IR filter removal hack.)
-
This post is deleted!
-
@Boken-Lin Just received my new PS3 cam and having the same problem like Theodore with: init_VideoIn failed
-
@Uwe-Press if you do a
ls
in/dev
, i'm guessing the camera isn't detected?
-
@Boken-Lin correct Cam is not detected
-
@Uwe-Press Yeah, that seems to be an issue with the playstation cameras. I'm trying to figure out what the issue is. Seems to be a missing a kernel driver.
-
@Boken-Lin I got my ps3 eye today. Tried it out. No workie. There is no device created in the /dev/ folder. However, when it is plugged in I get an item in dmesg:
usb 1-1: new high-speed USB device number 2 using ehci-platform
and again when I disconnect
usb 1-1: USB disconnect, device number 2
-
The good news is that a Logitech C270 works. I got it at Microcenter openbox for $15
[ 1849.270000] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825) [ 1849.380000] input: UVC Camera (046d:0825) as /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/input/input0 root@Omega-030D:/# ls /dev/v* /dev/video0
-
Using putty to ssh into the omega so once i get a external power supply shoul be able to make a little stream wildlife camera (maybe for the sheep out the back if the wifi signal goes that far). Any suggestions, maybe just a cheap powerbank ? A solar thing would be good.