Rasberry PI Webcam Server

Written By engineerisaac

Posted: Wed, Apr 15, 2020 at 2:25 PM - Showing 195 Views

NOOBs Raspberry Pi.

connect to it via SSH.

sudo apt-get update
sudo apt-get upgrade

sudo apt install autoconf automake build-essential pkgconf libtool git libzip-dev libjpeg-dev gettext libmicrohttpd-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev default-libmysqlclient-dev libpq-dev libsqlite3-dev libwebp-dev

sudo wget https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_buster_motion_4.2.2-1_armhf.deb
sudo dpkg -i pi_buster_motion_4.2.2-1_armhf.deb

sudo nano /etc/motion/motion.conf

daemon on
stream_localhost off
picture_output off
movie_output off
stream_maxrate 100
framerate 100
default is 50
width 640
height 480

sudo nano /etc/default/motion


sudo service motion start
sudo service motion stop


sudo service motion restart

Extra Steps for the Raspberry Pi Camera

sudo raspi-config
sudo modprobe bcm2835-v4l2
sudo nano /etc/modules


sudo reboot


Webcam Server Browser
sudo mkdir /motion

sudo chgrp motion /motion
sudo chmod g+rwx /motion

sudo nano /etc/motion/motion.conf

target_dir /motion

sudo service motion restart

This Isnt Finished yet.
Leave a Comment: