Wednesday, November 26, 2014

Debian on Pogoplug Tutorial - MJPG-Streamer (WebCam) Installation

This is a continuation of my Hacking the Pogoplug v4 (Series 4 and Mobile) with Linux (Debian or Arch) Tutorial.



Tested WebCams:

NOTE - Newer kernel needs a patch. See https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=109352. Will update tutorial when I get a chance.

MJPG-Streamer Installation

#Install required packages
apt-get install unzip subversion libv4l-dev libjpeg8-dev imagemagick build-essential psmisc

#build mjpg-streamer
mkdir /tmpbuild
cd /tmpbuild
wget http://sourceforge.net/code-snapshots/svn/m/mj/mjpg-streamer/code/mjpg-streamer-code-182.zip
unzip mjpg-streamer-code-182.zip
cd mjpg-streamer-code-182/mjpg-streamer
make
make install
cd /
rm -rf /tmpbuild

#Test - start mjpg_streamer on port 8088
#http://ipaddress:8088
mjpg_streamer -i "/usr/local/lib/input_uvc.so -f 15 -r 640x480 -d /dev/video0" -o "/usr/local/lib/output_http.so -w /usr/local/www -p 8088"

#Download service file for auto start on bootup
cd /etc/init.d
wget --no-check-certificate https://dl.dropboxusercontent.com/u/42238/pogoplug/debian/mjpg_streamerd
chmod +x mjpg_streamerd
update-rc.d mjpg_streamerd defaults


Motion (webcam security software) installation and configuration to come in another tutorial

6 comments :

  1. wget http://sourceforge.net/code-snapshots/svn/m/mj/mjpg-streamer/code/mjpg-streamer-code-182.zip

    File not found

    ReplyDelete
    Replies
    1. Thanks for letting me know. I just tried the link and it seems to be working now.

      Delete
    2. #MIRROR

      wget --no-check-certificate https://www.dropbox.com/s/eqw5js9bdb4n9px/mjpg-streamer-code-182.zip

      Delete
  2. Tested WebCams:
    Logitech HD Webcam C270
    Logitech HD Webcam C310
    Logitech HD Pro Webcam C920 (Highly recommended)
    Only these cameras will work? I have an other camera, it not working but testpicutre streaming is running fine. is that my camera problem?

    ReplyDelete
    Replies
    1. No, I'm sure there are plenty of other cameras that work. However these are the cameras I own and personally tested.

      Delete
  3. With virtually 4 out of 5 singles in America having tried online courting at some point,
    it is Online dating that the trade is booming.
    To read more, go to website: http://pornpk.xyz

    ReplyDelete