Webcam?
-
@Theodore-Borromeo can you do a
ls
in the/dev
directory to see if the camera is correctly detected?
-
@Boken-Lin I see no video0 in /dev, correct. How would I remedy this? Can I, perhaps, reinstall mjpg_streamer from opkg? Perhaps in baking it into the firmware, something didn't run correctly to properly set this up?
-
@Boken-Lin Do you all have a step by step setup for this yet? I am curious as to why libv4l isn't installed (as everywhere seems to list it as a dependency along with some others). It'd be easier to debug at an earlier step, as I have no way to see where it is I'm failing. I'm using the pre-installed mjpg-streamer package you all provided on firmware v220. I don't see the camera being recognized as a camera, nor creating a /dev/video0 node. . .
Thus far, the ps2eye cam is not working 'out of the box'
Is it because I am using a mini dock (and that doesn't provide enough power to fully run the cam?)
-
@Theodore-Borromeo I think libv4l is installed. But for some reason the driver for the webcam doesn't seem to recognize the webcam. I'm looking into it right now to figure out what the issue is.
-
@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