1

I realized that i can plug my web camera to raspberry pi. now i'm looking for a way to stream it on a web page. also i want to get streams over internet.
are them possible? how can i install it? thanks.

Lymia
  • 23
  • 2
  • 6

2 Answers2

2

I use MotionEyeOS but if you also want to use your pi for other stuff you can just install MotionEye

Bra1n
  • 1,251
  • 7
  • 7
1

You can install the motion package on your Raspbian Buster to stream the camera's frames. Simply install it by apt-get install motion.
After the installation, try to configure it by changing values on /etc/motion/motion.conf. If you just want to stream the frames without any feature else, try these lines there:

stream_localhost off
stream_port 8081
daemon on
#webcam_localhost on
#webcam_port 8080

Then, run motion on the terminal and open up this web page address on the other motions web browser:

http://raspberrypi:8081

You'll see a page with the raspberry pis camera frames/streams. If you are concerned about the security of motion, check this link out. Also, more configuration options are here in this link.

M. Rostami
  • 4,323
  • 1
  • 17
  • 36
  • can i open the web page stream on localhost after adding stream_localhost off? – Lymia Feb 16 '20 at 09:56
  • 1
    Yes, it's just for disabling vice versa host to localhost. If it's on you can open the web page by localhost and when it's off, all host (include localhost) can open it up. – M. Rostami Feb 16 '20 at 10:04