logo
background
 Home and Links
 Your PC and Security
 Server NAS
 Wargames
 Astronomy
 PhotoStory
 DVD making
 Raspberry Pi
 PIC projects
 Other projects
 Next >>

mjpeg-streamer

On the Pi, you can run 'motion' and it will serve frames from the PiCamera to your LAN on URL http:\\:port (default port is 8080 however that's usually used for web pages :-) ) Frames will be 'imported' into iSpy using by adding the Pi Camera as an 'mjpeg URL' (http://:port/ = note Windows '/') with iSpy 5.7.4.0 64 bit.
Add "Other Video Souce"
Select MJPEG URL tab
on MJPEG URL field enter the URL to your motion video stream example: http:mypi.ddns.net:8581

mjpeg-streamer

Motion on the Pi Z is abysmally slow .. so why not compile and use mjpeg-streamer instead ?

mjpeg-streamer which only uses 2-3% of the Pi's cpu and can stream 25fps low resolution (640x320) with very low latency.

i used this guide: http://jacobsalmela.com/raspberry-pi-we ... -internet/ it works for both a usb webcam and the raspberry pi cam. From: https://jacobsalmela.com/2014/05/31/raspberry-pi-webcam-using-mjpg-streamer-over-internet/ lsusb sudo apt-get update sudo apt-get upgrade sudo apt-get install libjpeg8-dev imagemagick libv4l-dev sudo ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h sudo apt-get install subversion cd ~ svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer/ mjpg-streamer cd mjpg-streamer make mjpg_streamer input_file.so input_uvc.so output_http.so sudo cp mjpg_streamer /usr/local/bin sudo cp output_http.so input_file.so input_uvc.so /usr/local/lib/ sudo cp -R www /usr/local/www sudo vi ~/.bashrc export LD_LIBRARY_PATH=/usr/local/lib/ source ~/.bashrc /usr/local/bin/mjpg_streamer -i "input_file.so -f /tmp/stream -n pic.jpg"-o "output_http.so -w /usr/local/www" sudo vi /usr/sbin/livestream.sh #!/bin/bash /usr/local/bin/mjpg_streamer -i "/usr/local/lib/input_uvc.so" -o "/usr/local/lib/output_http.so -w /var/www/stream -c username:password" sudo chmod 755 /etc/init.d/livestream.sh sudo update-rc.d livestream.sh defaults

Next page :- Using Pi RCA AV output - (TVout)

[top]