Realtime RPI Camera Streaming

Submitted by gpmidi on Sun, 10/15/2017 - 09:39
  1. Run RPI Config util `sudo raspi-config` or the GUI config util
    1. Enable camera
    2. Optionally disable the GUI, enable ssh, change locale/keyboard/timezone/etc
  2. `apt-get update`
  3. `apt-get upgrade`
  4. `apt-get install vlc liblivemedia-dev liblog4cpp5-dev cmake livemedia-utils`
  5. Reboot
  6. `git clone https://github.com/mpromonet/v4l2rtspserver.git`
  7. `cd v4l2rtspserver`
  8. `cmake . && make`
  9. `./v4l2rtspserver....`

 

Notes

  • If you get "v4l2 demux error: cannot start streaming: Operation not permitted" then run "sudo rmmod bcm2835-v4l2" and then "sudo modprobe bcm2835-v4l2"