What can I do to get a webcam running?
-
So I bought this camera Fosmon USB 6 LED 12.0 Megapixel USB PC Webcam Web Camera + Night Vision
And because it was cheap I wanted to make sure it had enough light for 100' so I also got this CMVision IR56 - 56 LED Indoor/Outdoor Long Range 100ft IR Illuminator
I shut down the webcam server unhooked my Logitech camera wich works and plugged in the new camera booted up and try to start the stream using the webcam app. No dice so I thought lets do it by cmd
So I tried this
mjpg_streamer -i "/usr/lib/input_uvc.s -d /dev/video0" -o "output_http.so -p 8090"
But I get this
root@Webcam Server:~# mjpg_streamer -i "/usr/lib/input_uvc.s -d /dev/video0" -o "output_http.so -p 8090" MJPG Streamer Version: svn rev: Unversioned directory ERROR: could not find input plugin Perhaps you want to adjust the search path with: # export LD_LIBRARY_PATH=/path/to/plugin/folder dlopen: File not found root@Webcam Server:~#
But when I check by doing
ls /usr/lib
The input file is in there so why can I not get this working?
-
@Chris-McCaslin said:
The input file is in there so why can I not get this working?
I would say the kernel not recognizes your new cam. No driver, no cam working?!
-
I figured as much but had no idea what driver I would have to install for this cam.
-
Linux works a bit diff rent from windows. If the device is recognized by kernel it works without driver installation. If not, you have to choose a newer kernel what means you have to compile your OS new, with the kernel who recognizes your cam.
uname -a
shows you the kernel-version : 3.18.29 ....
-
@Luciano-S. Would you know what version of the kernel would recognize the cam? Thanks for the info, I'm newer to Linux.
-
No i don't. Download live CD's from several distros with different Kernels to test if your cam works.
If your cam is connected make a
lsusb
to see the Name it is registered in your system. Probably you can have a look in internet about the name and openWRT.
-
@Chris-McCaslin When I was having this problem it was suggested by @administrators they would add drivers for more cameras don't know what happened to that process.