Hasr: I want this because I'm worried about overheating the Arduino Yun. Anyone having problem keeping the board running 24/7? I'm waiting for a Keyes L9110 Fan Module to help cooling the precessor...
I have also managed to make my camera stream, but I stucked and I need an answer. Every time I want to start the mjpg_streamer, I have to connect via SSH to start it, but I have an Android controlled car which is powered by a Power Bank and I don't know how to start the mjpg_streamer. Is there any command I can write so that when I power the Arduino Yun the mjpg_streamer to start automatically, like in Windows start-up?
Thank you, Waiting for your feedback.
hi Guys! i hope someone is still active to help me :'(
i'm really having trouble with my camera not taking pictures. i tried everything but still nothing
--- Opening /dev/video0... Trying source module v4l2... /dev/video0 opened. No input was specified, using the first. Adjusting resolution from 384x288 to 352x288. --- Capturing frame... VIDIOC_DQBUF: No such device No frames captured.
i can't proceed anymore with my project. this is my first arduino project.so everything is very confusing to me.,please help :(
MadScience: Tested and working a charm. Video streaming smoothly at 5fps 640x480 resolution. Well done mate.
If anyone else is interested. I would suggest using this build of mjpg-streamer over ffmpeg and ffserver as the throughput is much faster.
Instructions are below. Credit to fibasile for the binary upload of mjpg-streamer: Join your Yun to your WLAN - SSH into OpenWRT via the IP or via arduino.local hostname - Check your camera's compatibility (some are UVC, some are GSPCA, some not supported at all). I would suggest taking a look here: http://wiki.openwrt.org/doc/howto/usb.video. At this time only UVC driver camera's are supported - Install either the UVC driver (if not already installed) e.g. opkg install kmod-video-uvc - Plug your camera into usb slot (type dmesg to see if your camera is detected and drivers working correctly). I used a Microsoft LifeCam HD-3000 - add your micro sd card (it should appear as /dev/sda1 by default) - Create a folder or mount point /mnt/sda1 (mkdir /mnt/sda1) - mount your sd card - mount /dev/sda1 /mnt/sda1 - use wget to download the mjpg-streamer binary ( you cant use it with drop box as it redirects to https. This module is not installed by default). I have uploaded it here for convenience : http://www.custommobileapps.com.au/downloads/mjpg-streamer.ipk - install the package (I installed it in my root folder ~) - opkg install mjpg-streamer.ipk - View the config options here - http://wiki.openwrt.org/doc/howto/webcam. I just ran it with the following command
mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 640x480" -o "output_http.so -p 8080 -w /mnt/share"
(/mnt/share is my sd card). You can also set it to start upon boot - Open your web browser to: http://arduino.local:8080/?action=stream for a stream or http://192.168.1.1:8080?action=snapshot for a single snappy - Enjoy
I know it has been a long time since this was posted but I just tried it today (1/29/2017) and it works great! So much easier and quicker! Thanks a million!
I´m working in something like what you do. The idea is to take photos an instead of storage the information in a SD card, transfer directly to a PC.
To do this, I'm using an Arduino Yun.
Can you help me? I don't know how to do it.
Thanks a lot.