To make the application paintings, we first need to install some additional software program programs on the Yún, as proven in the following steps:
connect to the Yún once more the usage of SSH along with your Arduino Yún call and password, and type the following command to get the appropriate package for stay streaming: wget http://www.custommobileapps.com.au/downloads/mjpgstreamer.ipk
notice that if the hyperlink is not legitimate anymore and also you cannot discover the files, this bundle is likewise to be had in the code of this bankruptcy. you can now install it with the following command: alright install mjpg-streamer.ipk
you could now start the stay streaming software program for your Arduino Yún the use of the subsequent command:
mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 640x480 -f 25" -o "output_http.so -p 8080 -w /www/webcam" &
right here, the parameter after –h is the resolution and the one after –i is the port on which the circulation might be available. We additionally targeted the number of frames in keeping with second using the –I command.
The alternative options are much less essential and also you do not ought to worry approximately them. you may then access your circulate by going for your Arduino Yún's deal with for your net browser observed via 8080 to specify the correct port. as an example, the hyperlink could be like this http://yourarduinoyunipaddress.local:8080/flow.html. update yourarduinoyunipaddress within the above hyperlink with the ip deal with of your arduino yun.