To check the capabilities of your webcam
if you are using raspian,
Install the package v4l-utils (if you are using raspian).
and run this command
Check for all resolution and frame rate under MJPEG list.
I'm using a logitech C260 or c270 (I don't remember which one it is)
This is one of my script for 1024x576 resolution
Code: Select all
/usr/local/bin/mjpg_streamer -i "/usr/local/lib/input_uvc.so -n -f 10 -r 1024x576" -o "/usr/local/lib/output_http.so -p 10088 -w /usr/local/www" &
For other resolution just change the -r "horz x vert"
I do have one RPi to control the pond temperature in the winter and It uses a logitech C920. Full HD 1920x1080 with no problem! It rans 3 months continuously and hangs only once . ( The camera stop working when the temperature was below - 28 celsius during one night, but the Rpi was still working). I was using mjpg_streamer to check the fish in the pond and I was capturing one image per minute to create a time lapse using wget
Don't use iexplorer since it is not working for streaming. Use all other, firefox, chrome or safari.
Daniel