Raspberry Pi Xmas Tree Part 2: Streaming to YouTube and the Backend
In the second part of our xmas tree odyssey I'll show you how to use the RaspiCam to stream live content to YouTube.
Also I give a quick run down of the architecture of the finished system and the two main components of the backend: the RasPi Zero web client to query the actual backend, which stores the LED states.
For the backend software we need to install a bunch of software on the Pi:
sudo apt-install libav-tools python-tornado python-gpiozero
The avconv tool is in libav-tools. Python Tornado is a library for webclients and webservers. And the gpiozero package is for controlling the xmas tree.
RaspiCam: https://www.raspberrypi.org/products/camera-module-v2/
root42 pi xmas source: https://github.com/root42/pi-xmas-tree
Python Tornado: https://www.tornadoweb.org/