Skip to content

marrem/raspi-raspicam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RaspiMJPEG as a service

Install raspimjpeg

  • Most recent fork as of writing: https://github.com/nickolas360/raspimjpeg

  • clone repo

  • build: make sudo make install

  • raspimjpeg binary should now be in /usr/local/bin

  • copy raspimjpeg.config to /etc

  • copy prepareRaspimjpeg to /usr/local/bin

  • copy camraspimjpeg.service to /etc/systemd/system

  • sudo systemctl daemon-reload

  • sudo systemctl enable camraspimjpeg.service

  • sudo systemctl start camraspimjpeg.service

  • with values from config as in this repo, images should now be written in /dev/shm (ramdisk)

Using images

You can install mjpeg-streamer with the input_file plugin to use the written images and publish them as a mjpeg stream, so you can use the raspberry-pi as a regular webcam

Addendum

There now exists a fork of the mjpg-streamer with a plugin to read directly from the Raspberry Pi camera. So raspimjpeg is not necessary anymore. For more info See: https://github.com/marrem/raspi-mjpg-streamer

About

Support files to run raspicam as a service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages