Streaming Live to YouTube and Facebook using Raspberry Pi Camera
step0
install raspbian and configure network.
step 1
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install git
git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git
cd RPi_Cam_Web_Interface
./install.sh
./remove
step2
sudo nano /etc/apt/sources.list
add this line
deb http://www.deb-multimedia.org jessie main non-free
step 3
sudo apt-get install ffmpeg
if all ok, confirmation message from ffmpeg.